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 module:enable Magediary_CommandRunner 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 Inquiry & Support extension?
php bin/magento module:enable Magediary_ProductInquiry php bin/magento setup:upgrade php bin/magento setup:di:compile 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 module:enable Magediary_ProductScheduler php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento cache:flush php bin/magento setup:static-content:deploy
Which commands are required to run after installing the Extra Order & Product Fees extension?
php bin/magento module:enable Magediary_ExtraFees php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento cache:flush php bin/magento setup:static-content:deploy