So, I tried to configure MAMP and Laravel, but was stuck in getting the composer to work.
I installed MAMP and I use the command:
curl -sS https://getcomposer.org/installer | php
and I tried to run
php composer.phar
everything is working so far.
Then, when I tried to put the composer in my global path (I assume the next line does this)
mv composer.phar /usr/local/bin/composer
I get this error
mv: rename composer.phar to /usr/local/bin/composer: No such file or directory
I tried mv composer.phar /usr/local/binand also gave the same error.
Here is mine echo $PATH:
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
Any pointers to this? Oh, Mac Rookie is here.
source
share