> For the complete documentation index, see [llms.txt](https://alfredo-reyes-montero.gitbook.io/openai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://alfredo-reyes-montero.gitbook.io/openai/products/gym/installation.md).

# Installation

### Requirements

Please make sure your pip is at least at version 1.5.0.  If you have a previous version use the following command to make an upgrade.

```
$ pip install --ignore-installed pip
```

The process to install this library is easy you can follow the next steps.

You can perform a minimal install of gym with:

```
$ git clone https://github.com/openai/gym.git
$ cd gym
$ pip install -e .
```

or you can use a minimal install of the packaged version direclty from PyPI:

```
pip install gym
```
