dub

Package manager for D packages. More information: <https://dub.pm/commandline>.

Install

All systems
curl cmd.cat/dub.sh
Debian Debian
apt-get install dub
Ubuntu
apt-get install dub
Arch Arch Linux
pacman -S dub
image/svg+xml Kali Linux
apt-get install dub
Windows (WSL2)
sudo apt-get update sudo apt-get install dub
OS X
brew install dub
Raspbian
apt-get install 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
  • Build and run a D project:
    dub
  • Install dependencies specified in a D project's `dub.json` or `dub.sdl` file:
    dub fetch
  • Update the dependencies in a D project:
    dub upgrade
  • Display help:
    dub --help

© tl;dr; authors and contributors