i am trying to install PHP Composer in my Mac os 10.13.6 with terminal . But when i run that command => mv composer.phar /usr/local/bin/composer it does not compile and gives me this message => mv: rename composer.phar to /usr/local/bin/composer: Permission denied. Can somebody help me where am i wrong to install PHP composer ?
You can see the screenshot
Thanks
Advertisement
Answer
Permissions. You should run mv
as root if you want to move composer
to /usr/local/bin
.