Download the installer:
Miniconda installer for macOS.
Anaconda installer for macOS.
Verify your installer hashes.
Install:
Miniconda---In your terminal window, run:
Anaconda---Double-click the
.pkg
file.
Follow the prompts on the installer screens.
If you are unsure about any setting, accept the defaults. Youcan change them later.
To make the changes take effect, close and then re-open yourterminal window.
Test your installation. In your terminal window orAnaconda Prompt, run the command
condalist
. A list of installed packages appearsif it has been installed correctly.
Installing in silent mode¶
MacOS / Mac OS X; PC Linux - Ubuntu (or other Debian-based Linux) PC Linux - Fedora (or other RPM-based Linux) A lengthier and more complete HEASoft installation guide is also available if you need more information. See our recommendations for batch processing and good scripting practices when writing your own scripts to run HEASoft tasks. Python for Mac OS X. Python comes pre-installed on Mac OS X so it is easy to start using. However, to take advantage of the latest versions of Python, you will need to download and install newer versions alongside the system ones. The easiest way to do that is to install one of the binary installers for OS X from the Python Download page.
Note
The following instructions are for Miniconda. For Anaconda,substitute Anaconda
for Miniconda
in all of the commands.
To run the silent installation ofMiniconda for macOS or Linux, specify the -b and -p arguments ofthe 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 editthe.bashrc
or.bash_profile
files.-p---Installation prefix/path.
-f---Force installation even if prefix -p already exists.
EXAMPLE:
The installer prompts “Do you wish the installer to initialize Miniconda3 by running condainit
?” We recommend “yes”.
Note
If you enter “no”, then conda will not modify your shell scripts at all. In order to initialize after the installation process is done, first run source<pathtoconda>/bin/activate
and then run condainit
.
Download Anaconda Mac Os Mojave
MacOS Catalina
If you are on macOS Catalina, the new default shell is zsh. You will instead need to run source<pathtoconda>/bin/activate
followed by condainitzsh
.
Updating Anaconda or Miniconda¶
Open a terminal window.
Navigate to the
anaconda
directory.Run
condaupdateconda
.
Uninstalling Anaconda or Miniconda¶
Anaconda Navigator Mac
Open a terminal window.
Remove the entire Miniconda install directory with:
OPTIONAL: Edit
~/.bash_profile
to remove the Minicondadirectory from your PATH environment variable.Remove the following hidden file and folders that may havebeen created in the home directory:
.condarc
file.conda
directory.continuum
directory
By running: