Technical Context: Composer 1.0-dev, PHP 5.5.27, OS X Yosemite
$ cd ~ $ curl -sS https://getcomposer.org/installer | php
This will create a
composer.phar PHP archive as well as a
.composer directory. To keep things cleaner, I move
$ mv ~/composer.phar ~/.composer
Then, simply alias
php ~/.composer/composer.phar to
composer by adding some variation of the following to your shell config (e.g.
$ alias composer="php ~/.composer/composer.phar"