dub-add - Man Page

Package and build management system for D

Synopsis

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

Description

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.

Options

Files

dub.sdl, dub.json

Author

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

Online Documentation

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

See Also

dmd(1), dub(1)

Referenced By

dub(1).

2022-07-27 The D Language Foundation