Newer Version Available

This content describes an older version of this product. View Latest

CLI and Plug-In Versions

Salesforce supports only the most current versions of the Salesforce CLI and the salesforcedx plug-in.

To upgrade to the current version, run sfdx update.

By default, the CLI periodically checks for and installs updates. To disable auto-update, set the SFDX_AUTOUPDATE_DISABLE environment variable to true.

To check the version of the Salesforce CLI installed on your computer, run sfdx version. To check the version of the installed salesforcedx plug-in, run sfdx plugins --core.

Salesforce collects usage data and metrics (telemetry) to help improve Salesforce CLI. We collect anonymous information related to the use of the CLI and plug-ins, such as which commands and parameters were run, and performance and error data. We automatically enable telemetry when you use the CLI.