Install¶
handoff ships as a single static binary with no runtime dependencies. Choose the method that suits your setup.
Methods¶
macOS and Linux only
Homebrew is not available on Windows. Windows users should use Go install or a pre-built binary.
To upgrade to the latest release:
Requires Go 1.26 or later. Run go version to check. The binary is fully self-contained — no CGO, no system libraries.
The binary is placed in your GOPATH/bin directory. Make sure that directory is on your PATH:
Verify¶
After installing, confirm the binary is available:
You should see:
A CLI tool for storing and retrieving knowledge packages across AI agent context windows.
Usage:
handoff [command]
Available Commands:
completion Generate the autocompletion script for the specified shell
gc Remove all expired packages
help Help about any command
list List available knowledge packages
retrieve Retrieve a knowledge package by ID or name
store Store a knowledge package (reads content from stdin)
Flags:
-h, --help help for handoff
Use "handoff [command] --help" for more information about a command.
Pre-built binaries¶
Every GitHub release includes pre-built archives. A checksums.txt file is provided for verification.
| Platform | Architecture | Archive |
|---|---|---|
| macOS | Apple Silicon (arm64) | handoff_darwin_arm64.tar.gz |
| macOS | Intel (amd64) | handoff_darwin_amd64.tar.gz |
| Linux | x86-64 (amd64) | handoff_linux_amd64.tar.gz |
| Linux | ARM64 | handoff_linux_arm64.tar.gz |
| Windows | x86-64 (amd64) | handoff_windows_amd64.zip |
| Windows | ARM64 | handoff_windows_arm64.zip |
# x86-64
Invoke-WebRequest `
-Uri https://github.com/Dborasik/handoff/releases/latest/download/handoff_windows_amd64.zip `
-OutFile handoff.zip
Expand-Archive handoff.zip -DestinationPath .
Move-Item handoff.exe "$env:GOPATH\bin\handoff.exe"
# ARM64
Invoke-WebRequest `
-Uri https://github.com/Dborasik/handoff/releases/latest/download/handoff_windows_arm64.zip `
-OutFile handoff.zip
Expand-Archive handoff.zip -DestinationPath .
Move-Item handoff.exe "$env:GOPATH\bin\handoff.exe"
Tip
Move handoff.exe to any directory that is already on your %PATH%. If you are unsure, $env:GOPATH\bin is a good choice if you have Go installed. Otherwise use C:\Windows\System32\ (requires admin) or create a dedicated bin folder in your home directory and add it to your user PATH.
Uninstall¶
Remove the binary¶
Remove stored packages¶
The binary uninstall does not touch your stored packages. The data directory must be removed separately.
This permanently deletes all knowledge packages
The database file contains all packages stored with handoff store. Only delete it if you are certain you no longer need them. If you used a custom path via HANDOFF_DB, remove that file instead.