1DUB-UPGRADE(1)             The D Language Foundation            DUB-UPGRADE(1)
2
3
4

NAME

6       dub-upgrade - Forces an upgrade of the dependencies
7

SYNOPSIS

9       dub upgrade [<packages...>] OPTIONS...
10

DESCRIPTION

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

OPTIONS

27       --prerelease
28           Uses  the  latest pre-release version, even if release versions are
29           available
30
31       -s, --sub-packages
32           Also upgrades dependencies of all directory based sub packages
33
34       --verify
35           Updates the project and performs a build. If  successful,  rewrites
36           the selected versions file <to be implemented>.
37
38       --dry-run
39           Only  print what would be upgraded, but don't actually upgrade any‐
40           thing.
41
42       --missing-only
43           Performs an upgrade only for dependencies that  don't  yet  have  a
44           version  selected.  This  is  also  done  automatically before each
45           build.
46
47       --force-remove
48           Deprecated option that does nothing.
49
50   COMMON OPTIONS
51       See dub(1)
52

EXIT STATUS

54       0      DUB succeeded
55
56       1      usage errors, unknown command line flags
57
58       2      package not found, package failed to load, miscellaneous error
59

FILES

61       dub.sdl, dub.json
62

AUTHOR

64       Copyright (c) 1999-2023 by The D Language Foundation
65

ONLINE DOCUMENTATION

67       http://code.dlang.org/docs/commandline ⟨⟩
68

SEE ALSO

70       dub(1)
71
72
73
74The D Language Foundation         2023-07-24                    DUB-UPGRADE(1)
Impressum