01 · Install
Install the binary
Enola is one prebuilt binary. You don't need a Go toolchain or a C compiler.
curl -fsSL https://raw.githubusercontent.com/enola-labs/enola/main/install.sh | sh enola --version
The installer verifies the release checksum and writes enola to ~/.local/bin. If your shell can't find the command, add that directory to PATH:
export PATH="$HOME/.local/bin:$PATH"
The same binary is published in other places too:
| Route | Command |
|---|---|
| PyPI | pip install enola-cli (the command is still enola) |
| RubyGems | gem "enola" in your Gemfile, then bundle exec enola |
| Release archive | A verified build for Linux, macOS (amd64 and arm64) or Windows (amd64) from the latest GitHub release |
02 · Agent
Connect your coding agent
Connecting an agent takes two steps: tell the agent that Enola exists, and register Enola's MCP server so the agent can call its tools.
Instructions and skills. Run this in the repository:
enola install
It writes a short instruction into the files your agents already read, and adds Enola's skills: enola-review, enola-test-plan, enola-intent and enola-memory. Claude Code reads the skills from .claude/skills/. Codex, Cursor, GitHub Copilot, opencode and Pi share .agents/skills/. Every run shows what it will change and asks before writing.
| Option | What it does |
|---|---|
| --global | Set up every project for your user, not just this repository |
| --dry-run | Show what would change, write nothing |
| --targets=claude,cursor | Only these agents. The default covers every agent, and an agent that isn't installed skips itself. |
| --hooks | Also check every agent session automatically (see Hooks) |
MCP server. Register Enola once per agent:
| Agent | How |
|---|---|
| Claude Code | claude mcp add-json enola '{"command":"enola","alwaysLoad":true}'. alwaysLoad needs Claude Code 2.1.287 or later. On an older version, use claude mcp add enola enola. |
| Codex | codex mcp add enola -- enola |
| Cursor | An entry in mcp.json under mcpServers whose command is enola |
| GitHub Copilot (VS Code) | An entry in .vscode/mcp.json under servers whose command is enola |
| opencode | Nothing to do: enola install registers it. Restart opencode afterwards. |
| Pi | Nothing to do: enola install writes an extension that connects Pi to Enola. Trust the project in Pi (/trust) so it loads. |
/plugin marketplace add enola-labs/enola /plugin install enola@enola
The plugin registers the MCP server, the hooks and the skills (as /enola:review and so on) in one go. It doesn't install the binary: if that's missing, run /enola:setup. For Claude Code, use either the plugin or enola install, not both.
To try it, open a branch and ask your agent: "Review this branch against main" or "What should be tested for this change?" Skills covers each one.
03 · Hooks
Check every agent session automatically
Without hooks, the agent gets an instruction saying Enola is there, which it may or may not follow. With hooks, Enola checks each session whether or not the agent remembers to:
enola install --hooks
- When a session starts, Enola records the structure of the code as a baseline. This runs in the background and never delays the session.
- When the agent finishes, Enola compares the code with that baseline. If the change added a dependency cycle, crossed a layer the wrong way or broke a rule you declared, the agent is told before it reports the work as done. When there is nothing to report, the hook says nothing.
The hooks never block the agent, and they never replace a baseline you pinned yourself. They work in Claude Code, Codex and Pi. In opencode, --hooks installs a plugin that steers the agent to Enola's tools instead. Codex asks you to approve a new hook once: run /hooks inside Codex.
You only pass --hooks once. A later enola install, such as the one after an upgrade, keeps them. enola install --no-hooks removes them and leaves the instructions and skills in place.
04 · Upgrade
Upgrade to a new release
Upgrading takes three steps: replace the binary, refresh what install wrote, and restart your agent.
enola upgrade enola install # in each repository you set up enola install --global # if you installed for your user
1. Replace the binary. enola upgrade downloads the newest build for your platform, verifies its checksum and replaces the binary in place. If the binary is somewhere your user can't write to, run it with elevated permissions or run the install script again.
2. Refresh instructions, hooks and skills. An upgrade replaces only the binary. A new release can change the skills or hooks, and only enola install writes them, so run it again in each repository you set up. You don't need any flags: hooks from an earlier install are kept. enola upgrade ends by listing the files a re-install would change, so you can see which repositories are behind.
With the Claude Code plugin, update it instead: /plugin marketplace update enola, then /plugin update enola@enola. A new plugin version ships with each Enola release.
3. Restart your agent. Your agent runs Enola as a long-lived MCP server, so it keeps using the old binary until that process restarts:
| Agent | Restart |
|---|---|
| Claude Code | Start a new session |
| Cursor | Turn the enola server off and on in Settings, MCP, or reload the window |
| GitHub Copilot (VS Code) | Restart the server from .vscode/mcp.json, or reload the window |
| opencode | Quit and restart it |
| Pi | Start a new session or run /reload |
05 · Verify
Check that everything is current
enola doctor
enola doctor tells you:
- whether a newer release is available
- which files from enola install an older version wrote, so a fresh enola install would change them
- whether each skill is installed and current
- when the hooks last ran, and what they concluded
A hook marked NEVER FIRED after a real session means the agent isn't running it. enola doctor only reports and never fails. For a yes-or-no answer in a script, enola install --check exits 1 when a re-install would change something.
06 · Remove
Remove it again
enola uninstall # this repository enola uninstall --global # your user
uninstall removes everything install wrote. In files Enola shares with you, such as AGENTS.md or your agent's settings, only Enola's own entries are removed, and the rest stays byte for byte as it was. To remove the binary, delete ~/.local/bin/enola, or uninstall it with pip or RubyGems if you installed it that way.