npm list Explained
What npm list does, with an example.
Published November 11, 2026
npm list displays the installed package tree for the current project.
Key points
- Part of the standard npm CLI that ships with Node.js
Example
npm list --depth=0What npm list does, with an example.
Published November 11, 2026
npm list displays the installed package tree for the current project.
npm list --depth=0