Install¶
Prerequisites¶
- Go 1.26.5+
- Salesforce CLI
(
sf), with at least one authenticated org (sf org login web)
If sf org list returns your orgs, you're ready.
Homebrew (macOS / Linux)¶
This installs the pre-built binary for your platform and keeps upgrades on Homebrew's normal update path.
Build from source¶
Drop the binary somewhere on your PATH:
Or put it wherever you keep local binaries — sf-deck doesn't care.
Windows (via WSL)¶
There's no native Windows binary yet, but sf-deck runs well in WSL2 under Windows Terminal — build or install the Linux binary inside WSL exactly as above. One WSL-specific note:
Install the Linux sf CLI inside WSL and authenticate your orgs
from there (sf org login web). sf-deck uses the CLI's auth store in
the environment it runs in — a Windows-side sf install won't be
seen from WSL.
Everything else works unchanged: browser opens (o) detect WSL and
hand the URL to Windows directly via interop (no helper packages
needed), and caching, dev projects, and the IPC control socket all
behave as on native Linux.
Verify¶
The first command shows top-level usage. The second confirms the verb registry is loaded — that's what agents and scripts query.
What sf-deck stores¶
sf-deck keeps state under ~/.sf-deck/. You don't need to touch
these directly, but it's good to know they exist:
| Path | What |
|---|---|
~/.sf-deck/settings.toml |
chips, theme, per-org safety overrides |
~/.sf-deck/cache.db |
local read-cache: org list, describes, list results |
~/.sf-deck/devprojects.db |
dev projects, items, bundles, tags, saved queries, snippets |
~/.sf-deck/update-state.json |
timestamp and result of the last stable-release check |
~/.sf-deck/instances.json |
running-instance registry |
~/.sf-deck/control-<N>.sock |
per-instance IPC socket (when started with --control) |
There is no telemetry. Normal data traffic goes to Salesforce. By default, release builds also make at most one anonymous request to GitHub Releases every 24 hours to discover newer stable sf-deck versions. The request does not include your current version, and sf-deck never downloads or installs an update.
Manage this under Settings → Updates, or disable automatic checks for a process:
Check explicitly from a shell:
Homebrew users install a discovered update with:
Try the demo¶
Want to see what sf-deck looks like without pointing it at a real org?
Three fictional orgs, ~95 sObjects, dev projects, bundles, the lot.
No network calls. Quit with Ctrl+C when done.