Install SlackCLI on macOS, Linux and Windows
SlackCLI ships as a single self-contained binary. There is no runtime to install — you do not need Bun or Node.js to run it.
Homebrew (macOS and Linux)
Section titled “Homebrew (macOS and Linux)”brew tap shaharia-lab/tapbrew install slackcliUpgrade with brew upgrade slackcli.
Pre-built binaries
Section titled “Pre-built binaries”Download the binary for your platform, make it executable, and put it on your
PATH.
# Linux x86_64curl -L https://github.com/shaharia-lab/slackcli/releases/latest/download/slackcli-linux -o slackcli
# Linux arm64curl -L https://github.com/shaharia-lab/slackcli/releases/latest/download/slackcli-linux-arm64 -o slackcli
# macOS Intelcurl -L https://github.com/shaharia-lab/slackcli/releases/latest/download/slackcli-macos -o slackcli
# macOS Apple Siliconcurl -L https://github.com/shaharia-lab/slackcli/releases/latest/download/slackcli-macos-arm64 -o slackcli
chmod +x slackclimkdir -p ~/.local/bin && mv slackcli ~/.local/bin/On Windows, download slackcli-windows.exe from the
latest release and
add it to your PATH.
Every release publishes a checksums.txt alongside the binaries if you want to
verify a manual download.
From source
Section titled “From source”Requires Bun 1.0 or newer.
git clone https://github.com/shaharia-lab/slackcli.gitcd slackclibun installbun run build # produces ./dist/slackcliSee development setup for the full contributor toolchain.
Verifying the install
Section titled “Verifying the install”slackcli --versionslackcli --helpUpdating
Section titled “Updating”slackcli update check # report the latest release without changing anythingslackcli update # download and replace the running binary in placeslackcli update downloads the release asset for your platform, verifies its
SHA-256 digest against the digest GitHub publishes for that asset, and only then
replaces the binary. A missing or mismatched digest aborts the update rather
than installing an unverified file.
Two cases where slackcli update deliberately does nothing:
- Installed via Homebrew. Use
brew upgrade slackcli; the self-updater detects a Homebrew path and points you there so it does not fight the package manager. - Running from source (
bun run dev). There is no binary to replace — usegit pull.
SlackCLI also checks for new releases in the background at most once every 24
hours and prints a one-line notice after your command’s output when a newer
version exists. The result is cached in ~/.config/slackcli/update-check.json.
Uninstalling
Section titled “Uninstalling”brew uninstall slackcli # Homebrewrm ~/.local/bin/slackcli # manual install
slackcli auth logout # remove stored credentials firstrm -rf ~/.config/slackcli # or wipe the config directory entirely