An easy way to set up composer globally is to follow the instructions on getcomposer.org site:
\$ curl -s http://getcomposer.org/installer | php
\$ sudo mv composer.phar /usr/local/bin/composer
Now I can use composer by invoking just the composer command.
Optional way to do it, is to set up an alias: