Skip to content

Try our new Crash Courses!

Buy one of our new Crash Courses, now hosted on Podia.

List global packages – npm

Summary

To list all of your globally installed packages, enter the following command in your terminal:

npm list -g --depth 0

Details

After entering the above command, you should see something similar to the following print out in your terminal (your packages and version numbers may be different):

├── package-one@2.6.4
├── package-two@1.12.0
└── npm@6.9.0

Exercises

There are no exercises for this lesson.

Reference

Downloading and installing packages globally | npm Documentation

Back to: npm Reference > npm Global Packages