Newer Version Available

This content describes an older version of this product. View Latest

Frequently Used Packaging Operations

For a complete list of Salesforce CLI packaging commands, see: Salesforce Command Line Reference Guide.

Salesforce CLI command What it Does
force:package:create Creates a package. When you create a package, you specify its package type and name, among other things.
force:package:version:create Creates a package version.
force:package:install Installs a package version in a scratch, sandbox, or production org.
force:package:uninstall Removes a package that has been installed in an org. This process deletes the metadata and data associated with the package.
force:package:version:promote Changes the state of the package version from beta to the managed-released state.
force:org:create Creates a scratch org.
force:org:open Opens an org in the browser.