quot; # activate conda environment conda activate name_of_environment # older versions of conda (4.6 and below) source activate name_of_environment # create virtual conda environment # conda create -n yourenvname python=x.x anaconda conda create -n python381 python=3.8.1 anaconda # with anaconda conda create -n python381 python=3.8.1 # basic python without anaconda # update all conda packages conda update --all # show outdated packages conda search --outdated # update python to the highest version in its series (2.7 to 2.x series) conda update python # show packages in activated environment conda list # check conda version conda -V conda -vv # install package to specific virtual environment conda install -n yourenvname [package] # python conda environments /Users/Hause/anaconda/envs/python27/bin/python2.7 /Users/Hause/anaconda/envs/python36/bin/python3.6 # update conda then anaconda conda update conda conda update anaconda # remove environment conda remove --name nameOfEnvironment --all # update all packages in environment conda update --all # update all packages unprompted conda update --all -y # list packages that can be updated conda search --outdated ``` # References - [prevent conda from activate base environment](https://stackoverflow.com/questions/54429210/how-do-i-prevent-conda-from-activating-the-base-environment-by-default) - https://packaging.python.org/tutorials/installing-packages/#creating-virtual-environments - https://docs.conda.io/projects/conda/en/latest/user-guide/getting-started.html - https://uoa-eresearch.github.io/eresearch-cookbook/recipe/2014/11/20/conda/ - [Conda myths and misconceptions](https://jakevdp.github.io/blog/2016/08/25/conda-myths-and-misconceptions/) - [Does Conda replace the need for virtualenv?](https://stackoverflow.com/questions/34398676/does-conda-replace-the-need-for-virtualenv) - [apt - How to install Anaconda on Ubuntu? - Ask Ubuntu](https://askubuntu.com/questions/505919/how-to-install-anaconda-on-ubuntu)