LinuxCommandLibrary

bun-why

Show why a package is installed

TLDR

Show why a package is installed

$ bun why [package]
copy

SYNOPSIS

bun why package

DESCRIPTION

bun why shows why a specific package is installed in your project. It displays the dependency chain that leads to the package, showing which packages depend on it directly or transitively.
This is useful for understanding why a package appears in your node_modules, especially for transitive dependencies.

SEE ALSO

bun(1), bun-list(1), npm-explain(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community