Newer Version Available
Install the Salesforce CLI
Use the CLI commands to create environments for development and testing, synchronize
source code between your scratch orgs and version control system, and execute test suites.
Installation Options
By default, the latest version of the Salesforce CLI and salesforcedx plug-in is installed. When you run a command, the Salesforce CLI checks to see if you have the latest version. If not, the CLI automatically updates itself and the salesforcedx plug-in. Sometimes, you’ll want to use a specific version of the salesforcedx plug-in, or remain on the current version.
To install a specific version of the Salesforce CLI, in this example, version
41.3.0:
1sfdx plugins:install salesforcedx@41.3.0To remain on the current version of the CLI, set this environment
variable:
1export SFDX_AUTOUPDATE_DISABLE=true