npm-sudo-fix

A simple module for fixing permissions so that you can run npm without sudo.

Sudo fix

npm install -g requiring sudo? This module sets the permissions so that you don't need sudo.

$ sudo npm install -g npm-sudo-fix
$ sudo npm-sudo-fix
 

Do not use this if you are on a shared system.