How Can I Disable All Magento 2 Extensions

I would like to disable all extensions, what is the simplest way for Magento 2

You can use one command line to disabled all Magento 2 extensions or custom modules

php bin/magento module:status | grep -v Magento | grep -v List | grep -v None | grep -v -e ‘^$’| xargs php bin/magento module:disable

Enable all extensions or modules

php bin/magento module:status | grep -v Magento | grep -v List | grep -v None | grep -v -e ‘^$’| xargs php bin/magento module:enable

Leave a Reply

avatar
  Subscribe  
Notify of