Newer Version Available
Uninstall a Package
You can uninstall a package from a subscriber org using Salesforce CLI or from the
Setup UI. When you uninstall unlocked packages, all components in the package are deleted from
the org.
To use the CLI to uninstall a package from the target org, authorize the Dev Hub org and run
this
command.
You can also uninstall a package from the web browser. Open the Salesforce org where you
installed the
package.
Then
uninstall the package.
- From Setup, enter Installed Packages in the Quick Find box, then select Installed Packages.
- Click Uninstall next to the package that you want to remove.
- Select Yes, I want to uninstall and click Uninstall.
- After an uninstall, Salesforce automatically creates an export file containing the package data, associated notes, and any attachments. When the uninstall is complete, Salesforce sends an email containing a link to the export file to the user performing the uninstall. The export file and related notes and attachments are listed below the list of installed packages. We recommend storing the file elsewhere because it’s available for only two days after the uninstall completes, then it's deleted from the server.