Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save francosalcedo/ce78e0a4aee9b350595a6a9d3ad811ad to your computer and use it in GitHub Desktop.
Save francosalcedo/ce78e0a4aee9b350595a6a9d3ad811ad to your computer and use it in GitHub Desktop.
update node and npm ubuntu 17.10
v=8 # set to 4, 5, 6, ... as needed
curl -sL https://deb.nodesource.com/setup_$v.x | sudo -E bash -
Then install the Node.js package.
sudo apt-get install -y nodejs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment