Today we discuss about Magento 2 uninstall module.This tutorial include how to uninstall or remove or delete module or extension completely from magento 2, uninstall or remove or delete magento 2 module or extension manually. So let start with our example.
Uninstall module with Command
First example will be how to delete or uninstall a module from command line. It will only work when you install a module from composer.
php bin/magento module:uninstall QaisarSatti_HelloWorld -r
php bin/magento setup:upgrade
Uninstall module manually
You can delete or uninstall module manually following below step. For example my module name is QaisarSatti_HelloWorld.
- Delete the Module folder QaisarSatti from app\code
- Remove module QaisarSatti_HelloWorld entry from setup_module table
Now run following command.
php bin/magento cache:flush
Give A Rating
Average Rating / 5. Vote Count