A2oz

How do I update Miniconda?

Published in Software Installation 1 min read

Updating Miniconda ensures you have the latest features, bug fixes, and security patches. You can update Miniconda using the conda command.

Updating Miniconda

  1. Open your terminal or command prompt.

  2. Type the following command and press Enter:

    conda update -n base -c defaults conda
    • This command updates the conda package manager itself.
    • The -n base flag specifies the base environment.
    • The -c defaults flag indicates the default channel to search for packages.
  3. Follow the prompts to complete the update process.

Verifying the Update

After the update, you can verify the version by running:

conda --version

This command will display the current version of Miniconda installed on your system.

Additional Information

  • You can also update specific packages within Miniconda by replacing conda with the package name in the update command. For example, to update the python package:
     conda update -n base -c defaults python
  • If you encounter any issues during the update process, you can consult the official Miniconda documentation for troubleshooting steps.

Related Articles