Skip to content

Instantly share code, notes, and snippets.

@himat
Created September 30, 2019 01:45
Show Gist options
  • Save himat/0552ee821bfe44ba62897acb88cbc089 to your computer and use it in GitHub Desktop.
Save himat/0552ee821bfe44ba62897acb88cbc089 to your computer and use it in GitHub Desktop.
[conda commands sheet] Useful conda commands #packages

Create an env from scratch

conda create --name envname

Create from an env file

conda env create -f environment.yml

List all packages installed in this conda env

conda list

List all conda envs on this system

conda env list

Activating an environment

conda activate envname

Deactivating an environment

conda deactivate
  • For conda versions prior to 4.6, use 'source activate/deactivate'

Delete an environment

conda env remove --name envname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment