Update nodejs & npm on Ubuntu

May 24, 2017

Just use nvm and do not try other methods.

apt install nodejs-legacy npm
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
nvm install node
nvm use default
npm install [email protected] -g

Do Not Remain Silent

Back To Top