Install
Arch Linux
Section titled “Arch Linux”Install the stable binary package with an AUR helper:
yay -S context-binInstall context-git instead to track relevant changes on main:
yay -S context-gitBoth packages install the context binary plus Bash, Fish, and Zsh completions.
Stable releases use a manually chosen YYYYMMDD.N version. Create a blank
GitHub draft, optionally generate its release notes, then publish it to build
Linux archives, deb and RPM packages and update context-bin.
Runtime Requirements
Section titled “Runtime Requirements”Release binaries are standalone and do not require Bun, Node.js, or npm
packages at runtime. context uses these external commands:
gitis required for Git and stack context.ghis optional. It adds GitHub pull request context when available; missinggh, a missing pull request, or a network error does not fail the command.
Release Assets
Section titled “Release Assets”Download stable archives, deb packages, and RPM packages from the
GitHub releases page. Archives
contain the standalone context executable. Deb, RPM, and AUR packages also
install Bash, Fish, and Zsh completions.
Install a downloaded deb or RPM package with your system package manager:
sudo apt install ./context_VERSION_ARCH.debsudo dnf install ./context-VERSION-1.ARCH.rpmBuild Locally
Section titled “Build Locally”Use the mise tasks to install dependencies and build the binary. The repo pins Node and Bun through mise.
mise run installmise run buildThe compiled binary is written to dist/context. Run it directly or put it somewhere on your PATH:
./dist/context --help