Push a Package Upgrade for Unlocked Packages
Push upgrades enable you to upgrade packages installed in orgs, without asking org
admins to install the upgrade themselves. You can choose which orgs receive a push upgrade, what
version the package is upgraded to, and when you want the upgrade to occur. Push upgrades are
particularly helpful if you need to push a change for a hot bug fix.
Use Salesforce CLI or SOAP API to initiate the push upgrade, track the status of each job, and review error messages if any push upgrades fail.
The CLI push upgrade commands are available to second-generation managed packages and unlocked packages. For unlocked packages, push upgrades are enabled by default.
Package Type | Push Upgrade using CLI? | Push Upgrade using API? | Push Upgrade using UI? |
---|---|---|---|
2GP | Yes | Yes | No |
1GP | No | Yes | Yes |
Unlocked | Yes | Yes | No |