News for hackers. Stuff that matters.
Re:Running "n stable" removed bin, lib, share, include direc... by dfc on Sunday October 07, 2012 @05:02PM (#4624439)
"The best advantage of nvm is that I can easily install global packages without being the root user"

One of us is very confused (it easily could be me). I do not understand this statement at all. How is something global if its in a user directory?

Re:Running "n stable" removed bin, lib, share, include direc... by cmwelsh on Sunday October 07, 2012 @05:05PM (#4624448)
When you install a package using npm with the flag -g, it means that the package is global, i.e. available from any current working directory. The default is to only search the current directory hierarchy for a folder called "node_modules". That way every project that you work on can have its own versions of every library, instead of sharing them for the entire system. You can learn more about "global" vs "local" packages by reading the npm manual.