Newer Version Available
Install 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
We've updated the operating system-specific Salesforce CLI installers, such as *.pkg on macOS, to 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 stableTroubleshooting
If you run into issues installing sf as part of an sfdx installation, try installing it 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.