Last active
December 28, 2015 01:39
-
-
Save chris-rock/7422367 to your computer and use it in GitHub Desktop.
nodejs quick installation for ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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