Technical requirements
For unmanaged, unlocked, and 2GP-managed packages, there shouldn’t be any additional requirements other than your Salesforce environment – ideally either a Sandbox or a Developer Edition.
For 1GP-managed packages, you will need a separate packaging org when developing a managed package for distribution. A packaging org is a separate Salesforce org used to develop, package, and distribute managed packages.
For Salesforce ISV partners, this would typically be a Partner Developer Edition org, which has additional features and higher limits compared to a regular Developer Edition org. These are for use by Salesforce registered partners and aren’t for general everyday use by most Salesforce customers.
An example project for testing package commands is provided in the Chapter6
folder of the GitHub repository associated with this book.