Skip to content

Instantly share code, notes, and snippets.

View gferrin's full-sized avatar

Gabriel Ferrin gferrin

View GitHub Profile
@gferrin
gferrin / Fresh Ubuntu
Last active May 31, 2016 20:49
Install all necessary dependencies for node.js applications on Ubuntu
TLDR;
sudo apt-get update; curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -; sudo apt-get install -y nodejs; sudo apt-get install -y git; sudo apt-get install -y build-essential; sudo npm install -g forever coffee-script;
When launching a new ubuntu instance to run node.js applications perform the following steps.
sudo apt-get update
# install nodejs
curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -
sudo apt-get install -y nodejs