Back to Ohmyzsh

conda plugin

plugins/conda/README.md

latest3.6 KB
Original Source

conda plugin

The conda plugin provides aliases for conda, usually installed via anaconda or miniconda.

To use it, add conda to the plugins array in your zshrc file:

zsh
plugins=(... conda)

Aliases

AliasCommandDescription
cnaconda activateActivate the specified conda environment
cnabconda activate baseActivate the base conda environment
cncfconda env create -fCreate a new conda environment from a YAML file
cncnconda create -y -nCreate a new conda environment with the given name
cnconfconda configView or modify conda configuration
cncpconda create -y -pCreate a new conda environment with the given prefix
cncrconda create -nCreate new virtual environment with given name
cncssconda config --show-sourceShow the locations of conda configuration sources
cndeconda deactivateDeactivate the current conda environment
cnelconda env listList all available conda environments
cniconda installInstall given package
cniyconda install -yInstall given package without confirmation
cnlconda listList installed packages in the current environment
cnleconda list --exportExport the list of installed packages in the current environment
cnlesconda list --explicit > spec-file.txtExport the list of installed packages in the current environment to a spec file
cnrconda removeRemove given package
cnrnconda remove -y -all -nRemove all packages in the specified environment
cnrpconda remove -y -all -pRemove all packages in the specified prefix
cnryconda remove -yRemove given package without confirmation
cnsrconda searchSearch conda repositories for package
cnuconda updateUpdate conda package manager
cnuaconda update --allUpdate all installed packages
cnucconda update condaUpdate conda package manager