Newer Version Available
Know Your Orgs
Some of the orgs that you use with second-generation managed packaging have a unique
purpose.
Choose Your Dev Hub Org
Use the Dev Hub org for these purposes.
- As owner of all second-generation managed packages
- To link your namespaces
- To authorize and run your force:package commands
Namespace Org
The primary purpose of the namespace org is to acquire a package namespace. If you want to use the namespace strictly for testing, choose a disposable namespace.
After you create a namespace org and specify the namespace in it, open the Dev Hub org and link the namespace org to the Dev Hub org.
Other Orgs
When you work with packages, you also use these orgs:
- You can create scratch orgs on the fly to use while testing your packages.
- The target or installation org is where you install the package.