How to check which Magento 2 mode is used in your store?

Show current Magento 2 ModeHow to check which Magento 2 mode is used in your store?

This command line is used to check the current Magento 2 Mode.

php bin/magento deploy:mode:show

Set Magento 2 Developer Mode:

Run the below command:

php bin/magento deploy:mode:set developer

Set Magento 2 Production Mode:

Run the below command:

php bin/magento deploy:mode:set production

I think this blog is useful for you. 


How to check which Magento 2 mode is used in your store?expoundsofttechsolution g