Fastest path
Use npm for the simplest cross-platform install.
Native installers
Homebrew, shell installer, and PowerShell installer are available when you prefer platform-native flows.
Most flexible
Use
go install or build from source when you want a local checkout or custom toolchain flow.Requirements
The npm package and release installers use published archives by default, so Go is not required on supported targets. If you install withgo install, build from source, or install on a target without a matching release archive, you need:
- Go 1.25+
- a working C toolchain
Choose an install path
- npm (recommended)
- Homebrew (macOS)
- Shell installer (macOS/Linux)
- PowerShell (Windows)
- go install
- Build from source
unch CLI and downloads the matching native release binary for your platform.Verify it:unch skill:codex mcp add for the MCP server and writes the skill to ~/.codex/skills/unch/SKILL.md.If you prefer not to add Codex integration, you can skip unch codex install.Published release archives
Verify the install
Configure OpenRouter
If you want to use OpenRouter for embeddings instead of the localllama.cpp runtime:
unch auth openrouter stores the token in:
When should I prefer release installers?
When should I prefer release installers?
Prefer the release installers when your platform has a matching published archive and you just want a working binary quickly.That path does not require Go and is the one covered by install smoke checks in CI.
When should I use go install or build from source?
When should I use go install or build from source?
Use source-based install when you want to work from a checkout, pin your own toolchain, or run on a target without a matching release archive.
What is special about Windows source builds?
What is special about Windows source builds?
Windows source builds need a working C toolchain.In practice that means MSYS2, MinGW, or an equivalent environment that can build the Tree-sitter and SQLite dependencies.