conda update <package...>

Updates conda packages to the latest compatible version

Arguments

NameDescription
package

Options

NameDescription
--file <arg>Read package versions from the given file. Repeated file specifications can be passed (e.g. --file=file1 --file=file2)
-n, --name <Environment>Name of environment
-p, --prefix <path>Full path to environment location (i.e. prefix)
-c, --channel <arg>They are given (including local directories using the 'file://' syntax or simply a path like '/home/conda/mychan' or '../mychan'). Then, the defaults or channels from .condarc are searched (unless --override-channels is given). You can use 'defaults' to get the default packages for conda. You can also use any name and the .condarc channel_alias value will be prepended. The default channel_alias is http://conda.anaconda.org/
--use-localUse locally built packages. Identical to '-c local'
--override-channelsDo not search default or .condarc channels. Requires --channel
--repodata-fn <arg>Specify name of repodata on remote server. Conda will try whatever you specify, but will ultimately fall back to repodata.json if your specs are not satisfiable with what you specify here. This is used to employ repodata that is reduced in time scope. You may pass this flag more than once. Leftmost entries are tried first, and the fallback to repodata.json is added for you automatically
--strict-channel-priorityPackages in lower priority channels are not considered if a package with the same name appears in a higher priority channel
--no-channel-priorityPackage version takes precedence over channel priority. Overrides the value given by conda config --show channel_priority
--no-depsDo not install, update, remove, or change dependencies. This WILL lead to broken environments and inconsistent behavior. Use at your own risk
--only-depsOnly install dependencies
--no-pinIgnore pinned file
--force-reinstallEnsure that any user-requested package for the current operation is uninstalled and reinstalled, even if that package already exists in the environment
--freeze-installed, --no-update-depsDo not update or change already-installed dependencies
--update-depsUpdate dependencies
-S, --satisfied-skip-solveExit early and do not run the solver if the requested specs are satisfied. Also skips aggressive updates as configured by 'aggressive_update_packages'. Similar to the default behavior of 'pip install'
--update-all, --allUpdate all installed packages in the environment
--update-specsUpdate based on provided specifications
--copyInstall all packages using copies instead of hard- or soft-linking
--clobberAllow clobbering of overlapping file paths within packages, and suppress related warnings
-C, --use-index-cacheUse cache of channel index files, even if it has expired
-k, --insecureAllow conda to perform insecure SSL connections and transfers. Equivalent to setting 'ssl_verify' to 'false'
--offlineOffline mode. Don't connect to the Internet
-d, --dry-runOnly display what would have been done
--jsonReport all output as json. Suitable for using conda programmatically
-q, --quietDo not display progress bar
-v, --verbose
  • Repeatable ♾
-y, --yesDo not ask for confirmation
--download-onlySolve an environment and ensure package caches are populated, but exit prior to unlinking and linking packages into the prefix
--show-channel-urlsShow channel urls. Overrides the value given by conda config --show show_channel_urls