Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
update_nodejs_npm_linux.sh
Update nodejs to latest version:
sudo npm install -g n
sudo n latest
Update npm to latest version:
sudo npm install -g npm
Do what @runcible suggested
hash -d npm
Try npm install
npm i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment