yarn why package

Category: Node.js & npm/yarn

yarn why package

Show why a package is installed — which other package in the tree depends on it

Traces back through the dependency tree to explain why a package ended up in your project — which dependency required it.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.