Last active
August 29, 2015 14:00
-
-
Save khankuan/11374276 to your computer and use it in GitHub Desktop.
Linux AMI install node
This file contains 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
cd /usr/local/share/ | |
sudo wget http://nodejs.org/dist/v0.10.26/node-v0.10.26-linux-x64.tar.gz | |
sudo tar xvf node-v0.10.26-linux-x64.tar.gz | |
sudo rm -rf node-v0.10.26-linux-x64.tar.gz | |
sudo ln -s /usr/local/share/node-v0.10.26-linux-x64/bin/node /usr/local/share/node | |
sudo ln -s /usr/local/share/node-v0.10.26-linux-x64/bin/node /usr/local/bin/node | |
sudo ln -s /usr/local/share/node-v0.10.26-linux-x64/bin/node /usr/bin/node | |
curl https://www.npmjs.org/install.sh | sudo sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment