Skip to content

Instantly share code, notes, and snippets.

@diazdc
Created February 27, 2020 16:25
Show Gist options
  • Save diazdc/783f34edc51232c26629da2d8bcca51f to your computer and use it in GitHub Desktop.
Save diazdc/783f34edc51232c26629da2d8bcca51f to your computer and use it in GitHub Desktop.
Bash script to install to all conda environments
# from https://stackoverflow.com/questions/24117449/install-a-package-into-multiple-all-conda-environments
conda env list | cut -d" " -f1 | tail -n+4 | xargs -L 1 conda install YOUR_PACKAGE -n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment