Newer Version Available

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

Update the CLI Binary and Plug-In

The CLI consists of the CLI binary along with the Salesforce DX plug-in. We sometimes update both the CLI binary and the Salesforce DX plug-in, but other times we update just the plug-in.

To explicitly update the CLI binary and the Salesforce DX plug-in, run:

1sfdx update

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

1export SFDX_AUTOUPDATE_DISABLE=true