Update dependencies to their latest version.
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29:
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.
Updating all packages
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
Updating a single package, or packages matching a pattern
It's also possible to update only specified packages and to keep all other dependencies fixed:
--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).
Updating a single group
If you want to update a single group you can use the following command:
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.