# install (old) nodejs package and npm
$ sudo apt-get install nodejs npm
# install coffee-script (globally)
$ sudo npm install -g coffee-script
square = (x) -> x * x
console.log square 5
coffee -c test.coffee # produces test.js
coffee -cw test.coffee # same but watches the file
coffee test.coffee --nodejs # runs it automatically through nodejs
...