Quick install
=============

.. contents::

Conda is a cross-platform package and environment manager that installs,
runs, and updates packages and their dependencies. It allows you to easily set up and switch
between environments on your local computer.  Conda is included in all versions
of **Anaconda** and **Miniconda**.

The fastest way to get and install conda is to `download Miniconda <https://conda.io/miniconda.html>`_,
a mini version of Anaconda that includes just conda and its dependencies.
Anaconda has all that plus over 720 open source packages that install with Anaconda or
can be installed with the simple ``conda install`` command.

In its default configuration conda uses the hundreds of packages at
repo.continuum.io that are built, reviewed, and maintained by Anaconda.

TIP: If you prefer to have the over 720 open source packages included with Anaconda,
and have a few minutes and the disk space required, you can download Anaconda simply by
replacing the word “Miniconda” with “Anaconda” in the examples below.

Miniconda quick install requirements
------------------------------------

32- or 64-bit computer, 400 MB available, Linux, macOS or Windows.

NOTE: If you choose to install the full Anaconda package, it requires 3 GB of available disk space.


Windows Miniconda install
-------------------------

In your browser download the `Miniconda installer for Windows <https://conda.io/miniconda.html>`_, then double click
the .exe file and follow the instructions on the screen.  If unsure about any setting,
simply accept the defaults as they all can be changed later.

NOTE: When finished, a new terminal window will open. If not, click Start - Run - Command Prompt.

To test your installation, enter the command ``conda list.`` If installed
correctly, you will see a list of packages that were installed.

Next, go to our :doc:`30-minute conda test drive <../test-drive>`.

**Windows Miniconda update**

Open a terminal window with Start - Run - Command Prompt, navigate to the anaconda folder, then type ``conda update conda``

**Windows Miniconda Uninstall**

Go to Control Panel, click “Add or remove Program,” select “Python 2.7 (Miniconda)” and click Remove Program.


macOS Miniconda install
-----------------------

In your browser download the `Miniconda installer for macOS <https://conda.io/miniconda.html>`_, then in your terminal
window type the following and follow the prompts on the installer screens. If unsure about any setting,
simply accept the defaults as they all can be changed later.

.. code::

   bash Miniconda3-latest-MacOSX-x86_64.sh

Now close and re-open your terminal window for the changes to take effect.

To test your installation, enter the command ``conda list.`` If installed
correctly, you will see a list of packages that were installed.

Next, go to our :doc:`30-minute conda test drive <../test-drive>`.

**macOS Miniconda update**

Open a terminal window, navigate to the anaconda directory, then type ``conda update conda``.

**macOS Miniconda uninstall**

To uninstall Miniconda open a terminal window and remove the entire miniconda install
directory: ``rm -rf ~/miniconda``. You may also edit ``~/.bash_profile`` and remove
the miniconda directory from your ``PATH`` environment variable, and remove the
hidden .condarc file and .conda and .continuum directories which may have been created
in the home directory with ``rm -rf ~/.condarc ~/.conda ~/.continuum``.


Linux Miniconda install
-----------------------

In your browser download the `Miniconda installer for Linux <https://conda.io/miniconda.html>`_, then in your terminal
window type the following and follow the prompts on the installer screens. If unsure
about any setting, simply accept the defaults as they all can be changed later:

.. code::

   bash Miniconda3-latest-Linux-x86_64.sh

Now close and re-open your terminal window for the changes to take effect.

To test your installation, enter the command ``conda list.`` If installed
correctly, you will see a list of packages that were installed.

Next, go to our :doc:`30-minute conda test drive <../test-drive>`.

**Linux Miniconda update**

In your terminal window, type the following:  ``conda update conda``

**Linux Miniconda uninstall**

To uninstall Miniconda open a terminal window and remove the entire miniconda install
directory: ``rm -rf ~/miniconda``. You may also edit ``~/.bash_profile`` and remove
the miniconda directory from your ``PATH`` environment variable, and remove the
hidden .condarc file and .conda and .continuum directories which may have been created
in the home directory with ``rm -rf ~/.condarc ~/.conda ~/.continuum``.
