Blog Details

How to enable module in Magento 2

  • Admin
  • 0 Comments

To enable module in Magento you can use following command

 
$ php bin/magento module:enable <your_module_name>

For Example –

$ php bin/magento module:enable Magento_TwoFactorAuth

You can see following screen

Then run following commands to update the database & clear the cache

$ php bin/magento cache:flush && php bin/magento setup:upgrade 
And you have successfully enabled the module. 😉

Leave a Reply

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