X
    Categories: Knowledgebase

How to enable or disable modules in magento2

You can always use CLI command for managing modules.

Disable module:

$ bin/magento module:disable Vendor_ModuleName

Enable module:

$ bin/magento module:enable Vendor_ModuleName

And you can check status of all modules:

$ bin/magento module:status

It is useful to build a habit of controlling your installation via bin/magento. Also it will help to avoid any new features introduced for module commands.

Hope it helps !

Kien Wiliam: Magento Ecommerce Developer