enolaDocsInstall and upgrade

Documentation

Install and upgrade

Install the binary, connect your coding agent and its skills, turn on session checks, and upgrade when a new release ships.

01 · Install

Install the binary

Enola is one prebuilt binary. You don't need a Go toolchain or a C compiler.

macOS and Linuxshell
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:

Add to PATHshell
export PATH="$HOME/.local/bin:$PATH"

The same binary is published in other places too:

RouteCommand
PyPIpip install enola-cli (the command is still enola)
RubyGemsgem "enola" in your Gemfile, then bundle exec enola
Release archiveA verified build for Linux, macOS (amd64 and arm64) or Windows (amd64) from the latest GitHub release
Nothing else is installed. The installer places the binary and fetches the small library Ruby analysis needs. It doesn't write a config file or touch your repositories. Enola runs on built-in defaults until you give it a config.

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:

In your repositoryshell
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.

OptionWhat it does
--globalSet up every project for your user, not just this repository
--dry-runShow what would change, write nothing
--targets=claude,cursorOnly these agents. The default covers every agent, and an agent that isn't installed skips itself.
--hooksAlso check every agent session automatically (see Hooks)

MCP server. Register Enola once per agent:

AgentHow
Claude Codeclaude 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.
Codexcodex mcp add enola -- enola
CursorAn 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
opencodeNothing to do: enola install registers it. Restart opencode afterwards.
PiNothing to do: enola install writes an extension that connects Pi to Enola. Trust the project in Pi (/trust) so it loads.
Claude Code plugin, instead of the two steps aboveclaude
/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:

In your repositoryshell
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.

Upgradeshell
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:

AgentRestart
Claude CodeStart a new session
CursorTurn 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
opencodeQuit and restart it
PiStart a new session or run /reload
Enola tells you when you're behind. A background check runs at most twice a day and never makes a command wait. When a newer release exists, enola check, enola --generate and enola doctor print one line saying so. Set ENOLA_NO_UPDATE_CHECK=1 to turn the check off. It never runs in CI.

05 · Verify

Check that everything is current

In your repositoryshell
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

Removeshell
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.