Skip to content

Miniforge

The community-driven conda-forge repository with the basic conda package manager now includes the fast new mamba package manager.

Install

Download and run the installer from the miniforge GitHub repo.

Download and install the Miniforge installer in Linux.

CONDA_PATH="${HOME}/conda"
CONDA_SH="${CONDA_PATH}/etc/profile.d/conda.sh"
CONDA_URL="https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh"

# Download and install
wget -O /tmp/conda.sh "${CONDA_URL}"
bash /tmp/conda.sh -bup "${CONDA_PATH}"
source "${CONDA_SH}"
conda activate base

# conda package manager setup
# conda config --set auto_activate_base false
conda config --set default_threads $(nproc)
mamba update python --yes && mamba update --all --yes
mamba install -y conda-libmamba-solver
conda config --set solver libmamba

# `bash` and `zsh` integration
conda init bash || true
conda init zsh || true

Comments