Is it required to add php bin/magento before command?
Is it required to add php bin/magento before command?
No, it not required to add prefix like
php bin/magento
or
bin/magento
before the command.
You can type commands straightforward like setup:static-content:deploy, cache:status.
Related Articles
What if product tab not showing on the frontend after add or edit?
If the product tab is not showing on the frontend after add or edit, then do reindex by run the below CLI command php bin/magento indexer:reindex product_tabs_rule
Which commands are required to run after installing the CLI command runner extension?
php bin/magento setup:upgrade php bin/magento cache:flush php bin/magento setup:static-content:deploy
Which commands are required to run after installing the Product Scheduler extension?
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy php bin/magento cache:flush
Which commands are required to run after installing the Product Inquiry & Support extension?
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy php bin/magento cache:flush
Which commands are required to run after installing the Product Labels & Badges extension?
php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy php bin/magento cache:flush