Commands to install a new module:
1 |
$ php bin/magento setup:upgrade |
Command to update css, js and static content deployment:
1 |
$ php bin/magento setup:static-content:deploy -f |
Command to clear or flush cache:
1 2 |
$ php bin/magento cache:clear $ php bin/magento cache:flush |
Command to enable or desable module:
1 2 |
$ php bin/magento module:enable module_name $ php bin/magento module:disable module_name |
Command to show current mode:
1 2 |
$ php bin/magento deploy:mode:show |
Command to set deploy mode:
1 |
$ php bin/magento deploy:mode:set |
Indexing Commands:
1 2 3 4 5 6 7 8 |
$ php bin/magento indexer:info $ php bin/magento indexer:reindex $ php bin/magento indexer:reset $ php bin/magento indexer:set-dimensions-mode $ php bin/magento indexer:set-mode $ php bin/magento indexer:show-dimensions-mode $ php bin/magento indexer:show-mode $ php bin/magento indexer:status |
For rest of command you can hit below command and it will list you all commands.
1 |
$ php bin/magento |
Welcome to our blog!