Documentation
Caret is a Cursor-class AI code editor with a Rust core (Tauri 2 + React/Monaco). This folder is the reference; the top-level README has the overview, install instructions and the step-by-step build guide.
Install and update
- macOS one-liner:
curl -fsSL https://raw.githubusercontent.com/Fast-Editor/Caret/main/scripts/install.sh | sh - Homebrew:
brew tap fast-editor/caret && brew trust fast-editor/caret && brew install --cask caret(Homebrew 7 asks you to trust third-party taps once) - DMG: download from the latest release; builds are ad-hoc
signed, so after dragging to Applications run
xattr -dr com.apple.quarantine /Applications/Caret.apponce (or use System Settings → Privacy & Security → Open Anyway). - Windows / Linux:
.msi/-setup.exeand.deb/.rpm/.AppImageon every release (built, not yet exercised at runtime). - Package managers:
winget install FastEditor.Caret,scoop install https://raw.githubusercontent.com/Fast-Editor/Caret/main/packaging/scoop/caret.json,yay -S caret-bin,nix run github:Fast-Editor/Caret. Manifests live inpackaging/andflake.nix; winget, scoop and the AUR are awaiting first publication. Every channel and its status: INSTALL.md. - Updates: Settings → About → Check for updates (also checked silently after launch).
Where things live on disk
- User configuration:
~/.caret/—settings.json,secrets.json(API keys),keybindings.json,mcp.json, rules, memories, sessions, checkpoints, the search index,bin/caret(launcher),acp/(external agent adapters),lynkr/(Auto routing sidecar),orchestrator/(tokenandendpoint.jsonfor the MCP server that lets other agents drive Caret),remote/devices.json(hashed tokens of browsers paired throughcaret serve, mode 0600). - Usage ledger:
~/.caret/usage/YYYY-MM.jsonl, one line per priced request (agent chat, external agents, inline edits, Tab, review, commit messages); read by Settings → Usage and the status bar spend item. External agent histories under~/.claude,~/.codexand~/.local/share/opencodeare only ever read. - Project configuration:
<repo>/.caret/(rules and project settings);.cursor/rulesandAGENTS.mdare read when present.
Contributing to the docs
Each subsystem's document is the source of truth for its behaviour; update it in the same commit as the code change. The README's build guide and this index should stay short and link here rather than duplicate.