Updating from older versions

You can easily update Anaconda to the latest version.

  • Windows: Open the Start Menu and choose Anaconda Prompt.
  • macOS or Linux: Open a terminal window.

Enter these commands:

conda update conda
conda update anaconda

More information

The below offers more details about what is happening when you update Anaconda.

Conda update anaconda grabs the latest release of the Anaconda metapackage. That metapackage represents a pinned state that has undergone testing as a collection.

There is a special “custom” version of the Anaconda metapackage that has all the package dependencies, but none of them are constrained. The “custom” version is lower in version ordering than any actual release number.

Conda update anaconda may remove packages if the new metapackage that is replacing your old one has removed packages. As of conda 4.7, when a package loses its connection to the set of specs that have been requested in the past, it gets removed.

Conda update --all drops all the version constraints from the history and tries to make everything as new as it can. This has the same behavior with removing packages. If any packages are orphaned by an update, they are removed. Conda update --all may not be able to make everything the latest versions because you may have conflicting constraints in your environment. For example, if you have the Anaconda metapackage version 2019.03, conda update --all should not update any dependencies that are in that metapackage because that metapackage constrains the solution. When the newer Anaconda metapackage 2019.07 becomes available, conda update --all should update you to that version, along with all of that version’s pins.

When you use conda update pkgName or conda install pkgName, conda may not be able to update or install that package without changing something else you specified in the past.

In the case of the Anaconda metapackage, when you say conda update ipython but you have Anaconda 2019.03, conda can and should “downgrade” Anaconda to the “custom” version so that iPython can be updated.

When conda cannot fulfill the request for the latest package available, it usually means that newer packages exist for your spec but are in conflict. To force the change, you can try conda install pkg=newversion.