1. Home
  2. Docs
  3. FAQs
  4. How to uninstall a Magento Extension?
  5. How to uninstall Magento 2 extension via SSH?

How to uninstall Magento 2 extension via SSH?

Here’s our steps to uninstall this module:

Step 1: Connect via SSH to your magneto installation and execute below commands:

php bin/magento module:disable <ExtensionProvider_ExtensionName> –clear-static-content php bin/magento setup:upgrade

Step 2: Remove extension files:

cd app/code/<ExtensionProvider>/ rm -rf <ExtensionName>

* Note: If you are using more extensions from the same provider make sure not to remove the shared extension, most providers use a shared extension or dependency pack as a base for all their extensions.

Was this article helpful to you? Yes No 1

How can we help?