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