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:Replace <PACKAGE> with the name of the package you want to update.
--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:Replace each <PACKAGE> with the name of a package you want to update.
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.
Replace <PACKAGE> with the name of the package you want to update.
Replace <CHANNEL> with the name of the channel you want to use.
Replace <CHANNEL> with the name of the channel you want to use.