DOKK / manpages / debian 12 / dub / dub-add.1.en
DUB-ADD(1) The D Language Foundation DUB-ADD(1)

dub - Package and build management system for D

dub add <package>[@<version-spec>] [<packages...>] OPTIONS...

Adds <packages> as dependencies.

Running "dub add <package>" is the same as adding <package> to the "dependencies" section in dub.json/dub.sdl.

If no version is specified for one of the packages, dub will query the registry for the latest version.

dub.sdl, dub.json

Copyright (c) 1999-2022 by The D Language Foundation

http://code.dlang.org/docs/commandlinehttp://code.dlang.org/docs/commandline

dmd(1), dub(1)

2022-08-13 The D Language Foundation