paket update
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.
With --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.
1:
|
|
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.
Please see paket install
if you want to keep the current
versions from your paket.lock
file.
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:
1: 2: |
|
The --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 ^
and $
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:
1:
|
|
Updating http
dependencies
If you want to update a file you need to use the
paket install
command or
paket update
command with the --force
parameter.
Using groups for http
dependent files
can be helpful in order to reduce the number of files that are reinstalled.