dub-list(1)

dub-list1

Prints a list of all or selected local packages dub is aware of

Usage

dub list [<package> [@<version-spec>]] OPTIONS ...

Overview

Prints a list of all or selected local packages. This includes all cached packages (user or system wide), all packages in the package search paths ("dub add-path") and all manually registered packages ("dub add-local"). If a package (and optionally a version spec) is specified, only matching packages are shown.

Options

Common options

See dub(1)

Exit status

0

DUB succeeded

1

usage errors, unknown command line flags

2

package not found, package failed to load, miscellaneous error

Files

dub.sdl, dub.json

Online documentation

http://code.dlang.org/docs/commandline

Releases

5 releases since Debian 10 (Buster); the text changed 4 times.

  1. 10
  2. 11
  3. 12
  4. 13
  5. Arch

Author

Copyright (c) 1999-2026 by The D Language Foundation

From dub 1.42.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.