Where can you find modules that the npm installed locally after you executed the npm install command?

Experience Level: Junior
Tags: npm

Answer

If you install the module locally using the command npm install <module-name>, it will be installed in the folder node_modules under your project folder (folder that contains a file package.json).

Related npm job interview questions
npm for beginners
npm for beginners

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

Test yourself