LinuxCommandLibrary

dub

Package manager for D packages.

TLDR

Interactively create a new D project

$ dub init [project_name]
copy


Non-interactively create a new D project
$ dub init [project_name] -n
copy


Build and run a D project
$ dub
copy


Install dependencies specified in a D project's dub.json or dub.sdl file
$ dub fetch
copy


Update the dependencies in a D project
$ dub upgrade
copy


Display help
$ dub --help
copy

Copied to clipboard