NPM in Windows - Run global modules like in Linux
Something that was happening to me when I started programming in Node.js using Windows, is that the modules that had to be installed globally were not accessible from the command line like in linux.
That is because the executables are installed onto a folder that's not on the Path env variable by default (at least in my computer with Windows 8).
So all I had to do, was to add the following path to the global PATH environment variable and they all started working!
c:\Users\USERNAME\AppData\Roaming\npm
That's it, now all global tools are accessible just like in my linux box!
Written by Fernando Doglio
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Npm
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#