Magento2 useful commond for upgrade, compile, reindex, deploy, flush, cace clear and permissions



php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento indexer:reindex
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush
php bin/magento c:c
chmod -R 777 var/ pub/ generated/




Comments