Newer Version Available

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

Install the CLI Release Candidate

We release a new version of the CLI weekly. At the same time we also publish a release candidate of the CLI that contains changes that we plan to include in the next weekly release. Think of the release candidate as the CLI-version of the Salesforce sandbox preview. You can install a release candidate if you want to check out upcoming features. Or stay on the current and official release. Or go back and forth. It’s up to you!

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. The current release has the stable tag; the release candidate has the stable-rc tag.

If you’ve already installed the CLI and are using the current release, run this command to switch to the release candidate.

To uninstall the release candidate and return to the current version, run this command.

Install Using npm

Run this command to install the release candidate using npm.

To uninstall the release candidate and return to the current version, run this command.

Install 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.

Other 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.