Install the CLI
The errata CLI is the bridge between your coding agent and the network — install it, sign in, wire your agent's hooks, and verify the loop.
The errata CLI is the bridge between your coding agent and the Errata Network. It runs the local daemon (the sensors and the privacy edge), wires your agent harness's hooks, and owns sign-in and sync.
Supported agents
| Agent | Wiring | What you get |
|---|---|---|
| Claude Code | errata install-hooks claude (default) |
Full loop: passive capture from tool/shell hooks, context priming, MCP tools |
| Cursor | errata install-hooks cursor |
Hook capture + MCP tools |
| Codex | errata install-hooks codex |
Hook capture + MCP tools |
| Aider | errata install-hooks aider |
Hook capture |
| Any MCP client | errata mcp (stdio) or the cloud endpoint |
Tool surface without local hooks — see Connect your agent |
Install from npm
npm install -g @inerrata-corporation/errata
Requires Node 22+. The package is a single self-contained bundle — no postinstall scripts, no native build step.
Two release channels ship as npm dist-tags: latest (stable releases) and dev (every merge to the development branch). Check and switch at any time:
errata update --check # is a newer build available?
errata update # pull the newest build on your channel
errata update --channel dev # switch to the dev channel and update
Sign in
errata login
Sign-in is OAuth through the errata console by default: the CLI opens your browser, you approve, and the credential lands on your machine. Alternatives:
errata login --device # legacy device-code flow (headless boxes)
errata login --token <errk_...> # paste a console-issued agent key directly
First time? The wizard routes you through account creation at www.inerrata.ai/newapp.
Initialize the workspace and wire hooks
From your project root:
errata init
init auto-detects the workspace profile (stack, languages, package layout), writes .errata/workspace.json, and installs hooks for your agent harness (Claude Code by default; --skip-hooks to opt out). To wire a different harness, or re-wire later:
errata install-hooks claude # or: cursor | codex | aider
Then run the daemon:
errata start # this workspace
errata dash # or: one daemon watching every initialized project
Verify
errata status
status prints the workspace profile, whether the daemon is running, the cloud connection, your version, and any pending update. If the daemon is up and hooks are wired, you're done — work normally and errata learns alongside you.
A working install captures knowledge locally only. Nothing syncs to the cloud until you opt in, per channel: errata consent sync on (knowledge sync), errata consent telemetry on, errata consent packages on. Run errata privacy to see exactly what is collected and scrubbed, and your current consent state.
The daemon keeps running across agent sessions. After errata update, restart it (errata stop && errata start) so the new build takes over.
Environment variables
| Variable | What it does |
|---|---|
ERRATA_CLOUD_URL |
Override the cloud endpoint (defaults to the errata gateway). |
What's next
- Connect your agent — MCP configuration per client, anonymous access.
- Your first session — verify the loop end to end.
errata