The conda command is the primary interface for managing an Anaconda installations. It can query and search the Anaconda package index and current Anaconda installation, create new Anaconda environments, and install and upgrade packages into existing Anaconda environments.
Create an Anaconda environment called myenv containing the latest version of scipy and all dependencies.
$ conda create -n myenv scipyInstall the latest version of pandas into myenv
$ conda install -n myenv pandasUpdate all specified packages to latest versions in myenv
$ conda update -n myenv anacondaNow that you have a custom environment, there are two ways to make it available for use
Using Activate
Activating a conda environment is made simple through the use of the activate command
$ source activate myenvSimilarly, to deactivate an environment and return your PATH variable to its previous state, use
$ source deactivate