Use nodesource installs https://github.com/nodesource/distributions/blob/master/README.md
mkdir ~/.npm-global
npm config set prefix '~/.npm-global
# add to profile
export PATH=~/.npm-global/bin:$PATH
Use nodesource installs https://github.com/nodesource/distributions/blob/master/README.md
mkdir ~/.npm-global
npm config set prefix '~/.npm-global
# add to profile
export PATH=~/.npm-global/bin:$PATH