Here are some useful magento commands that are very useful.
Check Composer is installed and show the version
composer -V
***********************************************
View your Magento version
php bin/magento --version
***********************************************
View installed modules
php bin/magento module:status
***********************************************
Disable a module
php bin/magento module:disable Magento_Weee
***********************************************
Flush Cache
php bin/magento cache:flush
***********************************************
Cache clean
php bin/magento cache:clean
***********************************************
Cache enable
php bin/magento cache:enable
***********************************************
Cache disable
php bin/magento cache:disable
***********************************************
Check index status
php bin/magento indexer:info
***********************************************
Reindex
php bin/magento indexer:reindex
***********************************************
Compile
php bin/magento setup:di:compile
***********************************************
Deploy static files
php bin/magento setup:static-content:deploy
***********************************************
Installs the Magento software
magento setup:install
Upgrade
php bin/magento setup:upgrade
Uninstall Magento
php bin/magento setup:uninstall
***********************************************
magento maintenance:{enable|disable}
***********************************************
Username
86ada6c167a7bbd9cb537263af1370d0
Password
33c0750976e7d1d9572dd314876e2760
***********************************************
No comments:
Post a Comment