.TH DUB-UPGRADE 1 "2024-07-07" "The D Language Foundation" "The D Language Foundation" .SH NAME dub-upgrade \- Forces an upgrade of the dependencies .SH SYNOPSIS \fBdub upgrade \fR[<\fIpackages...\fR>] \fIOPTIONS\&.\&.\&.\fR .SH DESCRIPTION Upgrades all dependencies of the package by querying the package registry(ies) for new versions. This will update the versions stored in the selections file (dub.selections.json) accordingly. If one or more package names are specified, only those dependencies will be upgraded. Otherwise all direct and indirect dependencies of the root package will get upgraded. .SH OPTIONS .PP \fB\-\-prerelease\fR .RS 4 Uses the latest pre-release version, even if release versions are available .RE .PP \fB\-s\fR, \fB\-\-sub\-packages\fR .RS 4 Also upgrades dependencies of all directory based sub packages .RE .PP \fB\-\-verify\fR .RS 4 Updates the project and performs a build. If successful, rewrites the selected versions file . .RE .PP \fB\-\-dry\-run\fR .RS 4 Only print what would be upgraded, but don't actually upgrade anything. .RE .PP \fB\-\-missing\-only\fR .RS 4 Performs an upgrade only for dependencies that don't yet have a version selected. This is also done automatically before each build. .RE .PP \fB\-\-force\-remove\fR .RS 4 Deprecated option that does nothing. .RE .SS COMMON OPTIONS See \fBdub\fR(1) .SH EXIT STATUS .TP .BR 0 DUB succeeded .TP .BR 1 usage errors, unknown command line flags .TP .BR 2 package not found, package failed to load, miscellaneous error .SH FILES \fIdub\&.sdl\fR, \fIdub\&.json\fR .SH AUTHOR Copyright (c) 1999-2024 by The D Language Foundation .SH ONLINE DOCUMENTATION .URhttp://code.dlang.org/docs/commandline http://code.dlang.org/docs/commandline .UE .SH SEE ALSO \fBdub\fR(1)