Skip to content

hardis📦install

Description

Install a package in an org using its id (starting with 04t)

Assisted menu to propose to update installedPackages property in .sfdx-hardis.yml

Agent Mode

Use --agent to disable all interactive prompts. Required flags in agent mode:

  • --package: Package Version Id to install (starting with 04t). Required.
  • --installationkey: Optional installation key for the package.

All interactive package selection prompts are skipped. The managePackageConfig step is also skipped.

Parameters

Name Type Description Default Required Options
agent boolean Run in non-interactive mode for agents and automation
debug
-d
boolean Activate debug mode (more logs)
flags-dir option undefined
installationkey
-k
option installation key for key-protected package (default: null)
json boolean Format output as json.
package
-p
option Package Version Id to install (04t...)
skipauth boolean Skip authentication check when a default username is required
target-org
-o
option undefined
websocket option Websocket host:port for VsCode SFDX Hardis UI integration

Examples

$ sf hardis:package:install
$ sf hardis:package:install --agent --package 04t...