When you’re ready to test or share your package, use the sf package create command to create a package.
If you are using a namespace, specify the package namespace in the sfdx-project.json file. To learn more, see Understanding Namespaces.
To create the package, change to the project directory. The name becomes the package alias, which is automatically added to the project file. You can choose to designate an active Dev Hub org user to receive email notifications for Apex gacks, and install, upgrade, or uninstall failures associated with your packages.
1sfdx-project.json has been updated.2Successfully created a package. 0HoB00000004CzHKAU3=== Ids4NAME VALUE5────────── ──────────────────6Package Id 0HoB00000004CzHKAU
Metadata Limits in Unlocked Packages
Metadata in package
Limit
Number of Metadata Files
10,000 files
Total Metadata File Size
600 MB
Update the Package
To update the name, description, or the user to receive error notifications of an existing package, use this command.