返回命令列表

Linux command

bun-why 命令

文本

Copy it and replace filenames, paths, or keywords as needed.

命令示例

Show why a package is installed

bun why [package]

说明

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.

FAQ

What is the bun-why command used for?

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.

How do I run a basic bun-why example?

Run `bun why [package]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.