LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

bun-list

List installed packages in a Bun project

TLDR

List installed packages (top-level)
$ bun pm ls
copy
List all packages including nested dependencies
$ bun pm ls --all
copy

SYNOPSIS

bun pm ls [--all]

DESCRIPTION

bun pm ls (sometimes invoked as bun list) prints the packages installed in the current project's node_modules directory. By default it shows only the direct dependencies declared in package.json; pass --all to see the complete resolved dependency tree.The output includes each package's resolved version and location and is intended for quick auditing of what is installed. For machine-readable output, inspect bun.lockb with bun pm subcommands.

PARAMETERS

--all

Show the full dependency tree, including transitive dependencies.

SEE ALSO

Copied to clipboard
Kai