Newer Version Available
Update the CLI
If You Installed the Salesforce CLI Using the Installer
1sfdx update
2sfdx-cli: Updating CLI from 6.0.0-0743bea5 to 6.0.0-aebbfd66 (alpha)... done
3sfdx-cli: Updating CLI... already on latest version: 6.0.0-aebbfd66
4sfdx-cli: Updating plugins... doneBy default, the CLI periodically checks for and installs updates. To disable auto-update, set the SFDX_AUTOUPDATE_DISABLE environment variable to true.
If You Installed the Salesforce CLI Using npm
1npm install --global sfdx-cliWindows: Improve CLI Update Speed
Anti-virus software, such as Windows Defender, slows a CLI update because it scans all the files as they are downloaded. To improve the update speed, add the %LOCALAPPDATA%\sfdx directory to the list of directories that are excluded from the scan. We recommend that you consult your security administrator before making this configuration change.
Disable Automatic Update of the CLI and Plug-In
To remain on the current version of the CLI and disable automatic updates, set the SFDX_AUTOUPDATE_DISABLE environment variable to true. See the help for your operating system for instructions on how to set environment variables.