Scroll to navigation

DUB-ADD(1) The D Language Foundation DUB-ADD(1)

NAME

dub - 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-2021 by The D Language Foundation

ONLINE DOCUMENTATION

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

SEE ALSO

dmd(1), dub(1)
2021-01-27 The D Language Foundation