Conda: Managing Environments Cheat Sheet

conda info --envsconda info -eGet a list of all my environmentsActive environment shown with *
conda create --name snowflakes biopythonconda create -n snowflakes biopythonCreate an environment and install program(s)
conda activate snowflakesActivate the new environment to use it
conda deactivateDeactivate the environment
conda create -n bunnies python=3.4 astroidCreate a new environment, specify Python version
conda create -n flowers --clone snowflakesMake exact copy of an environment
conda remove -n flowers --allDelete an environment
conda env export > puppies.ymlSave current environment to a file
conda env create -f puppies.ymlLoad environment from a file

Leave a Reply

Your email address will not be published. Required fields are marked *