Installation
Install script
Section titled “Install script”curl -fsSL https://codehead.sh/install | shThe script downloads the latest release for your system from
GitHub releases, checks its sha256 (and its
signed build provenance, when gh is logged in) and installs codehead into ~/.local/bin.
No sudo. Set CODEHEAD_INSTALL_DIR for another directory.
A given version:
curl -fsSL https://codehead.sh/install | sh -s -- 0.2.31Updates
Section titled “Updates”Every commit on main that passes CI is a release. codehead checks for a newer release once
per day in the background, and prints one line when it quits. To update:
codehead --updateSet CODEHEAD_NO_UPDATE_CHECK=1 to turn the check off.
From source
Section titled “From source”git clone https://github.com/hansfuchs/codeheadcd codeheadjust install # or: cargo install --locked --path .Uninstall
Section titled “Uninstall”Delete the binary. Drafts, history and the update cache live in ~/.cache/codehead, the
config in ~/.config/codehead.toml.
rm ~/.local/bin/codehead