Installing in silent mode


Download the installer:


The following instructions are for Miniconda. For Anaconda, substitute Anaconda for Miniconda in all of the commands.

To run the the Windows installer for Miniconda in silent mode, use the /S argument. The following optional arguments are supported:

  • /InstallationType=[JustMe|AllUsers]—Default is JustMe.
  • /AddToPath=[0|1]—Default is 1
  • /RegisterPython=[0|1]—Make this the system’s default Python. 0 indicates JustMe, which is the default. 1 indicates AllUsers.
  • /S—Install in silent mode.
  • /D=<installation path>—Destination installation path. Must be the last argument. Do not wrap in quotation marks. Required if you use /S.

All arguments are case-sensitive.

EXAMPLE: The following command installs Miniconda for the current user without registering Python as the system’s default:

start /wait "" Miniconda3-latest-Windows-x86_64.exe /InstallationType=JustMe /RegisterPython=0 /S /D=%UserProfile%\Miniconda3

Linux & macOS


The following instructions are for Miniconda. For Anaconda, substitute anaconda for miniconda in all of the commands. Also, substitute the Anaconda installer for the Miniconda installer in the wget step.

To run the silent installation of Miniconda for macOS or Linux, specify the -b and -p arguments of the bash installer. The following arguments are supported:

  • -b—Batch mode with no PATH modifications to ~/.bashrc. Assumes that you agree to the license agreement. Does not edit the .bashrc or .bash_profile files.
  • -p—Installation prefix/path.
  • -f—Force installation even if prefix -p already exists.


wget -O ~/
bash ~/ -b -p $HOME/miniconda

The installer will not prompt you for anything, including setup of your shell to activate conda. To add this activation in your current shell session:

eval "$(/Users/jsmith/anaconda/bin/conda shell.YOUR_SHELL_NAME hook)"

With this activated shell, you can then install conda’s shell functions for easier access in the future:

conda init

If you’d prefer that conda’s base environment not be activated on startup, set the auto_activate_base parameter to false:

conda config --set auto_activate_base false