Skip to content

Instantly share code, notes, and snippets.

@nimbus154
Created March 14, 2014 19:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nimbus154/9554869 to your computer and use it in GitHub Desktop.
Save nimbus154/9554869 to your computer and use it in GitHub Desktop.
Simple Node.js setup
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