CoffeeScript を使える環境を作ったメモ

FreeBSD

% sudo portinstall www/node
% npm install -g coffee-script

OS X

# homebrew を入れて
% /usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"
# node.js をインストールして
% brew install node
# npm を入れてから
% curl http://npmjs.org/install.sh | sh
% npm install -g coffee-script

OS X では、MacPorts から Homebrew に移行してみた。