==================
Updating Navigator
==================

Navigator automatically checks for version updates when launched. If one is available, a popup displays that allows you to update to the newest version or keep your current version.

.. note::
   Anaconda recommends keeping Navigator updated to the latest version.

.. thumbnail:: ../navigator/img/navigator-update.png
   :align: center

Update popup not automatically appearing
========================================

If you are not automatically prompted to update Navigator upon sign in, there may be several reasons.

"Hide update dialog on startup" setting
---------------------------------------

You may have clicked **Do not show again** in the Update popup. If this is the only reason your update popup is failing to appear, you should still see the **Update now** option beside **Connect**. To update, click **Update now**.

To have the Update popup appear automatically again:

#. Open **Preferences** from the **File** or **Anaconda Navigator** menu.
#. Deselect **Hide update dialog on startup**.

Update index
------------

Navigator fails to recognize an update is available if your package table is not properly updated. To update your package table, click **Environments**, then **Update index...**.

Add defaults to your channels list
----------------------------------

Not having ``defaults`` added to your channels list can also cause Navigator's Update popup to fail to appear.

.. note::

   This issue specifically impacts users without a subscription to our premium repository.

To add ``defaults`` to your channels list:

#. Click **Channels** on the **Home** or **Environments** page.
#. Click **Add**.
#. Enter ``defaults``, then press Enter (Windows)/Return (Mac) on your keyboard.
#. Click **Update channels**.
#. Close and reopen Navigator.

Manual update
=============

You can also update Navigator manually through a command line interface (CLI). This can either be done with the ``update`` or ``install`` commands:

.. tab-set::

    .. tab-item:: Update command

        #. Open Anaconda Prompt (Terminal on macOS/Linux).

        #. If necessary, update the conda package manager in your base environment by running the following command:

            .. code-block:: none

                conda update --name base conda

        #. Update the ``anaconda-navigator`` package in your base environment by running the following command:

            .. code-block:: none

                conda update --name base anaconda-navigator

        If Navigator is already up to date, your command line will display:

        .. code-block:: none

            # All requested packages already installed.

        .. caution::

            If you see the above message, but believe Navigator should have updated, specify the exact version using the instructions in the Install command tab.

    .. tab-item:: Install command

        #. Open Anaconda Prompt (Terminal on macOS/Linux).
        #. Search for the available versions of ``anaconda-navigator`` by running the following command:

            .. code-block:: none
            
                conda search anaconda-navigator

            .. tip::

                You can also reference the Navigator :doc:`release notes <release-notes>` for the latest version number.

        #. Install the version of ``anaconda-navigator`` you want by running the following command:

            .. code-block:: none

                #Replace <VERSION> with the version of Navigator you want to use
                conda install --name base anaconda-navigator=<VERSION>
