Last active
June 15, 2018 17:51
-
-
Save lukeaus/bea183f8e3ea39993eed7911911ab1f1 to your computer and use it in GitHub Desktop.
Install nodejs and npm on Ubuntu 14.04
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 packages to allow Node to be installed | |
sudo apt-get update | |
sudo apt-get install software-properties-common | |
sudo apt-get install apt-transport-https | |
# Install Node | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 68576280 | |
# change /node_6.x to whatever release version of node you would like (e.g. node_5.x) | |
sudo apt-add-repository "deb https://deb.nodesource.com/node_6.x $(lsb_release -sc) main" | |
# Update again for the latest packages | |
sudo apt-get update | |
# Install Node | |
sudo apt-get install nodejs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment