Why you would want to do a -g npm install — really! [update]
Maria D. Campbell
24

How about using node installed via nvm (https://github.com/creationix/nvm) in the user space and never have to deal with `sudo` ?

When node installed with nvm, you can do an `npm install -g` and use the CLI directly without worrying about anything.

Like what you read? Give men1n2 a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.