Skip to content

Instantly share code, notes, and snippets.

@pipme
Created January 28, 2022 08:36
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 pipme/18d9990d6fc6f5adc6efad9f23895254 to your computer and use it in GitHub Desktop.
Save pipme/18d9990d6fc6f5adc6efad9f23895254 to your computer and use it in GitHub Desktop.
My conda cheat sheet

Add init shell script to .bashrc

cd ~/.miniconda3/bin
conda config --set auto_activate_base true

Environment.yml

conda env export | grep -v "^prefix: " > environment.yml
conda env create -f environment.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment