Categories
JavaScript Answers

How to print a list of all installed Node.js modules?

Spread the love

To print a list of all installed Node.js modules, we use the list option.

For instance, we run

npm -g list

to list all the globally installed packages.

We run

npm list

to list the packages installed in the project folder.

By John Au-Yeung

Web developer specializing in React, Vue, and front end development.

Leave a Reply

Your email address will not be published. Required fields are marked *