DUB-REMOVE(1)
π dub-remove(1) β the D Language Foundation's own lil' cache-cleaning queen π
okay so bestie, real talk: you're looking at dub-remove(1), one of the many iconic pages from The D Language Foundation, and honestly? She's a short one. Sweet. To the point. A little dramatic removal moment. Let's get into it β¨
πΈ NAME πΈ
dub-remove β she removes a cached package. that's it. that's the whole vibe. π
π¦ SYNOPSIS π¦
dub remove <package>[@<version-spec>] OPTIONS...
literally just point her at a package, optionally tell her which version you mean with a version spec, and vibe-check it out of existence π
π DESCRIPTION π
Removes a package that is cached on the local system.
no cap, that's the entire description. she's not gonna over-explain herself. the package is sitting there in your local cache, and now it's not. main character energy, honestly π
β¨ OPTIONS β¨
--version=VALUEβ use the specified version/branch instead of the latest available match. and here's the fun part bestie: the remove command also accepts*here as a wildcard so you can nuke all versions of the package from the specified location π₯ (yes, that means all of them. yes, that's the point.)--force-removeβ deprecated option that does nothing. respectfully, she's a ghost π» she does nothing. kept around for legacy reasons, not for you to rely on, fr fr.-n,--non-interactiveβ don't enter interactive mode. she just goes and does the thing without asking you follow-up questions π«Ά
π§ COMMON OPTIONS
see dub(1) β the big sis page has all the shared stuff π
π EXIT STATUS π
0β DUB succeeded π slay, she ate1β usage errors, unknown command line flags π (you typed something weird)2β package not found, package failed to load, miscellaneous error π (she looked. it wasn't there. or something else went sideways.)
π FILES π
dub.sdldub.json
the two iconic recipe files. iykyk π
π AUTHOR π
Copyright (c) 1999-2026 by The D Language Foundation
β ONLINE DOCUMENTATION β
http://code.dlang.org/docs/commandline
(yes that's the docs. go read them. obsessive behaviour encouraged π)
πΈ SEE ALSO πΈ
heads up bestie: --force-remove is deprecated and does nothing. don't build your whole workflow on it, okay? π
and that's the page!! π brought to you by The D Language Foundation, dated 2026-08-16 β go forth and remove things, bestie, you've got this π β¨
π¦ where this page comes from
- arch rolling: dub 1.42.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms