Last active
June 11, 2017 09:35
-
-
Save arangates/64e66d1c5c9657786f7ca46957ab71eb to your computer and use it in GitHub Desktop.
Nodejs installation ubuntu
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
Node- V6 : | |
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - | |
sudo apt-get install -y nodejs | |
node -v | |
Node- V5 : | |
curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash - | |
sudo apt-get install -y nodejs | |
node -v | |
Node- V4 | |
: | |
curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - | |
echo 'deb https://deb.nodesource.com/node_4.x trusty main' > /etc/apt/sources.list.d/nodesource.list | |
echo 'deb-src https://deb.nodesource.com/node_4.x trusty main' >> /etc/apt/sources.list.d/nodesource.list | |
apt-get update | |
sudo apt-get install -y nodejs | |
node -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment