Skip to content

Instantly share code, notes, and snippets.

@gferrin
Last active May 31, 2016 20:49
Show Gist options
  • Save gferrin/ecd12d9eb1c60b12725c to your computer and use it in GitHub Desktop.
Save gferrin/ecd12d9eb1c60b12725c to your computer and use it in GitHub Desktop.
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
# install git
sudo apt-get install -y git
# install make
sudo apt-get install -y build-essential
# npm packages
sudo npm install -g forever coffee-script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment