Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Luv2C0d3/be4f080257191f864ffee1c882d36ae3 to your computer and use it in GitHub Desktop.
Save Luv2C0d3/be4f080257191f864ffee1c882d36ae3 to your computer and use it in GitHub Desktop.
# From an elevated Powershell prompt:
# Note: This installs both traditional conda + mamba, but mambe seems to work
# only on Linux.
#
choco install mambaforge
#
# Once that is done, need to initialize mamba forge for Powershell / CMD
# This will add an autorun in the Commandshell key in windows.
# Note: Conda creates a `base` environment and uses that as startup
conda init
#
# For bash / MSYS2: Init bash by accessing directly the conda executable
# and pass as argument bash
#
/c/tools/mambaforge/Scripts/conda init bash
# To list existing environments:
#
conda env list
#
# To deactivate the auto activation of base
#
conda config --set auto_activate_base false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment