Skip to content
SPECIFICTION
Get listed

DUB

dub.pm

WindowsmacOSLinux
Visit dub.pm
Spec score 7.1 #88 of 93 in Package Managers

Spec sheet

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

Where Specifiction places it

Alternatives to DUBAll alternatives →