snippetbashTip
bun why — Explain why a package is installed by showing its dependency chain. More information: <https://bun.c
Viewed 0 times
explaincommandcliwhyshowingpackagebun whyinstalled
Problem
How to use the
bun why command: Explain why a package is installed by showing its dependency chain. More information: <https://bun.com/docs/pm/cli/why>.Solution
bun why — Explain why a package is installed by showing its dependency chain. More information: <https://bun.com/docs/pm/cli/why>.Explain why a specific package is installed:
bun why {{package_name}}Explain why all packages matching a pattern are installed:
bun why "{{pattern}}"Explain why packages from a specific organization are installed:
bun why "@{{organization}}/*"Show only top-level dependencies:
bun why {{package_name}} --topLimit the dependency tree depth:
bun why {{package_name}} --depth {{number}}Code Snippets
Explain why a specific package is installed
bun why {{package_name}}Explain why all packages matching a pattern are installed
bun why "{{pattern}}"Explain why packages from a specific organization are installed
bun why "@{{organization}}/*"Show only top-level dependencies
bun why {{package_name}} --topLimit the dependency tree depth
bun why {{package_name}} --depth {{number}}Context
tldr-pages: common/bun why
Revisions (0)
No revisions yet.