Skip to content

Instantly share code, notes, and snippets.

@johnknott
Created November 2, 2011 13:47
Show Gist options
  • Save johnknott/1333666 to your computer and use it in GitHub Desktop.
Save johnknott/1333666 to your computer and use it in GitHub Desktop.
Node/NPM
#!/bin/sh
mkdir ~/local
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.zshrc
. ~/.zshrc
git clone git://github.com/joyent/node.git
cd node
./configure --prefix=~/local
make install
cd ..
git clone git://github.com/isaacs/npm.git
cd npm
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment