Skip to main content

Prerequisites

Before installing Claurst, make sure you have the following:
  • Rust 1.75 or later — Install via rustup.rs. Verify with rustc --version.
  • Cargo — Included with the standard Rust toolchain.
  • An Anthropic API key — Obtain one from the Anthropic console.
  • Linux or macOS — Claurst uses the nix crate for process management, signal handling, and user queries. Windows support is limited.
Claurst relies on the nix crate (v0.29) with the process, signal, and user feature set. These features are Unix-only. On Windows, the BashTool falls back to cmd /C and the PowerShellTool uses pwsh, but some subsystems may not function correctly.

Build from source

1

Clone the repository

2

Build the release binary

Cargo downloads all dependencies declared in Cargo.toml and compiles the full workspace. The first build takes a few minutes. Subsequent builds are incremental.The compiled binary is placed at:
3

Verify the build

You should see the version string printed to stdout.

Pre-built binary

Pre-built binaries are not yet published to a package registry. Until then, build from source using the steps above. Watch the GitHub releases page for binary distributions.

Add to PATH

To run claude from any directory without specifying the full path, add the binary to your PATH.
After updating your shell profile, open a new terminal session and run:

Environment variables

Required

Set it in your shell profile for permanent effect:
You can also pass it at runtime with the --api-key flag:

Optional

The ANTHROPIC_BASE_URL variable is read by Config::resolve_api_base() at startup. If set, it overrides the compiled-in default for every API call in the session.

Feature flags

Claurst supports several compile-time feature flags that gate advanced systems. These correspond to the original Claude Code feature gates and are inactive in standard builds. Enable a flag by passing it to Cargo at build time:
PROACTIVE / KAIROS mode gives Claude the ability to act without an explicit user prompt. Only enable it if you understand the implications. The 15-second blocking budget and append-only log design limit scope, but review the feature flags documentation before use.

Default model and token limits

Claurst ships with the following compiled-in defaults (from cc-core): Override the model at runtime with --model or persistently via /model in the TUI. Override max tokens with --max-tokens.

System requirements

Next steps

Quickstart

Run your first session and try the interactive TUI.

Feature flags

Full reference for compile-time and runtime feature gates.

Settings

Configure model, permissions, MCP servers, and hooks via settings.json.

CLAUDE.md

Add project-specific instructions that Claude reads at startup.