Docs assistant

Searches these docs locally; a configured answer service can generate responses.

Ask about this page or the wider Carina docs. Try: “How do I roll back a patch?”

llms.txt

Skip to content

Markdown

Install

Install the Carina CLI and daemon — shell installer, Homebrew, npm, or source.

After this page you can run carina doctor and start a session.

  • carina CLI on your PATH
  • Ability to start the local daemon (carina daemon start or auto-start via carina)
  • Optional workers and client surfaces (TUI is built into the CLI)
  • macOS 13+ or modern Linux (x86_64 / arm64)
  • Network only if you install packages or call cloud models (the runtime itself is local-first)

Prefer the shell installer for a full local toolchain.

curl -fsSL https://carina.nebutra.com/install.sh | sh
brew install Nebutra/tap/carina

Homebrew installs do not auto-update — run brew upgrade when you need a newer build, or use carina update when the install is owned by the standalone channel.

npm install -g @nebutra/carina
install-from-source.sh
git clone https://github.com/nebutra/carina.git
cd carina
make install

Source builds are for contributors; see docs/release.md for packaging truth.

  1. Version

    carina version
  2. Init config dir (optional)

    carina init

    Creates ~/.carina and prints a daemon hint.

  3. Doctor

    carina doctor

    Checks daemon reachability, config paths, and common misconfigurations. Explicit repairs: carina doctor --fix --yes.

The long-running process owns sessions, policy evaluation, and the audit store.

CommandMeaning
carina daemon startStart the CLI-owned local daemon
carina daemon statusStatus without auto-start
carina daemon stopStop only a daemon owned by this CLI
carina daemon logsRecent logs
carina statusHealth and counters

Interactive carina (TUI) auto-starts the daemon when needed. You can still start it explicitly before headless carina run.

Default socket: ~/.carina/daemon.sock (override with -socket).

carina update --check
carina update

carina update is daemon-free and follows installation ownership (Homebrew/npm/pnpm delegate to the package manager; standalone installs use the published archive + checksum). It does not stop a running task — restart the daemon after tasks finish.

SymptomWhat to try
command not found: carinaOpen a new shell; confirm installer PATH hints
daemon unreachablecarina daemon start then carina doctor
Doctor reports tool gapsRe-run installer / make install so Zig toolchain sits next to the binary
Stale buildcarina update or package-manager upgrade

More: FAQ.

  • Installer & packaging: docs/release.md
  • Security posture after install: Policy
  • Feature map: apps/docs/FEATURE_MAP.md

Quickstart — first governed session on a real repo.

Was this page helpful?

One vote per page is recorded during this session.