install nave of npm of coffeescript
Ubuntu 11.04 Natty Narwhal に Node と npm をインストール - 自分の感受性くらい
install nave
sudo apt-get install git curl build-essential libssl-dev cd ~/src git clone https://github.com/isaacs/nave.git cd ~/bin ln -s nave ~/src/nave/nave.sh nave use latest ... node -v #=> v0.4.8
install npm
nave use latest curl http://npmjs.org/install.sh | sh ... npm -v #=> 1.0.6
install coffee-script and add path
coffee command line utility not found · Issue #1287 · jashkenas/coffeescript · GitHub
add installed coffeescript path.
edit .bashrc.
# coffee-script export COFFEE_SCRIPT_HOME=~/.npm/coffee-script/1.1.1/package export PATH=$COFFEE_SCRIPT_HOME/bin:$PATH
coffee -v #=> CoffeeScript version 1.1.1