Skip to content

Instantly share code, notes, and snippets.

@f4ww4z
Created April 4, 2020 04:47
Show Gist options
  • Save f4ww4z/031faa314f6b7ff7a1c0d77302df2d7c to your computer and use it in GitHub Desktop.
Save f4ww4z/031faa314f6b7ff7a1c0d77302df2d7c to your computer and use it in GitHub Desktop.
conda shortcuts

Conda Shortcuts

save dependencies for VCS

conda env export --no-builds | grep -v "prefix" > environment.yml

list all the conda environment available

conda info --envs

Create new environment named as envname

conda create --name envname

Remove environment and its dependencies

conda remove --name envname --all

Clone an existing environment

conda create --name clone_envname --clone envname

from https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment