Newer Version Available
Install the CLI Release Candidate
We recommend you run your continuous integration (CI) jobs against both the current release and the release candidate to identify potential breaking changes before they happen.
If you’ve already installed the CLI and are using the current release, run this command to switch to the release candidate.
1sfdx update stable-rcWhen the update completes, you also have the release candidates for the core Salesforce CLI plug-ins, such as salesforcedx.
To uninstall the release candidate and return to the current version, run this command.
1sfdx update stableInstall Using npm
Run this command to install the release candidate using npm.
1npm install --global sfdx-cli@latest-rcTo uninstall the release candidate and return to the current version, run this command.
1npm install --global sfdx-cli@latestInstall from a TAR File
Salesforce CLI distributes TAR files for the release candidate that you can install on all supported operating systems. The download URLs are similar to the URLs for installing the current release, but use the stable-rc channel rather than the stable channel.
For example, to wget the Linux TAR file for the release candidate, run this command, which downloads from the stable-rc channel.
1wget https://developer.salesforce.com/media/salesforce-cli/sfdx/channels/stable-rc/sfdx-linux-x64.tar.xzOther than using a different channel, the instructions for installing the release candidate from a TAR file are the same as the instructions for installing the current release.