🎬 See it in action
Sign in, browse conversations, search the workspace, read a thread from a permalink,
reply, react, read a canvas as Markdown, and pipe --json into jq — all from the terminal.
https://github.com/user-attachments/assets/90cf1c89-2859-4b84-a731-b0ff3e1172f3
[!IMPORTANT]
Unofficial project. SlackCLI is not affiliated with, endorsed by, or supported by
Slack Technologies. Slack ships an official CLI
for building Slack apps — this is a different tool, for driving a workspace you already
belong to.
⚡ Quickstart
Three steps, about a minute. Every platform in detail: installation guide.
1. Install — pick your platform
Homebrew (macOS & Linux) — recommended
brew tap shaharia-lab/tap
brew install slackcli
Linux — direct binary
# x86_64
curl -L https://github.com/shaharia-lab/slackcli/releases/latest/download/slackcli-linux -o slackcli
# arm64
curl -L https://github.com/shaharia-lab/slackcli/releases/latest/download/slackcli-linux-arm64 -o slackcli
chmod +x slackcli && mkdir -p ~/.local/bin && mv slackcli ~/.local/bin/
macOS — direct binary
# Intel
curl -L https://github.com/shaharia-lab/slackcli/releases/latest/download/slackcli-macos -o slackcli
# Apple Silicon
curl -L https://github.com/shaharia-lab/slackcli/releases/latest/download/slackcli-macos-arm64 -o slackcli
chmod +x slackcli && mkdir -p ~/.local/bin && mv slackcli ~/.local/bin/
Windows
Download slackcli-windows.exe from the latest release
and put it somewhere on your PATH.
From source (Bun)
Requires Bun 1.4.1+.
git clone https://github.com/shaharia-lab/slackcli.git
cd slackcli
bun install
bun run build # -> ./dist/slackcli
Every release ships checksums.txt — verify your download if you care to, and you should.
Full details in the installation guide.
2. Sign in — one command, no Slack app required
slackcli auth login-auto
A browser opens, you sign into Slack as you normally would, and SlackCLI captures the
session tokens for every workspace on that account. Nothing leaves your machine.
Prefer a real Slack app token, or need a service account? There are three other ways —
see authentication below.
3. Do something useful