Skip to content

Instantly share code, notes, and snippets.

Created July 21, 2011 01:14
Show Gist options
  • Save anonymous/1096306 to your computer and use it in GitHub Desktop.
Save anonymous/1096306 to your computer and use it in GitHub Desktop.
#!/bin/sh
cd /Users/mdaisuke
mkdir local
cd ./local
wget http://nodejs.org/dist/v0.5.1/node-v0.5.1.tar.gz
tar zxf ./node-v0.5.1.tar.gz
cd node-v0.5.1
./configure --prefix=/Users/mdaisuke/local/node
make
make install
echo 'export PATH=$HOME/local/node/bin:$PATH' >> ~/.bashrc''
curl http://npmjs.org/install.sh | sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment