Skip to content

Instantly share code, notes, and snippets.

@niraj-shah
Created February 1, 2016 10:17
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 niraj-shah/88c70432b75d977f38a4 to your computer and use it in GitHub Desktop.
Save niraj-shah/88c70432b75d977f38a4 to your computer and use it in GitHub Desktop.
Commands to Install NodeJS 4.x / 5.x and build tools
# Install NodeJS 4.x
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt-get install -y nodejs
# Install NodeJS 5.x
curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -
sudo apt-get install -y nodejs
# Optional - Needed to compile and install native add-ons
sudo apt-get install -y build-essential
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment