How to Uninstall NitroPack Extension for Magento

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

Run the following commands to remove the NitroPack extension files:

php bin/magento module:uninstall NitroPack_NitroPack

Here's the success message you should see after running the first command:


composer remove nitropack/magento2-extension

And after the second command:


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


Please remember, regardless of the issue or question you might be facing, our technical experts are available 24/7 and try to review tickets in 20 minutes or less.

Feel free to reach out at or use our Help Center form to submit a ticket and resolve any issue quickly.

Was this article helpful?
0 out of 0 found this helpful



Article is closed for comments.