Monday, February 28, 2011

Installing NodeJS from source on Snow Leopard


git clone https://github.com/joyent/node.git
cd node

mkdir ~/local
./configure --prefix=$HOME/local/node
make
make install
export PATH=$HOME/local/node/bin:$PATH


Now if you open a new terminal window

node --version

you should see the new version number.

No comments:

Post a Comment