Skip to content

Instantly share code, notes, and snippets.

@chris-rock
Last active December 28, 2015 01:39
Show Gist options
  • Save chris-rock/7422367 to your computer and use it in GitHub Desktop.
Save chris-rock/7422367 to your computer and use it in GitHub Desktop.
nodejs quick installation for ubuntu
# run via
# curl https://gist.github.com/chris-rock/7422367/raw/5e55945ec3c0fa16d87d987a8381246307bc1ce7/nodejs.sh | sudo bash
echo "install preconditions"
apt-get update
apt-get install -y python-software-properties python g++ make
# for ubuntu quantal
apt-get install -y software-properties-common
echo "install ppa"
add-apt-repository -y ppa:chris-lea/node.js
apt-get update
echo "install nodejs"
apt-get install -y nodejs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment