Skip to content

Instantly share code, notes, and snippets.

@gourneau
Forked from isaacs/node-and-npm-in-30-seconds.sh
Created January 15, 2011 03:11
Show Gist options
  • Save gourneau/780656 to your computer and use it in GitHub Desktop.
Save gourneau/780656 to your computer and use it in GitHub Desktop.
# this way is best if you want to stay up to date
# or submit patches to node or npm
mkdir ~/local
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.profile
# could also fork, and then clone your own fork instead of ry's
git clone git://github.com/ry/node.git
cd node
./configure --prefix=~/local
make install
cd ..
git clone git://github.com/isaacs/npm.git
cd npm
make install # or `make link` for bleeding edge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment