Skip to content
Advertisement

I am trying to insatall PHP Composer in Mac OS 10.13.6 and facing a problem

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

1

Thanks

Advertisement

Answer

Permissions. You should run mv as root if you want to move composer to /usr/local/bin.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement