You are here:
(Optional) Install Salesforce CLI DevOps Center Plugin (Beta)
Install the Salesforce CLI DevOps Center plugin to perform DevOps Center actions on the command line for developers who plan to work outside of DevOps Center or want to automate tasks. We plan to roll out new commands over time. The first set of commands support the ability to deploy changes to a pipeline environment and perform a validate-only deployment.
The DevOps Center CLI plugin is compatible with DevOps Center package version 6.0 or later. Salesforce CLI releases on a weekly basis. See the Salesforce CLI Release Notes for information on the timing for the official release of the DevOps Center plugin.
To use the DevOps Center CLI commands, you must:
- Be assigned the DevOps Center Release Manager permission set. This permission set enables you to perform promotions. See Assign the DevOps Center Permission Sets for details.
- Authorize the org in which DevOps Center is installed. The easiest way to authorize an org
is with the
org login webcommand. See Authorization in the Salesforce DX Developer Guide for details.
To install and configure Salesforce CLI, see Salesforce CLI Setup Guide. After you install Salesforce CLI, the DevOps Center plugin is installed the first time you run a DevOps Center CLI command. If you already have the CLI installed or want to proactively install the plugin, run this command:
sf plugins install @salesforce/plugin-devops-center

