Conda Cheat Sheet
Conda Version
conda --version
List All Environments
conda env list
Create a New Environment in the Current Directory
conda create --prefix ./env
Create a New Environment with a Specific Version of Python
conda create -p ./env python=3.6
Create a New Environment with a Specific Version of Python and a Specific Package
conda create -p ./env python=3.6 numpy
Create a New Environment with a Specific Version of Python and Multiple Packages
conda create -p ./env python=3.6 numpy pandas=0.25
Create a New Environment with a Specific Version of Python and Multiple Packages from a File
conda create -p ./env python=3.6 --file requirements.txt
Activate an Environment
conda activate ./env
Deactivate an Environment
conda deactivate
Remove an Environment
conda remove --prefix ./env --all
Install a Package in the Current Environment
conda install numpy
Install a Package in a Specific Environment
conda install -p ./env numpy
Remove a Package from the Current Environment
conda remove numpy
Remove a Package from a Specific Environment
conda remove -p ./env numpy