# Installation

:::{note}
The latest version requires Python 3.10 or later.
:::

## Install via conda

You can [setup a conda environment](https://docs.deepmodeling.com/faq/conda.html) to obtain conda, and install ReacNetGenerator easily with conda:

```bash
conda install reacnetgenerator -c conda-forge
reacnetgenerator -h
```

## Install via pip

```bash
# upgrade pip as old pip may not be supported
pip install -U pip
pip install reacnetgenerator
reacnetgenerator -h
```

See also [Tutorial: Installation](../tutorial/install.ipynb).

## Install via uv

If you have [installed uv](https://docs.astral.sh/uv/getting-started/installation/), you could use `uv tool` to install ReacNetGenerator:

```bash
uv tool install reacnetgenerator
reacnetgenerator -h
```

## Docker images

If you have [installed Docker](https://docs.docker.com/install/), an official Docker image is provided:

```bash
docker run ghcr.io/deepmodeling/reacnetgenerator reacnetgenerator -h
```

When analyzing trajectories, you need to [monut](https://docs.docker.com/storage/bind-mounts/) the local directory into the container.

If your HPC node has installed [Singularity](https://sylabs.io/docs/), you can also used it:

```bash
singularity run docker://ghcr.io/deepmodeling/reacnetgenerator reacnetgenerator -h
```

:::{note}
See [the build guide](build.md) if you want to build ReacNetGenerator from source.
:::
