Published on December 27, 2016 by ProgrammingKnowledge
Want create site? Find Free WordPress Themes and plugins.

Where does npm install packages?
%AppData%npmnode_modules

There are two ways to install npm packages: locally or globally. You choose which kind of installation to use based on how you want to use the package.

If you want to use it as a command line tool, something like the grunt CLI, then you want to install it globally. On the other hand, if you want to depend on the package from your own module using something like Node’s require, then you want to install locally.

on windows command is
npm install -g nodemon

on linux command is
sudo npm install -g nodemon

Did you find apk for android? You can find new Free Android Games and apps.

Leave a Reply

1 Comment on "Node.js Tutorial for Beginners 19 – Installing npm packages globally + install nodemon"

Notify of
avatar

Rajiv Shah
Guest
Rajiv Shah
10 months 22 days ago

Hello sir i want to learn programming?? Which programming is good for now a days???

wpDiscuz