diff --git a/README.md b/README.md
index 636b487ee..360043418 100644
--- a/README.md
+++ b/README.md
@@ -5,6 +5,7 @@
---
[](https://pypi.org/project/tianshou/)
+[](https://github.com/conda-forge/tianshou-feedstock)
[](https://tianshou.readthedocs.io/en/latest)
[](https://tianshou.readthedocs.io/zh/latest/)
[](https://github.com/thu-ml/tianshou/actions)
@@ -13,7 +14,7 @@
[](https://github.com/thu-ml/tianshou/stargazers)
[](https://github.com/thu-ml/tianshou/network)
[](https://github.com/thu-ml/tianshou/blob/master/LICENSE)
-[](https://gitter.im/thu-ml/tianshou?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
+[](https://gitter.im/thu-ml/tianshou?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
**Tianshou** ([天授](https://baike.baidu.com/item/%E5%A4%A9%E6%8E%88)) is a reinforcement learning platform based on pure PyTorch. Unlike existing reinforcement learning libraries, which are mainly based on TensorFlow, have many nested classes, unfriendly API, or slow-speed, Tianshou provides a fast-speed modularized framework and pythonic API for building the deep reinforcement learning agent with the least number of lines of code. The supported interface algorithms currently include:
@@ -50,28 +51,24 @@ In Chinese, Tianshou means divinely ordained and is derived to the gift of being
## Installation
-Tianshou is currently hosted on [PyPI](https://pypi.org/project/tianshou/). It requires Python >= 3.6. You can simply install Tianshou with the following command:
+Tianshou is currently hosted on [PyPI](https://pypi.org/project/tianshou/) and [conda-forge](https://github.com/conda-forge/tianshou-feedstock). It requires Python >= 3.6.
+
+You can simply install Tianshou from PyPI with the following command:
```bash
$ pip install tianshou
```
-You can also install with the newest version through GitHub:
+If you use Anaconda or Miniconda, you can install Tianshou from conda-forge through the following command:
```bash
-# latest version
-$ pip install git+https://github.com/thu-ml/tianshou.git@master
+$ conda -c conda-forge install tianshou
```
-If you use Anaconda or Miniconda, you can install Tianshou through the following command lines:
+You can also install with the newest version through GitHub:
```bash
-# create a new virtualenv and install pip, change the env name if you like
-$ conda create -n myenv pip
-# activate the environment
-$ conda activate myenv
-# install tianshou
-$ pip install tianshou
+$ pip install git+https://github.com/thu-ml/tianshou.git@master --upgrade
```
After installation, open your python console and type
diff --git a/docs/index.rst b/docs/index.rst
index 7d96f3fdd..b7e65998c 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -41,29 +41,25 @@ Here is Tianshou's other features:
Installation
------------
-Tianshou is currently hosted on `PyPI `_. You can simply install Tianshou with the following command (with Python >= 3.6):
+Tianshou is currently hosted on `PyPI `_ and `conda-forge `_. It requires Python >= 3.6.
+
+You can simply install Tianshou from PyPI with the following command:
.. code-block:: bash
$ pip install tianshou
-You can also install with the newest version through GitHub:
+If you use Anaconda or Miniconda, you can install Tianshou from conda-forge through the following command:
.. code-block:: bash
- # latest version
- $ pip install git+https://github.com/thu-ml/tianshou.git@master
+ $ conda -c conda-forge install tianshou
-If you use Anaconda or Miniconda, you can install Tianshou through the following command lines:
+You can also install with the newest version through GitHub:
.. code-block:: bash
- # create a new virtualenv and install pip, change the env name if you like
- $ conda create -n myenv pip
- # activate the environment
- $ conda activate myenv
- # install tianshou
- $ pip install tianshou
+ $ pip install git+https://github.com/thu-ml/tianshou.git@master --upgrade
After installation, open your python console and type
::