Skip to content

Install packages

Install packages

Packages (managed or not) must never be directly installed in a major org (integration, uat, preprod, production), it has to be done in dev sandbox / scratch orgs

If you can find the package id (starting by 04T), use sfdx-hardis command Install package button to install package instead of installing them directly with the URL

If you installed a package using an URL, use command Retrieve packages button to retrieve package config before creating your merge request (be careful of what you commit in .sfdx-hardis.yml file !)

Once packages are referenced in .sfdx-hardis.yml, they will automatically be installed on major orgs during CI/CD deployments