E-commerce · 2 min read
How to enable/disable a module in Magento 2
Magento is a CMS with numerous integration modules that sometimes may not be useful to us, so we need to disable them, even just to test and understand whether a problem might depend on a specific module.
To disable a module from the console, we need to run the following command:
php bin/magento module:disabled nome_moduloTo enable a module from the console, we need to run the following command:
php bin/magento module:enabled nome_moduloTo check the status of a module from the console, we need to run the following command:
php bin/magento module:status nome_moduloThe following command, instead, shows the status of all modules:
php bin/magento module:status