Created
April 11, 2015 21:07
-
-
Save ryanwitt/7153af9043a6dbe69782 to your computer and use it in GitHub Desktop.
Node.js install script for LInux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
VERSION=0.12.2 | |
PLATFORM=linux | |
ARCH=x64 | |
PREFIX=/usr/local | |
mkdir -p "$PREFIX" && \ | |
curl http://nodejs.org/dist/v$VERSION/node-v$VERSION-$PLATFORM-$ARCH.tar.gz \ | |
| tar xzvf - --strip-components=1 -C "$PREFIX" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment