Composer doesn\'t run correctly in Cygwin if you try to install it \"globally\".
Putting composer.phar into /usr/local/bin/composer, then trying to run it will result in
I think what might work is to build a proxy instead:
Create a bash proxy as /usr/local/bin/composer with the following:
#!/bin/sh c:/path/to/php c:/path/to/composer.phar $@
chmod +x /usr/local/bin/composer