Friday, May 12, 2017

Most used command line in Magento 2


  1. Install module and upgrade module: php bin/magento setup:upgrade
  2. Switch to the developer mode or production mode: php bin/magento deploy:mode:set developer (or production)
  3. Show current mode: php bin/magento deploy:mode:show
  4. Deploy static content: php bin/magento setup:static-content:deploy
  5. Di compile: php bin/magento setup:di:compile
  6. Reindex: php bin/magento indexer:reindex
  7. Flush magento cache: php bin/magento cache:flush

No comments:

Post a Comment