Skip to content

Instantly share code, notes, and snippets.

@MattMcFarland
Last active August 29, 2015 14:18
Show Gist options
  • Save MattMcFarland/c892d1057f70495c89c1 to your computer and use it in GitHub Desktop.
Save MattMcFarland/c892d1057f70495c89c1 to your computer and use it in GitHub Desktop.
No fuss, just get latest nodejs installed on ubuntu 14.04 damnit

No fuss, no Muss.

Everytime I set up a new ubuntu 14.04 server and I want nodejs globally installed I have to go hunting.

So this just fixes everything.

# hope you ran with sudo

sudo apt-get update
sudo apt-get install curl -y

# gets the nodesource repo so you can easily install latest version
curl -sL https://deb.nodesource.com/setup | sudo bash -

# Install that nodejs
sudo apt-get install nodejs build-essential

# Finally.. 
node -v
npm -v
# hope you ran with sudo
sudo apt-get update
sudo apt-get install curl -y
# gets the nodesource repo so you can easily install latest version
curl -sL https://deb.nodesource.com/setup | sudo bash -
# Install that nodejs
sudo apt-get install nodejs build-essential
# Finally..
node -v
npm -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment