Anaconda install

On MS Windows, macOS, and Linux, it is best to install Anaconda for the local user, which does not require administrator permissions and is the most robust type of installation. For users on any of the three platforms who need to do so, Anaconda can also be installed system wide, which does require administrator permissions.

TIP: If you don’t want the hundreds of packages included with Anaconda, you can download Miniconda, a mini version of Anaconda that includes just conda, its dependencies, and Python.

Operating system-specific installs

Click on the following for Anaconda installation instructions for your specific operating system.

Silent mode install

You can use silent mode to automatically accept default settings and have no screen prompts appear during install.

Uninstall Anaconda

To uninstall Anaconda you can do a simple remove of the program.

If you also want to remove all traces of the configuration files and directories from Anaconda and its programs, you can also download and use the Anaconda-Clean program and then do a simple remove.

Anaconda-Clean

On all systems, you may optionally remove configuration files and directories from Anaconda and its programs by opening a terminal window (on Windows: Start - Command Prompt) and installing the conda package “anaconda-clean”:

conda install anaconda-clean

Next, in the same window, run either of these two commands:

  • Remove all Anaconda-related files and directories with a prompt to answer “yes” before deleting each one:

    anaconda-clean
    
  • Remove all Anaconda-related files and directories without being prompted to delete each one:

    anaconda-clean --yes
    

Anaconda-Clean creates a backup of all files and directories that might be removed, such as .bash_profile, in a folder named .anaconda_backup in your home directory.

Now you are ready to proceed to the simple remove instructions to finish uninstalling Anaconda.

Simple remove

WINDOWS: In the Control Panel, choose “Add or Remove Programs” or “Uninstall a program” and then select “Python 3.6 (Anaconda)” or your version of Python.

MACOS: Open the Terminal.app or iTerm2 terminal application and remove your entire Anaconda directory, which will have a name such as “anaconda2” or “anaconda3”, by entering the following command: rm -rf ~/anaconda3

LINUX: Open a terminal window and remove your entire Anaconda directory, which will have a name such as “anaconda2” or “anaconda3”, by entering the following command: rm -rf ~/anaconda3

Removing Anaconda path from .bash_profile

Linux and macOS users may also wish to check the file .bash_profile in their home directory. .bash_profile may contain a line such as this:

export PATH="/Users/jsmith/anaconda3/bin:$PATH"

This line adds the Anaconda path to the PATH environment variable. It may refer to either Anaconda or Miniconda. After uninstalling Anaconda, you may delete this line and save the file.

Updating from older Anaconda versions

You can easily update to the latest Anaconda version by updating conda, then Anaconda as follows:

conda update conda
conda update anaconda

If you wish to install or uninstall the Jupyter Notebook Extensions, please see the Jupyter Notebook Extensions page for instructions.

Verify your install

On all systems, you can confirm that Anaconda is installed and working by opening a terminal window (on Windows: Start - Command Prompt) and entering a command such as ‘conda list’. If Anaconda is installed and working, this will display a list of installed packages and their versions.

Another way to confirm that Anaconda is installed and working by opening a terminal window (on Windows: Start - Command Prompt) and entering the command ‘python’ to run the Python shell. If Anaconda is installed and working, the version information it displays when it starts up will include “Continuum Analytics, Inc.”. Use the command ‘quit()’ to exit the Python shell.

What’s next?

If you had trouble with installation, please see the information on Anaconda support.

If you are new to Anaconda and the conda package manager, we recommend you try the Anaconda Navigator, the easy graphical interface for working with Anaconda.

If you prefer to use a terminal window or command prompt, download the conda cheat sheet, try the conda test drive, and learn more about using conda.

For examples of data science and data visualization using Anaconda, see the Continuum Analytics developer blog, which has examples such as using Anaconda and Datashader to map US Census data and using Anaconda and Bokeh to analyze data from firefighter helmet sensors.