Mac OSX Composer Could not open input file: /Users//composer.phar

July 1, 2020

To most of the people who want to install composer on OSX, usually, the below command is sufficient: $ curl -sS | php $ mv composer.phar /usr/local/bin/composer $ alias composer=’/usr/local/bin/composer.phar’ However, it could still happen to have error of “Could not open input file: /Users/kayliongmac11air/composer.phar“ This is due to shell environment didn’t refresh. To fix this […]