NPM: How To Show All Globally Installed Packages

Last updated on September 21, 2020 A Goodman Loading... Post a comment

To show all globally installed npm packages on your computer, just run the following command:

npm list -g --depth 0

Here is my output:

/usr/local/lib
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]

If you want to see all global packages and their dependencies, use this:

npm list -g

Related Articles

guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x