Salesforce DX Developer Guide
Summer '26 (API version 67.0)
Spring '26 (API version 66.0)
Winter '26 (API version 65.0)
Summer '25 (API version 64.0)
Spring '25 (API version 63.0)
Winter '25 (API version 62.0)
Summer '24 (API version 61.0)
Spring '24 (API version 60.0)
Winter '24 (API version 59.0)
Summer '23 (API version 58.0)
Spring '23 (API version 57.0)
Winter '23 (API version 56.0)
Summer '22 (API version 55.0)
Spring '22 (API version 54.0)
Winter '22 (API version 53.0)
Summer '21 (API version 52.0)
Spring '21 (API version 51.0)
Winter '21 (API version 50.0)
Summer '20 (API version 49.0)
Spring '20 (API version 48.0)
Winter '20 (API version 47.0)
Summer '19 (API version 46.0)
Spring '19 (API version 45.0)
Winter '19 (API version 44.0)
Summer '18 (API version 43.0)
Spring '18 (API version 42.0)
Winter '18 (API version 41.0)
Summer '17 (API version 40.0)
Second-Generation Packaging
Workflow for Second-Generation Packages
User Profiles for Installed Packages
Install Packages with the CLI
Install Packages With Salesforce in a Browser
Upgrade a Package Version
Uninstall a Package
Limitations for Salesforce DX
Newer Version Available
Install a Package
Install second-generation packages using the CLI or the Salesforce browser. You can
install package versions in a scratch org, sandbox org, DE org, or production org, depending on
the package type.
-
User Profiles for Installed Packages
When you install a package with the CLI, the system admin is given full access to all the metadata contained in the package as long as the Admin profile has permissions to access that metadata. This profile is similar to the Install for Admins Only option that you can use to install managed packages from a browser. -
Install Packages with the CLI
If you’re working with the Salesforce CLI, you can use the force:package:install command to install packages in a scratch org or target subscriber org. -
Install Packages With Salesforce in a Browser
You can install second-generation packages in the same way that you install first-generation managed packages. -
Upgrade a Package Version
Are you introducing metadata changes to an existing package? You can use the CLI to upgrade one package version to another.