Skip to content

Instantly share code, notes, and snippets.

@caefer
Created August 17, 2011 18:20
Show Gist options
  • Select an option

  • Save caefer/1152226 to your computer and use it in GitHub Desktop.

Select an option

Save caefer/1152226 to your computer and use it in GitHub Desktop.
git clone --depth 1 git://github.com/joyent/node.git
cd node
git checkout v0.4.10
export JOBS=2
./configure
make
make install
echo 'export PATH=/usr/local/node/bin:$PATH' >> ~/.bash_profile
echo 'export NODE_PATH=/usr/local:/usr/local/lib/node_modules' >> ~/.bash_profile
source ~/.bash_profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment