Register to Better Coder! It's free.
Enjoy the premium features and succeed at every job interview.

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

Experience Level: Senior
Tags: npm


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


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