I am running a Magento 2 website on my mac locally.

My problem is that I'm having problems with my mac setup ad i'm not about to run:

php bin/magento setup:upgrade

from my terminal.

My question is...I there's any other way to do the same as: php bin/magento setup:upgrade or php bin/magento setup:static-content:deploy without using the Terminal?

  • is it throws any error while run setup command? Commented Sep 9, 2016 at 4:18
  • Check for PHP path & give inputs regarding error message
    – Jackson
    Commented Sep 9, 2016 at 6:31
  • Do you use MAMP?
    – KAndy
    Commented Sep 9, 2016 at 7:26

1 Answer 1


Looks like you install a custom version of PHP in your local environment (MAMP?). In this case, you need use full path to PHP executable to run Magento cli.

For example for MAMP I use /Applications/MAMP/bin/php/php7.0.10/bin/php bin/magento


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.