Installing composer on Mac OS X

curl -sS https://getcomposer.org/installer | php
sudo mv composer.phar /opt/local/bin/composer