sfdx force:package:create

Create a package

Options

NameDescription
--jsonFormat output as json
--loglevel <loglevel>Logging level for this command invocation
-v, --targetdevhubusername <targetdevhubusername>Username or alias for the dev hub org; overrides default dev hub org
--apiversion <apiversion>Override the api version used for api requests made by this command
-n, --name <name>Package name
-t, --packagetype <packagetype>Package type
-d, --description <description>Package description
-e, --nonamespaceCreates the package with no namespace; available only for unlocked packages
-r, --path <path>Path to directory that contains the contents of the package
--orgdependentDepends on unpackaged metadata in the installation org. Applies to unlocked packages only
-o, --errornotificationusername <errornotificationusername>Active Dev Hub user designated to receive email notifications for package errors