Magento 2 Developement

Magento 2: How to uninstall module

You can install module in magento in two ways: via composer and manual installation. If you no longer need a certain extension you may wish to uninstall it.

If you installed it manually:

  • remove the folder app/code/<Vendor>/<Module>
  • drop module tables from database
  • remove the config settings.
  • remove the module <Vendor>_<Module> from app/etc/config.php
  • remove the module <Vendor>_<Module> from table setup_module

If you installed it via composer:

run this in console

Leave a Reply

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