Conda cheatsheet

# CREATE CONDA ENVIRONMENT
conda create -n [MY_ENV_NAME] # create conda environment
conda create --name [MY_ENV_NAME] python=3.5  # create conda env with py version

conda create -f env.yaml # create conda env with env.yaml instruction

# DELETE
conda remove --name [MY_ENV_NAME] --all
# GET INFO
conda info # outputs environment info including paths
echo $CONDA_PREFIX # outputs path to the current env directory

conda info -e # output a list of env
conda env list # output a list of env

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply