Set Up Your Development Environment
Second-generation managed packaging uses Salesforce DX developer tools. Ensure that you
have the required tools and orgs installed and enabled.
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.