# Installation

## Releases

To install PRIMAP2, run this command in your terminal:

```shell
$ pip install primap2
```

This is the preferred method to install PRIMAP2, as it will always install the
most recent release.

If you don't have [pip] installed, this [Python installation guide] can guide
you through the process.

## From sources

The sources for PRIMAP2 can be downloaded from the
[Github repo](https://github.com/primap-community/primap2).

Simply clone the public repository using git:

```shell
$ git clone git://github.com/primap-community/primap2
```

Once you have a copy of the source, you can install it with:

```shell
$ python setup.py install
```

[pip]: https://pip.pypa.io
[python installation guide]: http://docs.python-guide.org/en/latest/starting/installation/
