Skip to content

Instantly share code, notes, and snippets.

@Dhaour9x
Forked from ctufts/General Conda Commands.md
Created June 16, 2021 09:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Dhaour9x/4e6c156d90093595872012de81e48c84 to your computer and use it in GitHub Desktop.
Save Dhaour9x/4e6c156d90093595872012de81e48c84 to your computer and use it in GitHub Desktop.
List of commonly used commands in anaconda
  • conda info --envs : lists all environments
  • source activate <env name>: activate an environment
  • source deactivate: deactivate an environment
  • conda list : list all packages installed
  • conda create --name <env name> python=3 astroid babel : create new environment, specify version of python, and install packages
  • WINDOWS NOTE: SOURCE is not recognized. When deactivating and activating in the anaconda command prompt, skip source and just type deactivate or activate depending on what you are trying to do.
  • conda env export > environment.yml: export conda environment requirements list to a file
  • conda env remove -n ENV_NAME : delete environment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment