1DUB-UPGRADE(1) The D Language Foundation DUB-UPGRADE(1)
2
3
4
6 dub - Package and build management system for D
7
9 dub upgrade [<packages...>] OPTIONS...
10
12 Upgrades all dependencies of the package by querying the package reg‐
13 istry(ies) for new versions.
14
15
16
17 This will update the versions stored in the selections file (dub.selec‐
18 tions.json) accordingly.
19
20
21
22 If one or more package names are specified, only those dependencies
23 will be upgraded. Otherwise all direct and indirect dependencies of the
24 root package will get upgraded.
25
27 --prerelease
28 Uses the latest pre-release version, even if release versions
29 are available
30
31 --verify
32 Updates the project and performs a build. If successful,
33 rewrites the selected versions file <to be implemented>.
34
35 --dry-run
36 Only print what would be upgraded, but don't actually upgrade
37 anything.
38
39 --missing-only
40 Performs an upgrade only for dependencies that don't yet have a
41 version selected. This is also done automatically before each
42 build.
43
44 --force-remove
45 Deprecated option that does nothing.
46
48 dub.sdl, dub.json
49
51 Copyright (c) 1999-2022 by The D Language Foundation
52
54 ⟨http://code.dlang.org/docs/commandline⟩http://code.dlang.org/docs/commandline
55
57 dmd(1), dub(1)
58
59
60
61The D Language Foundation 2022-01-20 DUB-UPGRADE(1)