Minimal install#
Miniforge - all you need…#
The very easiest way to get a minimal install of Conda, Mamba and Python, with conda-forge as default channel is to install Miniforge.
Once Miniforge is installed, you should be able to use conda and mamba in your terminal.
The very easiest way to install Miniforge is to download and run a provided installer for your OS from https://conda-forge.org/download/
Mac & Linux: Download the installer and run bash Miniforge3-$(uname)-$(uname -m).sh
Windows: download and run the Windows installer.
Note for Windows users:
By default the commands are not added to the path environment (making them available in the default Windows Command Prompt (CMD)). This is a precautious step, to avoid chances of software conflicts.
Solutions:
Option 1 (easiest, safest): Use Anaconda Prompt, like the freshly installed Miniforge Prompt
Option 2: Initialise conda in the Anaconda Prompt by typing
conda init. Close your propmpt window and open it again. Now the commands should be availableOption 3: Manually add
C:\Users\myusername\miniforge3\condabinto the path environment. This will allow you to use the commands from any prompt, with limited risk of conflicts with other software.
Alternative - Using (mini)conda#
Installing miniconda#
Mac#
On a mac, run the following four commands in a terminal window (create a new miniconda3 directory in your home directory, dowload the latest version of Miniconda, silently run the installer, remove the installer).
If you have a new Apple Silicon chip
mkdir -p ~/miniconda3
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh -o ~/miniconda3/miniconda.sh
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
rm ~/miniconda3/miniconda.sh
Linux#
Download and rename the latest verison of Miniconda:
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.shSilently install miniconda:
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3Remove the installer:
rm ~/miniconda3/miniconda.shClose and reopen the terminal or run:
source ~/miniconda3/bin/activateTo initialise conda on on all shells use:
conda init --all
Windows#
Install using Installer#
Download the installer from the anaconda website
Install for current user, without automatically setting the Windows env
After the Miniconda setup finishes, we can’t call conda from the command line until we have added it to our system environment.
Setting Path Environment#
Open the Start Menu and search for ‘Environment Variables’. You will likely have to enter your admin credentials.
Click on ‘Edit the system environment variables’.
In the System Properties window, click on ‘Environment Variables’

In the Environment Variables window, under ‘System variables’, find and select ‘Path’, then click on ‘Edit’.

Add ‘New’ and select folder where Miniconda was installed:
For conda, pip, etc.:C:\Users\<YOURUSERNAME>\AppData\Local\miniconda3\Scripts
For Python:C:\Users\<YOURUSERNAME>\AppData\Local\miniconda3\
Press OK in all open Windows.
This should have made Python and conda accessible from the Anaconda Prompt. To test this, open a new Anaconda Prompt window:
Start Menu -> Anaconda (miniconda3) -> Anaconda Prompt.

Check miniconda and Python install#
Open Anaconda prompt (or any terminal on Linux and Mac).
Check the verison of conda: conda info
Check which Python version is installed: python -V