Where can you find modules that the npm installed globally after you executed the npm install -g command?

Experience Level: Senior
Tags: npm

Answer

If you install the module globally using the command npm install -g <module-name>, it will be installed to a global directory.

On Windows, it is %userprofile%\AppData\Roaming\npm\node_modules

Comments

No Comments Yet.
Be the first to tell us what you think.
npm for beginners
npm for beginners

Are you learning npm ? Try our test we designed to help you progress faster.

Test yourself