Enable Unlocked Packaging
Enable packaging in your org so you can develop unlocked packages. You can work with the
packages in scratch orgs and sandboxes.
Before you begin, enable Dev Hub in your org.
- Log in to the org where you’ve enabled Dev Hub.
- From Setup, enter Dev Hub in the Quick Find box and select Dev Hub.
-
Select Enable Unlocked Packages and Second-Generation Managed
Packages.
After you enable this setting, you can’t disable it.
To get started with creating unlocked packages, see Unlocked Packages. For information on
second-generation managed packages, see the Second-Generation Managed Packages Developer
Guide.