npm install -g requiring sudo? This module sets the permissions so that you don't need sudo.
npm install -g
$ sudo npm install -g npm-sudo-fix$ sudo npm-sudo-fix
Do not use this if you are on a shared system.
Private packages, team management tools, and powerful integrations. Get started with npm Orgs
how? learn more