.TH DUB-UPGRADE 1 "2022-08-13" "The D Language Foundation" "The D Language Foundation" .SH NAME dub \- Package and build management system for D .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 .IP --prerelease Uses the latest pre-release version, even if release versions are available .IP --verify Updates the project and performs a build. If successful, rewrites the selected versions file . .IP --dry-run Only print what would be upgraded, but don't actually upgrade anything. .IP --missing-only Performs an upgrade only for dependencies that don't yet have a version selected. This is also done automatically before each build. .IP --force-remove Deprecated option that does nothing. .SH FILES \fIdub\&.sdl\fR, \fIdub\&.json\fR .SH AUTHOR Copyright (c) 1999-2022 by The D Language Foundation .SH "ONLINE DOCUMENTATION" .UR http://code.dlang.org/docs/commandline .UE http://code.dlang.org/docs/commandline .SH "SEE ALSO" \fBdmd(1)\fR, \fBdub(1)\fR