i need to run php bin magento for a theme set up but give me a err
bin/magento must be run as a CLI applicationbash-3.2$
bash-3.2$ php bin/magento setup:upgrade
It is possible that your PHP CLI has another name. I.e: php-cli.
In that case you will need to execute the command with:
php-cli bin/magento setup:upgrade
You'll need to find the name of PHP CLI on your server.