Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Install and Uninstall Second-Generation Managed Packages
Use a disposable scratch org to test your second-generation managed packages (managed
2GP). You can install or uninstall a managed 2GP package using a Salesforce CLI command, or from
the Setup page. Because you can't upgrade a beta package version, be sure you don't install it in
a sandbox that you use in your release pipeline, such as UAT or staging.