Baton needs git and at least one harness CLI. Neither ships with Baton.
macOS and Linux
Windows
%LOCALAPPDATA%\Baton\bin to your user PATH.
Homebrew
brew upgrade billy-enrizky/baton/baton. The formula lives in the billy-enrizky/baton tap.
From source
Check the install
1
Check the version
2
Check the environment
baton doctor lists each harness it found, the auth source for each one, and anything missing. Add --json for machine output.3
Install or sign in to a harness
Install a harness CLI, or run
/login inside Baton to sign in. See Harnesses and auth.Upgrade
brew. A source install upgrades with cargo install --path . --locked.
Uninstall
%LOCALAPPDATA%\Baton\bin\baton.exe and remove that directory from your user PATH if the installer added it.
Baton keeps threads, configuration, and its database in ~/.baton, or in BATON_HOME when that variable is set. Delete that directory only when you also want to delete the data. Checkpoints are hidden git refs under refs/baton/checkpoints/ in each project, so they stay until you delete those refs.