.. _install:

Installation
============

Prerequisites
-------------

Please read `Stable-Baselines3 installation guide <https://stable-baselines3.readthedocs.io/en/master/guide/install.html>`_ first.


Stable Release
~~~~~~~~~~~~~~
To install Stable Baselines3 contrib with pip, execute:

.. code-block:: bash

    pip install sb3-contrib


Bleeding-edge version
---------------------

.. code-block:: bash

	pip install git+https://github.com/Stable-Baselines-Team/stable-baselines3-contrib/


Development version
-------------------

To contribute to Stable-Baselines3, with support for running tests and building the documentation.

.. code-block:: bash

    git clone https://github.com/Stable-Baselines-Team/stable-baselines3-contrib/ && cd stable-baselines3-contrib
    pip install -e .
