Skip to content
euxarist edited this page Nov 9, 2026 · 4 revisions

Cairn Code

Cairn Code is a coding agent for your terminal. Describe a task in plain language, and it reads your code, makes edits, and runs commands to get it done, asking for your approval along the way.

It runs on macOS, Linux, and Windows, and works with multiple LLM providers, including Anthropic, OpenAI, OpenRouter, xAI, and local models through Ollama.

Quick start

curl -fsSL https://raw.githubusercontent.com/cairn/cairn/main/install.sh | sh
cd path/to/your/project
cairn

On Windows, see Installation for the PowerShell command. Once Cairn is running, type /provider to connect a provider, then describe your task.

Documentation

  • Installation: install and update Cairn
  • Getting Started: connect a provider and run your first task
  • Using Cairn: shortcuts, approvals, plan mode, goals, and worktrees
  • Commands: slash commands and command-line options
  • Configuration: settings, trust, instructions, permissions, MCP, and skills
  • Providers: every provider Cairn supports, how to connect, and what to know

中文文档

Getting help

  • Run /help inside Cairn.
  • See the changelog for what's new.
  • Open an issue to report a bug or request a feature.

License

Cairn Code is proprietary software. See the LICENSE for terms.

Clone this wiki locally