Skip to content

Instantly share code, notes, and snippets.

@danro
Forked from gasi/README.md
Created November 4, 2011 01:48
Show Gist options
  • Save danro/1338482 to your computer and use it in GitHub Desktop.
Save danro/1338482 to your computer and use it in GitHub Desktop.
Node & npm Installation Instructions

Node

Installation

git clone https://github.com/joyent/node.git
cd node/
git checkout v0.4.5 # or any other version you'd like
./configure --debug
make install

npm

Installation

which node  # should be /usr/local/bin/node
curl http://npmjs.org/install.sh | sh

# or, for 1.0rc, until it goes live at the end of this month
# curl http://npmjs.org/install.sh | npm_install=rc sh

# give yourself access to /usr/local
sudo chown -R $USER /usr/local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment