- $ conda -V
- $ conda update conda
- $ conda search “^python$”
- $ conda create -n <envname> python=x.x anaconda
- $ conda activate <envname> (old version: source activate <envname>)
- $ conda info -e
- $ conda install -n envname [package]
- $ conda deactivate (old version: source deactivate)
- $ conda remove -n <envname> -all
Preferred way of a project deployment can be following:
- Install anaconda
- Link/Put conda to ~/.local/bin directory for discovery
- Use conda to work in certain project with proper activation and deactivation
Conda activated this way will activate the base whenever the terminal is opened. To prevent this .condarc file need to be put with ‘auto_activate_base: false’. This can be achieved with the command $ conda config –set auto_activate_base false