Magento 2 useful commands

Enter Magento 2 folder

cd /home/username/public_html/

Reindex

php bin/magento indexer:reindex

Flush Cache

php bin/magento cache:flush

Magento version

php bin/magento --version

Disable a module

php bin/magento module:disable Magento_SOMEMODULE

Uninstall Magento

php bin/magento setup:uninstall

To get modules list:

php bin/magento module:status

 

 

Source: https://www.measureddesigns.com/magento-2-useful-commands/

Similar Posts:

Leave a Reply

Your email address will not be published. Required fields are marked *