- 30-day installs
- 0
- 1-year installs
- 4.2K
- Last 365 days
- Latest version
- 2.149.9
- Aug 26 · Aug 26
- Download size
- —
- arm64 / x86_64 · pkg
- Release cadence
- Irregular
- 0 releases in 30 days
Salesforce CLI is Developer Tools software for Mac.
Quick facts
- Chips
- Apple silicon · Intel
- Install
brew install --cask salesforce-cli- Homebrew
- Disabled by Homebrew
- Also known as
- sf, salesforce-cli
These facts were checked on or after . See each source
About
CLI tools for Salesforce
System requirements
| macOS | Version | Chips | Download | Source |
|---|---|---|---|---|
| Build for macOS 27, 26, 15, 14, 13, 12, 11 | 2.149.9,3ee5999 | Intel | github.com/salesforcecli/cli/releases/download/2.149.9/sf-v2.149.9-3ee5999-x64.pkgSHA-256 00a84b4dc4fd8e279498bd8479af09b4eb3d4f9c46da21b213064f61099c9d44 | HomebrewChecked |
| Build for macOS 27, 26, 15, 14, 13, 12, 11 | 2.149.9,3ee5999 | Apple silicon | github.com/salesforcecli/cli/releases/download/2.149.9/sf-v2.149.9-3ee5999-arm64.pkgSHA-256 ef2104f73a18c3fc1bc1e8bd1131673287907728dde978683fb6bbf9255357b0 | HomebrewChecked |
How to install Salesforce CLI on Mac
- In Terminal, run:
brew install --cask salesforce-cli - Homebrew runs the sf-v2.149.9-3ee5999-arm64.pkg installer, which asks for an administrator password.
Install without Homebrew
Download the file Homebrew uses for your chip: Apple siliconIntel
SHA-256 only checks that the download is complete; it is not a security certification. See the SHA-256 and download address
Uninstall Salesforce CLI and optional data cleanup
brew uninstall --cask salesforce-cliA regular uninstall removes the app and keeps its settings and caches.
Uninstalling also removes
- Installer receipts (pkgutil)
com.salesforce.cli- Files and folders
/usr/local/bin/sf/usr/local/bin/sfdx
Deep clean (optional)
brew uninstall --zap --cask salesforce-cli--zap also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out --zap.
Files Salesforce CLI can leave on your Mac (4)
- Files and folders
~/.cache/sf~/.config/sf~/.local/share/sf~/.sf
These entries come from the Homebrew definition, checked . They say what it declares, not what is on your Mac.
What’s new in 2.149.9
New From Homebrew commits
This release has no separate notes.
Salesforce CLI security facts
Only facts that can be checked, each with its source and date. This is not a safety certification. To check the files you downloaded, scan them on your Mac with OpenNavo.
- Distribution
- Homebrew
- Open source
- Yes · github.com/salesforcecli/cli · Apache-2.0Checked
Install Details
- Tap
- homebrew/cask
- Former tokens
- sf
- Installer packages
- sf-v2.149.9-3ee5999-arm64.pkg
- Download URL
- https://github.com/salesforcecli/cli/releases/download/2.149.9/sf-v2.149.9-3ee5999-arm64.pkg
- SHA-256
- ef2104f73a18c3fc1bc1e8bd1131673287907728dde978683fb6bbf9255357b0
- Homebrew definition
- github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/salesforce-cli.rb
- formulae.brew.sh
- formulae.brew.sh/cask/salesforce-cli
Installation and removal contents
Uninstall
uninstallView full declaration
{ "uninstall": [ { "delete": [ "/
usr/ "/local/ bin/ sf", usr/ ], "pkgutil": "com.local/ bin/ sfdx" salesforce. } ] }cli" Install
pkgSource file: sf-v2.
149. 9-3ee5999-arm64. pkg View full declaration
{ "pkg": [ "sf-v2.
149. ] }9-3ee5999-arm64. pkg" Remove user data
zapView full declaration
{ "zap": [ { "trash": [ "~/
. "~/cache/ sf", . "~/config/ sf", . "~/local/ share/ sf", . ] } ] }sf"
Questions about Salesforce CLI
Is Salesforce CLI safe?
Homebrew has disabled Salesforce CLI (it fails macOS Gatekeeper checks), so it can no longer be installed with Homebrew. It was disabled on Sep 1.
Is Salesforce CLI open source?
Salesforce CLI’s source code is public on GitHub (salesforcecli/cli) under the Apache-2.0 license.
How do I completely uninstall Salesforce CLI on a Mac?
Run brew uninstall --cask salesforce-cli. It forgets 1 installer receipt. To delete its settings and caches as well, run brew uninstall --zap --cask salesforce-cli. --zap also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out --zap. That also deletes 4 files and folders, including ~/.
Does Salesforce CLI run on Apple silicon (M1 and later) Macs?
Yes. Homebrew downloads separate builds for Apple silicon and Intel Macs.
Where does Salesforce CLI store its settings and data?
Its data is in ~/, ~/, and ~/. These locations come from Homebrew’s clean-up list.
What is the latest version of Salesforce CLI?
The latest version is 2.149.9, added to Homebrew on Aug 26. Run brew upgrade --cask salesforce-cli to update it.
What else does installing Salesforce CLI add?
It installs through a .pkg installer, which asks for an administrator password.
Sources
Every fact on this page names its source and check date. Facts past their validity read “as of” their date and are no longer stated as current.
- Homebrew definition: github.com/homebrew/homebrew-cask/blob/HEAD/Casks/s/salesforce-cli.rb · Checked
- formulae.brew.sh: formulae.brew.sh/cask/salesforce-cli
- Security facts: github.com/salesforcecli/cli · Checked