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.
Set Up Your Development Environment
You use these tools for managed 2GP package development.
- Salesforce CLI, a rich set of commands to execute different packaging operations like package creation and package install
- A source control system of your choosing
- A Dev Hub org
- Salesforce Extension for Visual Studio Code (optional), an IDE designed to facilitate the development of Salesforce components
Use the Dev Hub to Keep Track of Package Development
Your Dev Hub is the designated place to find and manage all your managed 2GP packages, scratch orgs, and namespaces. After you enable the Dev Hub setting on a Salesforce org, that Dev Hub becomes the owner of every managed 2GP package you create.
All Salesforce ISV and OEM partners should designate their Partner Business Org as their Dev Hub org. A Partner Business Org (PBO) is the production org where Salesforce Partners run their business.