Installing Miniconda#
This page contains more complex installation instructions for the major operating systems. For a command-line quickstart installation, see Quick Command Line Install.
Note
On Windows, macOS, and Linux, it is best to install Miniconda for the local user, which does not require administrator permissions and is the most robust type of installation. However, if you need to, you can install Miniconda system wide, which does require administrator permissions.
(Optional) Verify your installer’s SHA-256 checksum. This check proves that the installer you downloaded is the original one.
Open PowerShell version 4.0 or later and run the following command:
# Replace <FILE_NAME> with the path to your installer Get-FileHash <FILE_NAME> -Algorithm SHA256
Using PowerShell 3.0 or older
For instructions for using Windows PowerShell 3.0 or older, see the Cryptographic hash verification instructions in the conda project documentation.
Check the hash that appears against the hash listed beside the installer you downloaded. See all Miniconda installer hashes here.
Double-click the
.exe
file.Follow the instructions on the screen. If you are unsure about any setting, accept the defaults. You can change them later.
When the installation finishes, from the Start menu, open Anaconda Prompt.
Note
You should see
(base)
in the command line prompt. This tells you that you’re in your base conda environment. To learn more about environments, see Environments.Test your installation by running
conda list
. If conda has been installed correctly, a list of installed packages appears.
More information on installing in silent mode on Windows is in the conda project documentation.
Caution
The graphical installer for MacOS installs Miniconda into /opt/miniconda3
in your file system. If you want to install Miniconda into your Home directory or if you have multiple users on a system and want to manage your installation more carefully, Anaconda recommends the shell (or command line) installer.
(Optional) Verify your installer’s SHA-256 checksum. This check proves that the installer you downloaded is the original one.
Open a terminal application and run the following command:
# Replace <FILE_NAME> with the path to your installer shasum -a 256 <FILE_NAME>
Check the hash that appears against the hash listed beside the installer you downloaded. See all Miniconda installer hashes here.
Double-click the
.pkg
file.Follow the instructions on the screen. If you are unsure about any setting, accept the defaults. You can change them later.
When the installation finishes, open your terminal application.
Note
You should see
(base)
in the command line prompt. This tells you that you’re in your base conda environment. To learn more about environments, see Environments.Test your installation by running
conda list
. If conda has been installed correctly, a list of installed packages appears.
More information on installing in silent mode on macOS is in the conda project documentation.
(Optional) Verify your installer’s SHA-256 checksum. This check proves that the installer you downloaded is the original one.
Open your terminal and run the following command:
# Replace <FILE_NAME> with the path to your installer sha256sum <FILE_NAME>
Check the hash that appears against the hash listed beside the installer you downloaded. See all Miniconda installer hashes here.
In your terminal, run the following command:
# Replace <FILE_NAME> with the path to your installer bash <FILE_NAME>
Follow the prompts on the installer screens.
If you are unsure about any setting, accept the defaults. You can change them later.
To make the changes take effect, close and then re-open your terminal window.
Note
You should see
(base)
in the command line prompt. This tells you that you’re in your base conda environment. To learn more about environments, see Environments.Test your installation by running
conda list
. If conda has been installed correctly, a list of installed packages appears.