DUB-LIST(1)
π dub-list(1) β the "who's even here" list command
okay bestie, so this is the dub-list page from the D Language Foundation's manual set. we're talking about the command that prints a list of all β or just some β of the local packages that dub knows about. it's giving inventory check. it's giving "let me see who's in the group chat." π
β¨ SYNOPSIS β¨
dub list [<package>[@<version-spec>]] OPTIONS...
that's it, that's the whole vibe. run it bare or hand it a package name and get to scrolling. π¦
πΈ DESCRIPTION πΈ
so dub list prints a list of all or selected local packages. and when I say all, I mean it literally ate:
- every cached package, whether it's user or system wide π
- every package sitting in the package search paths β those are the ones you add with
dub add-path, iykyk - every package you manually registered with
dub add-localπ
and if you specify a package (and optionally a version spec too, because we love precision), then only the matching packages get shown. no cap, it filters for you. β¨
π OPTIONS π
COMMON OPTIONS
See dub(1)β yeah this is the part where it points you at the maindub(1)page for the shared options. go read that one, bestie, it's got the goods. π
π«Ά EXIT STATUS π«Ά
0β DUB succeeded. slay. everything worked, you can go touch grass now. π1β usage errors, unknown command line flags. like, you typed something it doesn't recognize. it's giving "who said that." π2β package not found, package failed to load, miscellaneous error. the package is literally not in the building. π
π FILES π
dub.sdldub.json
these are the two package description files in the mix, iconic duo, no notes. π
π AUTHOR π
Copyright (c) 1999-2026 by The D Language Foundation. they've been at this a minute and honestly? respect. π
π§ ONLINE DOCUMENTATION π§
http://code.dlang.org/docs/commandline
go click around, there's lore in there fr fr. β
πΈ SEE ALSO πΈ
dub-search(1) is the one you want when the thing you're looking for isn't local yet β think of it as the "expand your search radius" button. π
quick vibe check: if your package isn't showing up, it might not be cached, not in your search paths, and not registered with dub add-local. those are the three doors it comes through, so check all three before you spiral. π«Ά
and that's the whole page!! β¨ written up by The D Language Foundation, page dated 2026-08-16, manual page DUB-LIST(1) β¨ β mwah, go list some packages bestie π
π
π¦ 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