Skip to content

Instantly share code, notes, and snippets.

@lzcabrera
Created July 17, 2013 19:04
Show Gist options
  • Save lzcabrera/6023460 to your computer and use it in GitHub Desktop.
Save lzcabrera/6023460 to your computer and use it in GitHub Desktop.
Setup node.js in Ubuntu
sudo apt-get update
# Install a special package
sudo apt-get install -y python-software-properties python g++ make # Add a new repository for apt-get to search
sudo add-apt-repository ppa:chris-lea/node.js
# Update apt-get’s knowledge of which packages are where
sudo apt-get update
# Now install nodejs and npm
sudo apt-get install -y nodejs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment