bash condaFromScratch.sh
This script will download Miniforge and install it, then create and populate environments based on the YAML files found in ./envs
.
This will leave the base environment untouched and keep most of the working libraries in environments. Of these, work
is the most utilized.
cp configBase ~/.condarc
https://docs.conda.io/projects/conda/en/latest/user-guide/index.html
https://github.com/conda-forge/miniforge
https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
https://anaconda.org/ or https://conda-forge.org/feedstock-outputs/
mamba update mamba conda
mamba update --all -y
mamba update -n {env} --all -y
Adding the -y
to any of the above update commands to have the updater run without waiting for input
conda config --set auto_update_conda False
conda config --set auto_activate_base False
Disabling auto_activate_base
prevents conda from activating the base on every new terminal window
If you don't run mamba init
in the shell you plan to use, you will want to add ${HOME}/conda/bin
to your PATH
variable in your .*rc
file.