How to tell if npm package was installed globally or locally

I am installing grunt, node, npm, bower, and grunt-cli on windows7.

The instructions say i should run the install commands with -g flag for global.

How can I check if I used the -g flag when i installed. It will take a lot of time to uninstall them and reinstall.

6 Answers
6

Leave a Comment