conda update command provides flexible options for updating your packages. The sections below explain how to update individual packages, multiple packages at once, or entire environments. You can also run conda update --help to see a list of all available update command options.
Updating a single package
To update a single package, run the following command:--no-update-deps flag.
The
--no-update-deps flag only prevents conda from updating other packages in the environment. It does not prevent conda from installing new packages required by updated dependencies.Updating multiple packages
To update multiple packages, list the packages separated by a space:Updating a package to a specific version
If you need to update a package to a specific version, use the conda install command instead.Specifying a channel for package updates
Specifying a to use when updating a package is useful if the package you want to update is only available (or is more up to date) in a specific channel. Use the--override-channels flag to ignore the channels configured in your environment and .condarc file, and the --channel flag to provide the channel you want to use.
Updating all packages
Running
conda update --all might not update all the packages in a given environment to their latest versions. If the latest version of a package is incompatible with other packages installed in the environment, conda will only update that package to the latest compatible version.
