Install Package
sf_install_packageInstall a Salesforce package version (managed or unlocked) into a target org via SF CLI. Provide package ID or alias, optional installation key, and wait time.
Instructions
Installs a package version into a target org using the SF CLI. Supports both managed and unlocked packages. Requires the package version ID (04t...) or an alias.
packageId: package version ID (04t...) or alias targetOrg: target org alias (defaults to SF_ALIAS env var) installationKey: installation key if the package version is protected wait: minutes to wait for installation to complete
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Minutes to wait for installation | |
| packageId | Yes | Package version ID (04t...) or alias to install | |
| targetOrg | No | Target org alias (defaults to SF_ALIAS env var) | |
| installationKey | No | Installation key if package is protected |