Installation
Install @affer-dev/cli globally with npm or run it directly with npx. Works on macOS, Linux, and Windows.
Read installation guide →
Affer is an open-source terminal coding agent built in Go. You get a single 14 to 15 MB binary that runs with an interactive terminal, built-in diff viewer, file checkpoints, and SQLite session storage. Run it interactively from your shell, non-interactively in CI pipelines, or expose it over a local HTTP server.

Installation
Install @affer-dev/cli globally with npm or run it directly with npx. Works on macOS, Linux, and Windows.
Read installation guide →
Diffs & Checkpoints
Review multi-file edits in /diff and restore any earlier file state with /rewind without touching git history.
See checkpoints & rewind →
Permissions & Hooks
Control shell and file writes with four permission modes and eight lifecycle hooks. Configure permissions →
CLI Reference
Full list of all 19 subcommands, global flags, exit codes, and 15 built-in tools. Browse CLI commands →