Skip to content

installPackageVersion

installPackageVersion(options): Promise<InstallPackageVersionResult>

Defined in: simply-package-core/src/packageVersionInstall.ts:64

Installs one package version into an org, non-interactively: what sf package install --package <id> --no-prompt --wait <wait> does. Remote site settings the package declares are approved, as --no-prompt approves them.

InstallPackageVersionOptions

Promise<InstallPackageVersionResult>

ApiVersionTooLowError if the org’s API version is below 36.0.

PackageInstallError if the install finished with an error, listing each one.