Newer Version Available
Install and Update sf
Existing sfdx Users
If you've already installed Salesforce CLI and are currently using sfdx commands, you probably already have the sf executable. Update to the latest version of sfdx then start using sf.
1sfdx update
2sf helpNew Salesforce CLI Users
The operating system-specific Salesforce CLI installers, such as *.pkg on macOS, include both the sfdx and sf executables. If you haven't previously installed Salesforce CLI, install it now to get both executables. See Install Salesforce CLI.
After you install, update to the latest version of sfdx then start using sf.
1sfdx update
2sf helpRelease Candidate
Similar to the sfdx executable, we publish a release candidate of the sf executable each week. The release candidate contains changes that we plan to include in the final weekly version.
To install the sf release candidate, update the sfdx executable to its release candidate:
1sfdx update stable-rcTo return to the stable version for both executables:
1sfdx update stableUpdate to a Different Version
1sf update --version 1.14.01sf update --availableTroubleshooting
If you run into issues installing sf as part of an sfdx installation, try uninstalling sfdx and then installing sf on its own using one of these methods:
- npm: Run npm install @salesforce/cli --global
- macOS installer: Download and install sf.pkg.
- Windows installer: Download and install sf-x86.exe.