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
How about this one?
alias composer='php c:\\your\\path\\to\\composer.phar'
source ~/.bashrc
Works for me using both Cygwin's native php.exe and XAMPP's Windows-specific one.