Skip to content

Instantly share code, notes, and snippets.

@pvilas
Last active August 29, 2015 14:02
Show Gist options
  • Save pvilas/10cc0b189910b6a906c8 to your computer and use it in GitHub Desktop.
Save pvilas/10cc0b189910b6a906c8 to your computer and use it in GitHub Desktop.
Install node on ubuntu 12
sudo apt-get install python-software-properties
sudo apt-add-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs
# check node version
node -v
# check npm version
npm -v
# ifnpm is not installed try sudo apt-get install npm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment