This GIST presents some basic commands to work with Anaconda Terminal.
conda info
--- Verify whetherconda
is installed, if yes, print all information about the installedconda
such as Python version,conda
version,env
locationconda update conda
--- Updateconda
to the latest versionconda install PACKAGENAME
--- Install a package which is made available on Anaconda repositorypip install PACKAGENAME
--- Install a package directly from PyPIconda update PACKAGENAME
--- Update an installed packageconda remove --name PACKAGENAME1 [PACKAGENAME2]
--- Remove one or more packagesconda clean --all
--- Cleanconda
cache and unused packagesanaconda-navigator
--- Open Anaconda Navigator from terminal
conda create --name mypy39 python=3.9
--- Create an environment namedmypy39
based on Python 3.9conda create --clone mypy39 --name mypy39-2
--- Clone an environment (mypy39
) to a new one (mypy39-2
)conda env list
--- Return a list of environments where the current active environment is marked with*
(an asterisk symbol)source activate mypy39
--- Activate an environment on macOS and Linuxactivate mypy39
--- Activate an environment on Windowsconda deactivate
--- Deactivate the current active environmentconda list
--- List all packages installed in an active environmentconda remove -n ENVNAME --all
--- Delete a Conda environment and all of its packages