Skip to content

Instantly share code, notes, and snippets.

@synaptiko
Last active December 11, 2015 16:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save synaptiko/4626386 to your computer and use it in GitHub Desktop.
Save synaptiko/4626386 to your computer and use it in GitHub Desktop.
#!/bin/bash
DATE=`date +"%Y%m%d%H%M%S"`
INSTALL_DIR=node_${DATE}
mkdir $INSTALL_DIR
cd $INSTALL_DIR
curl http://nodejs.org/dist/node-latest.tar.gz | tar xzv --strip-components=1
export JOBS=2
./configure
make
make install
node -v
cd ..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment