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
nixcrate for process management, signal handling, and user queries. Windows support is limited.
Build from source
1
Clone the repository
2
Build the release binary
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
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 runclaude from any directory without specifying the full path, add the binary to your PATH.
- bash
- zsh
- Copy to a system directory
Environment variables
Required
Set it in your shell profile for permanent effect:
--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:Default model and token limits
Claurst ships with the following compiled-in defaults (fromcc-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.