In this post, I’m sharing the most common commends that uses in Magento eCommerce website.

cache Clean
php bin/magento cache:clean
php bin/magento cache:flush

Upgrade
composer require
php bin/magento setup:upgrade

Compile
php bin/magento setup:di:compile
php -d memory_limit=-1 bin/magento setup:di:compile
deploy
php bin/magento setup:static-content:deploy
php -d memory_limit=-1 bin/magento setup:static-content:deploy -f
php bin/magento setup:static-content:deploy --theme Magento/backend --theme Vendor/mytheme

Reindex
php bin/magento indexer:reindex

Permission:
chmod -R 0777 var/ pub/ generated/ app/etc

Leave a Reply