CLI reference
Build & deploy
Build packages into versioned artifacts, then deploy or install them.
| Command | Description |
|---|---|
sfpm build <packages…> -v <devhub> | Build one or more packages, in dependency order. Supports --async-validation, --skip-validation, --no-dependencies, --turbo, --json. |
sfpm build status | Check the status of async package validation watchers. |
sfpm deploy <packages…> -o <org> | Deploy packages from local source via source:deploy. |
sfpm deploy artifact <packages…> -o <org> | Deploy from previously built artifacts using source-deploy. |
sfpm install <packages…> -o <org> | Install packages (from artifacts) into a target org. |