Starting with node v0.8.6, we're gonna be releasing official binary tarballs of the releases for the most common platform+architecture combos.
Here's a simple script that will install node using a simple curl | tar
piping. By default the files will get installed into /usr/local
(note: you may need to stick sudo
in front of the tar
command). Change the PREFIX variable to /usr/local
if you're feeling ambitious.
#!/bin/sh
VERSION=0.8.6
PLATFORM=darwin
ARCH=x64
PREFIX="$HOME/node-v$VERSION-$PLATFORM-$ARCH"
curl http://nodejs.org/dist/v$VERSION/node-v$VERSION-$PLATFORM-$ARCH.tar.gz | tar xzvf - --strip-components=1 -C $PREFIX