Skip to content

Instantly share code, notes, and snippets.

@dpritchett
Created September 17, 2010 20:32
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 dpritchett/584906 to your computer and use it in GitHub Desktop.
Save dpritchett/584906 to your computer and use it in GitHub Desktop.
#!/bin/bash
#patch ubuntu
sudo apt-get update -y
sudo apt-get install -y build-essential git-core --fix-missing
#install node.js
wget http://nodejs.org/dist/node-v0.2.2.tar.gz
gunzip node-v0.2.2.tar.gz | tar -xvf
tar -xvf node-v0.2.2.tar
cd node-v0.2.2
sudo chown -R $USER /usr/local
./configure
make && make install
cd ~
rm node-v0.2.2.tar
#install node package manager
curl http://npmjs.org/install.sh | sh
#install coffeescript and run a coffee test app
npm install coffee-script
git clone git://gist.github.com/584584.git
coffee ./584584/gistfile1.coffee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment