Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

DUB

dub.pm

  • Windows
  • macOS
  • Linux
6.5 Club score Visit dub.pm

What the maker publishes

Build configuration
Recipe settings can specify build options, dependencies, source paths, and platform-specific settings. source
Builds
DUB resolves, downloads, and builds project dependencies as needed when building a project. source
CLI tasks
Its command-line interface downloads programs and dependencies, creates projects, compiles and runs projects, and tests them. source
Company details
The opened DUB pages identify the software and documentation but do not state a maker headquarters or founding date. source
Compiler distribution
DUB is distributed alongside major D compilers when their full packages are installed, and it can also be installed separately. source
Compiler support
The project repository lists support for DMD, GDC, and LDC. source
Compiler support
DUB is distributed alongside major D compilers when their full packages are installed. source
Dependency handling
DUB resolves, downloads, and builds dependencies as needed, and records resolved versions in dub.selections.json. source
Dependency resolution
Yes source
IDE and build system support
DUB integrates with various IDEs and can generate configuration for third-party build systems and IDEs. source
IDE integration
DUB is integrated in various IDEs and can generate configuration for third-party build systems and IDEs. source
Local package sources
DUB supports using local directories as a package source for development workflows. source
Lockfile support
Yes source
Offline installation
Yes source
Package configuration
A DUB project is configured with a recipe file named dub.sdl or dub.json. source
Package discovery
The DUB registry lets users discover packages and publish their own. source
Package formats
dub.json,dub.sdl source
Package registry
The DUB registry lets users discover packages and publish their own. source
Project setup
A DUB project uses a dub.sdl or dub.json recipe file to describe project metadata and dependencies. source
Purpose
DUB is the official package manager for the D programming language and provides configurable cross-platform builds. source
Purpose
DUB is the official package manager for the D programming language and provides configurable cross-platform builds. source
Security dependency
The repository says DUB requires libcurl with SSL support, except on Windows. source
Standalone installation
DUB can also be installed separately from the compiler, including by building it from source. source
Supported operating systems
The project repository says precompiled DUB versions are available for Windows, OS X, and Linux. source

Checked against the maker's pages on 12 Oct 2026.