Conda Cheatsheet
Overview
| | |
|:—|:—|
| Basics | |
| conda info
| conda information |
| conda update conda
| update conda |
| Environments | |
| conda create --name ENVNAME python=3.11
| create a new environment |
| conda activate ENVNAME
| activate the environent |
| conda deactivate
| deactivate the environent |
| conda env list
| list of the environent |
| conda list
| list all packages and version installed in the environment |
| conda list --revisions
| list of the revisions of the current environment |
| conda install --revision 2
| revert the environment to revision 2 |
| conda list --explicit > envdump
| environment dump |
| conda env create --file envdump
| create environment from a text file |
| Packages | |
| conda search PACKAGE
| search for a package |
| conda remove PACKAGE
| remove one or more packages |
| conda remove PACKAGE --name ENVNAME PACKAGES
| remove one or more packages |
| conda install PACKAGE
| install packages |
| conda install --name ENVNAME PACKAGE
| install packages to the specified environment |