Skip to content

Instantly share code, notes, and snippets.

View jollytoad's full-sized avatar

Mark Gibson jollytoad

View GitHub Profile
@TooTallNate
TooTallNate / install-nodejs.sh
Created August 7, 2012 18:55
Simple Node.js installation script using the precompiled binary tarballs
#!/bin/sh
VERSION=0.8.6
PLATFORM=darwin
ARCH=x64
PREFIX="$HOME/node-v$VERSION-$PLATFORM-$ARCH"
mkdir -p "$PREFIX" && \
curl http://nodejs.org/dist/v$VERSION/node-v$VERSION-$PLATFORM-$ARCH.tar.gz \
| tar xzvf - --strip-components=1 -C "$PREFIX"