Created
February 1, 2016 10:17
-
-
Save niraj-shah/88c70432b75d977f38a4 to your computer and use it in GitHub Desktop.
Commands to Install NodeJS 4.x / 5.x and build tools
This file contains hidden or 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
# 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