Kapi CLI recipes
Each recipe takes a single task — estimate a job, catch UI truncation, enforce a
glossary — states the goal, walks the steps, and lets you run the commands
yourself. The interactive embeds run the real kapi binary in your browser: no
install, no server, no API key. Every command shown is the command that runs.
For what kapi is and how the CLI and Kapi Desktop relate, see the Kapi overview. For every command and flag, see the command reference.
Ad-hoc or project?
A .kapi project is the recommended working model for any repository or
content set you localize repeatedly. It captures the languages, content patterns,
and flows in a committed recipe once, adds git-style upward discovery of that
recipe from any subdirectory, and keeps a project-local translation memory and
termbase that every run reuses — so you stop repeating flags and start
accumulating work. Create your first project
walks the setup; the project file reference covers the
recipe format and discovery rules.
kapi also runs ad-hoc: a command operates directly on the files you name,
configured by flags, with nothing saved —
kapi ai-translate -i messages.json --target-lang fr. That's the quick path for
one-off jobs, scripting, and CI, and a fine on-ramp. Many recipes here are shown
ad-hoc because they're genuine one-offs; each notes the project-mode equivalent
where it helps.
Every recipe is marked at the top with its mode — Runs anywhere (ad-hoc) or
Needs a .kapi project.
Recipes
Next steps
- Installation — Homebrew, WinGet, and binary downloads
- Command reference — every command and flag
- Kapi Desktop — the visual companion for building flows and running tools
- Using kapi with AI assistants — wire kapi into Claude Code, Cursor, and more