DUB
DUB: A focused open-source package manager that combines D dependencies, builds, tests, and publishing. Ranked #90 of 92 in Package Managers by our editors (5.3/10); pricing: Open source; best for D developers with integrated build workflows.
At a glance
- Editor score5.3 / 10
- PricingOpen source
- Best forD developers with integrated build workflows
- Paid fromFree
- Lockfile supportYes
- Facts checked22 Sep 2026

Where it wins
- Combines dependency resolution, builds, tests, and publishing in one tool
- Supports Windows, macOS, Linux, mirrors, private registries, and local caching
- Generates project files for VisualD, Sublime Text, and CMake
Where it doesn't
- Its ecosystem is specialized around the D programming language
- Project recipes use only dub.json or dub.sdl formats
- IDE and build integrations focus on a defined set of supported tools
Our verdict on DUB
DUB is the official package manager and build system for the D programming language. It is intended for developers building D applications and libraries who want dependency resolution, project initialization, compilation, execution, testing, version recording, and publishing in one workflow. Projects can use dub.json or dub.sdl recipe files, and resolved dependency versions are recorded in dub.selections.json. DUB is open source and runs on Windows, macOS, and Linux.
Its strongest fit is an integrated D development workflow. DUB can download and link dependencies, run builds and unit tests, publish packages through the DUB registry, and generate project files for VisualD, Sublime Text, and CMake. It integrates with the DMD, LDC, and GDC compilers, while Maven and file-system suppliers extend how packages can be obtained. This combination keeps package and build tasks within one tool while still connecting to selected editors, compilers, and project systems.
DUB also covers several distribution and repeatability needs. It supports configurable registry mirrors, private registries, local package directories, local caching, offline installation, and lockfile support through recorded dependency selections. Those capabilities suit teams that need controlled package sources or local development workflows. The trade-off is focus: DUB is built specifically for D, and its ecosystem and integrations are narrower than a general-purpose package manager's. Choose it for D projects that benefit from a unified package and build workflow; choose an alternative when your work depends on broader language coverage or tooling outside its supported ecosystem.
Your product? Our editors can test DUB in depth and publish a review, labelled as paid · from $149/mo →
DUB pricing
DUB fact sheet
| Free plan | Not verified |
|---|---|
| Paid from | Free |
| Package formats | dub.json, dub.sdl |
| Supported platforms | Windows, macOS, Linux |
| Dependency resolution | Yes |
| Lockfile support | Yes |
| Workspace support | Not verified |
| Private registry auth | Not verified |
| Offline installation | Yes |
| Deployment | Desktop |
| Platforms | Windows, macOS, Linux |
| Support | Docs |
| Built for | Solo, Small business (editorial estimate) |
| Integrations | 7 integrations: DMD, LDC, GDC, VisualD, Mono-D, CMake … |
| Pricing | Open source |
| Website | dub.pm |
| Facts checked | 22 Sep 2026 |
DUB integrations
DUB lists 7 integrations on its own site.
- DMD
- LDC
- GDC
- VisualD
- Mono-D
- CMake
- Maven
Alternatives to DUB
- npmA complete JavaScript package workflow with public access free and private packages at $7/month.9.4
- uvA broad, open-source toolkit for managing modern Python projects across three platforms.9.2
- YarnA capable JavaScript package manager for consistent installs and monorepositories.9.0
Used DUB? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used DUB for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
DUB is listed in our Package Managers directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/dub-package-manager/"><img src="https://www.itechguides.com/best/badge/dub-package-manager.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update


