Installation
Requirements
A shell — and, to launch Claude sessions, the Claude Code CLI 2.0.73 or
newer on your PATH.
That floor is the CLI’s --session-id flag. TermHerd starts every fresh Claude
session under an id it chooses itself, so a new tab knows its conversation from
the first keystroke. Claude Code’s changelog never records when the flag
arrived, so the floor is an estimate: 2.0.73 is the oldest release whose
notes show the flag working. An older CLI may well accept it too; one that does
not refuses the launch, and TermHerd has no fallback for it.
The next flag down is --settings (1.0.61), which TermHerd also puts on every
Claude launch. It re-enables the CLI’s terminal title for that session
only, and the title is where a Claude session’s activity status comes from:
without it, a
CLAUDE_CODE_DISABLE_TERMINAL_TITLE anywhere in your own settings would leave
every session reading starting forever. An older CLI rejects either flag and
the launch fails. TermHerd’s other flag, --mcp-config (the
live bridge), has been available since 0.2.75.
A plain shell needs nothing installed — see Status and attention for what it takes to give one an accurate status.
Desktop installers
Each tagged release publishes installers on the Releases page.
| Platform | File | Notes |
|---|---|---|
| macOS | TermHerd_<version>_<arch>.dmg | Open it, drag TermHerd into Applications. |
| Windows | *-setup.exe (NSIS) | |
| Linux | .deb or .AppImage | sudo apt install ./termherd_<version>_amd64.deb, or chmod +x the AppImage. |
Builds are not signed yet. On macOS, first launch needs a right-click → Open, or clearing the quarantine flag:
xattr -dr com.apple.quarantine /Applications/TermHerd.app
On Windows, SmartScreen may warn — choose More info → Run anyway.
Bare command-line binary
The same releases carry one-line installers that drop termherd into your
Cargo bin directory. Every release so far is a pre-release, which GitHub’s
/releases/latest/ shortcut skips, so name the tag — the newest one is at the
top of the Releases page:
# macOS / Linux
TAG=v0.1.0-prerelease.4
curl --proto '=https' --tlsv1.2 -LsSf \
"https://github.com/Termherd/termherd/releases/download/$TAG/termherd-app-installer.sh" | sh
# Windows
$Tag = "v0.1.0-prerelease.4"
irm "https://github.com/Termherd/termherd/releases/download/$Tag/termherd-app-installer.ps1" | iex
Verifying a Linux download
Linux release binaries carry a sigstore keyless build-provenance attestation — no signing key; the signer is the release workflow itself, via GitHub OIDC, logged in the public Rekor transparency log.
gh attestation verify termherd-app-x86_64-unknown-linux-gnu.tar.xz \
--repo Termherd/termherd
A passing check proves both integrity and that the artifact was built by this
repository’s CI. The attestation and its SHA256SUMS file come from a signing
step added after v0.1.0-prerelease.4, so that pre-release has neither — only
per-file .sha256 checksums and a combined sha256.sum, which every release
carries.
From source
The toolchain is pinned in rust-toolchain.toml (Rust 1.95.0, edition 2024);
rustup picks it up automatically.
git clone https://github.com/Termherd/termherd
cd termherd
cargo run -p termherd-app
Where TermHerd writes
Never under ~/.claude. Everything it owns lives in ~/.termherd
(%USERPROFILE%\.termherd on Windows):
| Path | Holds |
|---|---|
~/.termherd/settings.json | your settings — reference |
~/.termherd/window.json | window size and position |
~/.termherd/layout.json | the tab strip a launch reopens — see Coming back after a restart |
~/.termherd/metadata.json | stars, archives, custom session titles, hand-added repositories |
~/.termherd/captures/ | capture-<ts>.json / .png / .gif — see Capture and record |
~/.termherd/inbox/ | termherd:// links waiting for the running window — see Opening a tab from a link |
~/.termherd/termherd.log | the log, on Windows only — see Where the log goes |
Where the log goes
On macOS and Linux, TermHerd logs to stderr: start it from a terminal to read
it. On Windows, a release build appends its log to
%USERPROFILE%\.termherd\termherd.log instead, even when started from a
terminal. A log that has reached 5 MB is renamed termherd.log.old at the
next launch, replacing the previous one, and a fresh log starts. A build from
source in debug mode (cargo run -p termherd-app) logs to the terminal on
every OS.
Started from Explorer or the Start menu, TermHerd opens no console window beside its own on Windows 11 24H2 or later. Older Windows versions still open one; closing it closes TermHerd.
The RUST_LOG environment variable sets what is logged wherever it goes, for
example termherd=debug.
TermHerd is single-instance: a lock named after the system temp directory
(a file there on macOS, a named mutex on Windows, an abstract socket on
Linux). A second launch carrying a termherd:// link hands it to the
running instance and exits with code 0; the tab opens there without bringing
the window forward. Without a link, it exits with code 2. To
run a second build alongside one that already holds the lock, point it at a
throwaway temp dir so its lock differs. On macOS and Linux:
TMPDIR=$(mktemp -d) cargo run -p termherd-app
On Windows, TMP decides the temp dir:
$env:TMP = (New-Item -ItemType Directory "$env:TEMP\termherd-2").FullName; cargo run -p termherd-app