snippetbashTip
dub — Package manager for D packages. More information: <https://dub.pm/commandline/>.
Viewed 0 times
commanddubclimorepackageformanagerpackages
Problem
How to use the
dub command: Package manager for D packages. More information: <https://dub.pm/commandline/>.Solution
dub — Package manager for D packages. More information: <https://dub.pm/commandline/>.Interactively create a new D project:
dub init {{project_name}}Non-interactively create a new D project:
dub init {{project_name}} {{[-n|--non-interactive]}}Build and run a D project:
dubInstall dependencies specified in a D project's
dub.json or dub.sdl file:dub fetchUpdate the dependencies in a D project:
dub upgradeDisplay help:
dub {{[-h|--help]}}Code Snippets
Interactively create a new D project
dub init {{project_name}}Non-interactively create a new D project
dub init {{project_name}} {{[-n|--non-interactive]}}Build and run a D project
dubInstall dependencies specified in a D project's `dub.json` or `dub.sdl` file
dub fetchUpdate the dependencies in a D project
dub upgradeContext
tldr-pages: common/dub
Revisions (0)
No revisions yet.