Anaconda for macOS install

You can install Anaconda using either the graphical interface or the command line.

macOS graphical install

  1. Download the Anaconda installer.

  2. Optional: Verify data integrity with MD5 or SHA-256. More info on hashes

  3. Double click the .pkg file. Answer the prompts on Introduction, Read Me, and License screens.

  4. On Destination Select screen, you must select “Install for me only.”

    IMPORTANT: If you get the error message “You cannot install Anaconda in this location”, reselect “Install for me only”.


    ../_images/osxbug2.png

5. On “Installation Type” you may choose to install in another location. Standard install will put Anaconda in your home user directory .


../_images/customizebutton.png

NOTE: Advanced users may select “customize” to not add Anaconda to the bash PATH:


../_images/pathoption.png

  1. Click the Install button.

After a successful installation you will see output like this:

../_images/anaconda-install-osx.png

When your install is complete, begin using Anaconda with the instructions in What’s next?.

macOS command line install

  1. Go to the DOWNLOAD ANACONDA NOW page. Beneath the “Graphical Installer” buttons for Anaconda for macOS, there are command-line text links for Python versions 2.7 and 3.6.

  2. Download the command line installer for Anaconda with Python 2.7 or Anaconda with Python 3.6.

  3. Optional: Verify data integrity with MD5 or SHA-256. More info on hashes

  4. Python 2.7: Open the Terminal.app or iTerm2 terminal application and enter the following:

    bash ~/Downloads/Anaconda2-4.3.0-MacOSX-x86_64.sh

    Or for Python 3.6 enter the following:

    bash ~/Downloads/Anaconda3-4.3.0-MacOSX-x86_64.sh

    NOTE: You should include the bash command regardless of whether you are actually using the bash shell.

    NOTE: Replace ~/Downloads with your actual path and Anaconda3-4.3.0-MacOSX-x86_64.sh with your actual file name.

The output of a successful installation will include the messages “Installation finished.” and “Thank you for installing Anaconda!”

When your install is complete, begin using Anaconda with the instructions in What’s next?