I'm trying to get Composer to install on Babun locally on a Windows 10 machine but it refuses to run except when the CWD is the location of the composer.phar file. In other words, I cannot run Composer globally.
Following is my terminal
{ ~ } » alias composer="/usr/local/bin/composer.phar"
{ ~ } » ls -la /usr/local/bin/composer.phar
-rwxr-xr-x+ 1 kschr kschr 1816271 Feb 9 12:38 /usr/local/bin/composer.phar
{ ~ } » composer
Could not open input file: /usr/local/bin/composer.phar
{ ~ } » php /usr/local/bin/composer.phar
Could not open input file: /usr/local/bin/composer.phar
{ ~ } » which composer.phar
/usr/local/bin/composer.phar
{ ~ } » cd /usr/local/bin
{ bin } » php ./composer.phar
______
/ ____/___ ____ ___ ____ ____ ________ _____
/ / / __ \/ __ `__ \/ __ \/ __ \/ ___/ _ \/ ___/
/ /___/ /_/ / / / / / / /_/ / /_/ (__ ) __/ /
\____/\____/_/ /_/ /_/ .___/\____/____/\___/_/
/_/
What in the world is going on here? I'm pretty sure it's a Babun/Windows paths thing since I have no problem running Composer anywhere else, but I don't know exactly what.