Conda Environments

You are here:

A collection of frequently used commands when working with conda environments. See here for more details.

List available environments

conda info --envs or conda info -e

Create an environment

conda create --name myenv

Cloning an environment

conda create --name myclone --clone myenv

Removing an environment

conda remove --name myenv --all

Create environment.yml file for sharing

conda env export > environment.yml

Create environment from environment.yml file

conda env create -f environment.yml