Skip to main content
All CollectionsNitroPack for MagentoGetting Started
How to Uninstall NitroPack Extension for Magento
How to Uninstall NitroPack Extension for Magento
Updated over a week ago

In case you decide you don’t want to use NitroPack’s performance optimizations, follow the steps below to uninstall NitroPack for Magento:

Step 1: Put your store in Maintenance Mode

To avoid a broken page, place your webstore in Maintenance mode by running the following command:

php bin/magento maintenance:enable

Step 2: Deactivate the NitroPack extension with this command

By running the following command, you will disable the NitroPack extension for Magento:

php bin/magento module:disable NitroPack_NitroPack

You should see the following success message:


📍Please note that the files will still exist, but NitroPack’s functionality will be detached from Magento.

Step 3: Remove the extension files via Composer

First, run the following command:

php bin/magento module:uninstall NitroPack_NitroPack

Here's the success message you should see:


Afterwards, run one of these commands based on the source of your NitroPack Magento module installation:

  • If installed via Packagist:

composer remove nitropack/magento2-extension
  • If installed via Adobe Marketplace:

composer remove nitropack/nitropack-extension


If you are unsure whether the module is installed through Adobe Marketplace or Packagist, check using the following command:

composer show | grep 'nitropack'

This will display the name of module so you can tell the source. You need to use the same command.

  • If the output shows nitropack/nitropack-extension, it was installed through Adobe Marketplace.

  • If the output shows nitropack/magento2-extension, it was installed through Packagist.

Step 4: Finish the uninstallation

Run the following commands to finalize the uninstallation process:

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f

The following message indicated you’ve uninstalled the NitroPack extension successfully:


📍Please note the above commands are required for any uninstallation to set up the database, compile files, and prefetch front-end changes.

Step 5: Clean up the cache

Then, clean up the Magento cache so that the cache created from the NitroPack extension is removed.

php bin/magento cache:clean
php bin/magento cache:flush

Step 6: Disable Maintenance mode

The NitroPack extension for Magento is now successfully uninstalled. Lastly, exit Maintenance mode by running the following command:

php bin/magento maintenance:disable


📌 If you need any assistance or have questions, you can contact our Support team using the chat bubble on the bottom right of this page.

Did this answer your question?