Skip to content

Instantly share code, notes, and snippets.

@whistler
Created June 30, 2013 09:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whistler/5894586 to your computer and use it in GitHub Desktop.
Save whistler/5894586 to your computer and use it in GitHub Desktop.
This script installs nodejs, coffeescript and git on an Ubuntu machine. Configures git to use with Github and clones a repository with a node project and installs its dependencies.
# This script installs nodejs, coffeescript and git on an Ubuntu machine.
# Configures git to use with Github and clones a repository with a node
# project and installs its dependencies.
# 30 Jun 2013
# Ibrahim Muhammad
# http://ibrahimmuhammad.com
# install node prereqs
sudo apt-get install python-software-properties python g++ make
# install node
wget http://nodejs.org/dist/v0.10.12/node-v0.10.12.tar.gz
tar xzvf node-v0.10.12.tar.gz
cd node-v0.10.12/
./configure
make
sudo make install
# install coffee-script
sudo npm -g install coffee-script
# install sublime
sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get install sublime-text
# set up git
sudo apt-get install git
git config --global user.name "(github_username)"
git config --global user.email "(github_email@example.com)"
git config --global credential.helper cache
git config --global credential.helper 'cache --timeout=36000'
# get repository
git clone (repository_url)
cd (repository_name)
sudo npm install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment