Skip to content

Instantly share code, notes, and snippets.

@jose8a
Created March 1, 2016 22:56
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 jose8a/f5fee4c19254b93865d5 to your computer and use it in GitHub Desktop.
Save jose8a/f5fee4c19254b93865d5 to your computer and use it in GitHub Desktop.
#!/bin/bash
# instructions mostly from Digital Ocean tutorial
# https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-an-ubuntu-14-04-server
# Update linux box
sudo apt-get update
# get and install the latest distro-stable version of nodejs
sudo apt-get install nodejs
# NPM - install latest distro-stable versions
sudo apt-get install npm
# ------------- Install via NVM
# Alternative method to install latest (non-distro-stable) using nvm
# https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-an-ubuntu-14-04-server/#how-to-install-using-nvm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment