npm ls

Category: Node.js & npm/yarn

npm ls

List installed packages in tree format

Shows all installed packages in a tree structure, showing their dependencies.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.