Created
March 14, 2014 19:21
-
-
Save nimbus154/9554869 to your computer and use it in GitHub Desktop.
Simple Node.js setup
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
apt-get -y install wget | |
cd /tmp | |
wget http://nodejs.org/dist/v0.10.22/node-v0.10.22-linux-x64.tar.gz | |
tar -zxf node-v0.10.22-linux-x64.tar.gz | |
rm node-v0.10.22-linux-x64.tar.gz | |
mkdir /usr/local/node | |
mv node-v0.10.22-linux-x64 /usr/local/node/0.10.22 | |
ln -s /usr/local/node/0.10.22/bin/node /usr/local/bin/node | |
ln -s /usr/local/node/0.10.22/bin/npm /usr/local/bin/npm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment