Install
Each release has a binary archive for every supported system, plus a SHA256SUMS file:
| File | Contents |
|---|---|
espresso-linux-amd64.tar.gz, espresso-linux-arm64.tar.gz |
the espresso CLI |
espresso-darwin-amd64.tar.gz, espresso-darwin-arm64.tar.gz |
the CLI for Intel and Apple-silicon Macs |
espresso-windows-amd64.zip, espresso-windows-arm64.zip |
espresso.exe |
espresso-server-<os>-<arch>.tar.gz (.zip on Windows) |
the server, for the same six targets |
SHA256SUMS |
SHA-256 of every archive |
install.sh, install.ps1 |
the install scripts below |
Every archive also contains LICENSE and README.md. The binaries are static and have no runtime
dependencies.
Platform status. Everything works on Linux. On macOS the binaries build but have not been tested on a Mac yet. On Windows,
espresso recandespresso streamreport "not yet supported" (recording needs ConPTY support, which is still to be written);play,cat,convert,edit,scan,uploadandauthbuild, but have not been tested there.
Linux and macOS: install script
curl -fsSL https://RELEASE_URL/install.sh | sh
RELEASE_URL is wherever your copy of the release is published. The script:
- detects the OS (
linux,darwin) and the CPU (amd64,arm64), - downloads the matching archive and
SHA256SUMSfrom the same release URL, - checks the archive's SHA-256 and stops if it doesn't match,
- installs
espressointo~/.local/bin(or/usr/local/binwhen run as root), and - warns if that directory is not on your
PATH.
Options, given as environment variables:
| Variable | Meaning |
|---|---|
ESPRESSO_RELEASE_URL |
release base URL (the directory that holds the archives and SHA256SUMS); overrides the one built into the script |
ESPRESSO_INSTALL_DIR |
install directory instead of ~/.local/bin / /usr/local/bin |
ESPRESSO_COMPONENT |
espresso (default) or espresso-server |
To read the script before running it:
curl -fsSLO https://RELEASE_URL/install.sh
less install.sh
sh install.sh
Windows: PowerShell script
irm https://RELEASE_URL/install.ps1 | iex
It does the same steps as install.sh (the amd64 or arm64 zip, SHA-256 check) and installs into
%LOCALAPPDATA%\Programs\espresso, then adds that folder to your user PATH. It takes the same
ESPRESSO_RELEASE_URL and ESPRESSO_INSTALL_DIR variables. This script has not been tested on Windows yet.
By hand
curl -fsSLO https://RELEASE_URL/espresso-linux-amd64.tar.gz
curl -fsSLO https://RELEASE_URL/SHA256SUMS
sha256sum --ignore-missing -c SHA256SUMS # macOS: shasum -a 256 --ignore-missing -c SHA256SUMS
tar xzf espresso-linux-amd64.tar.gz
install -m 0755 espresso ~/.local/bin/
espresso version
From source
You need Go 1.24.13 or newer. The Go modules sit side by side, with format/ next to cli/ and server/.
The CLI and the server use it through a replace directive:
cd cli && go build -o espresso ./cmd/espresso
cd server && make build # → bin/espresso-server (CGO_ENABLED=0)
The web player (player/, TypeScript) is already built into both: the server serves the bundle from
internal/web/static/player/, and the CLI embeds it for espresso stream --local. Rebuild it only if you
change the player. That step needs Node.js 22:
cd player && npm ci && npm run build
cd ../server && make player # copy the bundle into the server
cd ../cli && scripts/update-player.sh # copy it into the CLI
Shell integration (optional)
To get one chapter per command, with its exit status, add the snippet for your shell. espresso never edits your dotfiles:
eval "$(espresso shell-integration zsh)" # in ~/.zshrc
eval "$(espresso shell-integration bash)" # in ~/.bashrc (bash 4.4 or newer)
espresso shell-integration fish | source # in ~/.config/fish/config.fish (fish 4 does this on its own)
The snippets do nothing outside a recording. See CLI guide → Shell integration.
Uninstall
Delete the binary. Your saved login is in ~/.config/espressostream/ (%APPDATA%\espressostream on
Windows), and recordings are wherever you saved them.