Update dependencies to their latest version.
paket update [--help] [--version <version constraint>] [--group <name>] [--create-new-binding-files]
[--force] [--redirects] [--clean-redirects] [--no-install] [--keep-major]
[--keep-minor] [--keep-patch] [--filter] [--touch-affected-refs] <package id>
<package id> NuGet package ID
--version, -V <version constraint>
dependency version constraint
--group, -g <name> specify dependency group to update (default: all groups)
create binding redirect files if needed
--force, -f force download and reinstallation of all dependencies
--redirects create binding redirects
--clean-redirects remove binding redirects that were not created by Paket
--no-install do not modify projects
--keep-major only allow updates that preserve the major version
--keep-minor only allow updates that preserve the minor version
--keep-patch only allow updates that preserve the patch version
--filter treat the NuGet package ID as a regex to filter packages
--touch-affected-refs touch project files referencing affected dependencies to help incremental
build tools detecting the change
--silent, -s suppress console output
--verbose, -v print detailed information to the console
--log-file <path> print output to a file
--from-bootstrapper call coming from the '--run' feature of the bootstrapper
--help display this list of options.
If you add the
--verbose flag Paket will run in verbose mode and show detailed information.
--log-file [path] you can trace the logged information into a file.
If you do not specify a package, then all packages from
paket.dependencies are updated.
First, the current
paket.lock file is deleted.
paket update then recomputes the current dependency
resolution, as explained under
Package resolution algorithm, and writes it to
paket.lock file. It then proceeds to download the packages
and to install them into the projects.
paket install if you want to keep the current
versions from your
It's also possible to update only specified packages and to keep all other
paket update <package id>
paket update <package id> --filter
--filter parameter makes Paket interpret the
<package id> as a regular
expression pattern to match against, rather than a single package. Paket
enforces a "total" match (i.e. an implicit
$ at beginning and end of
<package id> as added).
If you want to update a single group you can use the following command:
paket update --group <group>
If you want to update a file you need to use the
paket install command or
paket update command with the
Using groups for
http dependent files
can be helpful in order to reduce the number of files that are reinstalled.