Anaconda Enterprise: Documentation

# Installing on macOS

You can install Anaconda using either the graphical installer (“wizard”) or the command line (“manual”) instructions below. If you are unsure, choose the graphical install.

## macOS graphical install

1. Download the graphical macOS installer for your version of Python.

2. OPTIONAL: Verify data integrity with MD5 or SHA-256. For more information on hashes, see What about cryptographic hash verification?.

3. Double-click the downloaded file.

4. Answer the prompts on the Introduction, Read Me and License screens.

5. On the Destination Select screen, select Install for me only.

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

6. On the Installation Type screen, you may choose to install in another location. The standard install puts Anaconda in your home user directory (recommended):

7. Click the Install button.

8. Optional: To install VS Code, click the Install Microsoft VS Code button. After the install completes click the Continue button.

   Or to install Anaconda without VS Code, click the Continue button.

9. A successful installation displays the following screen:

10. After your install is complete, verify it by opening Anaconda Navigator, a program that is included with Anaconda: from Launchpad, select Anaconda Navigator. If Navigator opens, you have successfully installed Anaconda. If not, check that you completed each step above, then see our Help page

    TIP: Anaconda Navigator contains Jupyter Notebook and the Spyder IDE. For more information about using Navigator, see Navigator.

## Using the command-line install

Use this method if you prefer to use a terminal window.

1. In your browser, download the command-line version of the macOS installer for your system.

2. OPTIONAL: Verify data integrity with MD5 or SHA-256. For more information on hashes, see What about cryptographic hash verification?

3. Install for Python 3.6 or 2.7:

   - For Python 3.6 enter the following:

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

   - For Python 2.7, open the Terminal.app or iTerm2 terminal application and then enter the following:

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

   NOTE: Include the `bash` command regardless of whether or not you are using the Bash shell.

   NOTE: Replace `~/Downloads` with your actual path and `Anaconda3-5.1.0-MacOSX-x86_64.sh` with actual name of the file you downloaded.

4. The installer prompts “In order to continue the installation process, please review the license agreement.” Click Enter to view license terms.

5. Scroll to the bottom of the license terms and enter yes to agree to them.

6. The installer prompts you to Press Enter to confirm the location, Press CTRL-C to cancel the installation or specify an alternate installation directory. If you accept the default install location, the installer displays “PREFIX=/home/<user>/anaconda<2 or 3>” and continues the installation. It may take a few minutes to complete.

   NOTE: We recommend you accept the default install location.

7. The installer prompts “Do you wish the installer to prepend the Anaconda install location to PATH in your /home/<user>/.bash_profile ?” We recommend “yes”.

   NOTE: If you enter “no”, specify the path to Anaconda.

   - Add `export PATH="/<path to anaconda>/bin:$PATH"` in .bashrc or .bash_profile.
   - Or set the PATH variable: `export PATH="/<path to anaconda>/bin:$PATH"`

   Replace “<path to anaconda>” with the actual path to your Anaconda installation.

8. The installer finishes and displays “Thank you for installing Anaconda!”

9. The installer describes Microsoft VS Code and asks if you would like to install VS Code. Enter `yes` or `no`. If you selected `yes`, follow the instructions on screen to complete the VS Code installation.

10. Close and open your terminal window for the installation to take effect.

11. To verify the installation, see Verifying your installation.

To begin using Anaconda, see Getting started with Anaconda.