Axon · v5.6.0
Installation Manual: getting the axon binary onto a machine, connecting an MCP client, verifying, upgrading and removing it
Axon is a single program, axon. It builds a local, incremental graph of a codebase (a target: a folder or a .code-workspace file) and answers questions about it from the command line, from a browser (the Explorer) and to AI assistants through the Model Context Protocol (MCP). Nothing is written into your repositories: indexes live in Axon's own data directory.
The only network traffic Axon makes by itself is for licensing, and only for targets above 10,000 lines of code (see the Axon User Manual). Everything else, including indexing and queries, runs locally.
All paths install the same official binary. The website https://guerchele.github.io/axon-releases shows the right commands for your system and lists every release.
| Path | Platforms | Updates with |
|---|---|---|
| Install script | macOS, Linux, Windows | running the script again |
| Homebrew | macOS, Linux | brew upgrade axon |
| winget | Windows | winget upgrade Guerchele.Axon |
| Scoop | Windows | scoop update axon |
| APT repository | Debian, Ubuntu | sudo apt upgrade |
| RPM package | Fedora, RHEL, openSUSE | installing the new .rpm |
| Release archive | macOS, Linux, Windows | downloading the new archive |
Semantic vectors are an optional feature that lets search find a symbol from a paraphrase. Every official binary includes it except the one for Intel macOS, where no ONNX Runtime prebuilt exists. The feature is switched on per target (axon config set storage.vectors true). Without it Axon works fully; axon doctor then says vectors are unavailable.
Requirements
macOS on Apple Silicon or Intel. Windows 10 or 11 on x64 (Windows on ARM runs the x64 build under emulation). Linux on x86-64 or ARM64 with glibc 2.38 or newer, for example Ubuntu 24.04, Debian 13 or Fedora 39 and later. musl-based distributions such as Alpine are not supported.
The script detects your system, downloads the matching archive from the latest release, checks its SHA-256 against the release's SHA256SUMS and installs the binary.
curl -fsSL https://guerchele.github.io/axon-releases/install.sh | sh
It installs to ~/.local/bin (to /usr/local/bin when run as root) and tells you if that folder is not on your PATH.
irm https://guerchele.github.io/axon-releases/install.ps1 | iex
It installs to %LOCALAPPDATA%\Programs\axon\bin and adds that folder to your user PATH. Open a new terminal afterwards.
| Variable | Effect |
|---|---|
AXON_VERSION | Install a specific version, for example 5.6.0, instead of the latest. |
AXON_INSTALL_DIR | Install into another folder. |
AXON_NO_PATH | Windows only: set to 1 to leave the user PATH unchanged. |
curl -fsSL https://guerchele.github.io/axon-releases/install.sh | AXON_VERSION=5.6.0 sh $env:AXON_VERSION = '5.6.0'; irm https://guerchele.github.io/axon-releases/install.ps1 | iex
brew install guerchele/tap/axon
winget install Guerchele.Axon
scoop bucket add axon https://github.com/guercheLE/axon-releases scoop install axon/axon
The repository is signed. Add its key and source once, then install:
sudo install -d -m 0755 /etc/apt/keyrings curl -fsSL https://guerchele.github.io/axon-releases/apt/axon.asc | sudo gpg --dearmor -o /etc/apt/keyrings/axon.gpg echo "deb [signed-by=/etc/apt/keyrings/axon.gpg] https://guerchele.github.io/axon-releases/apt stable main" \ | sudo tee /etc/apt/sources.list.d/axon.list sudo apt update && sudo apt install axon
Each release has an .rpm for x86-64 and one for ARM64. Install it straight from the release URL (replace the version, and use aarch64 on ARM):
sudo dnf install https://github.com/guercheLE/axon-releases/releases/download/v5.6.0/axon-5.6.0-1.x86_64.rpm
Every release is published at https://github.com/guercheLE/axon-releases/releases with one archive per target, the Linux packages and a SHA256SUMS file. Each archive holds a folder named after it, with axon (or axon.exe), README.md, LICENSE and CHANGELOG.md.
| File | Platform | semantic |
|---|---|---|
axon-x86_64-unknown-linux-gnu.tar.gz | Linux x86-64 | yes |
axon-aarch64-unknown-linux-gnu.tar.gz | Linux ARM64 | yes |
axon-aarch64-apple-darwin.tar.gz | macOS Apple Silicon | yes |
axon-x86_64-apple-darwin.tar.gz | macOS Intel | no (no ONNX Runtime prebuilt) |
axon-x86_64-pc-windows-msvc.zip | Windows x86-64 | yes |
axon_<VERSION>-1_amd64.deb, …_arm64.deb | Debian, Ubuntu | yes |
axon-<VERSION>-1.x86_64.rpm, ….aarch64.rpm | Fedora, RHEL | yes |
SHA256SUMS | checksums for every file |
Archive names carry no version, so releases/latest/download/<file> always points at the newest release.
BASE=https://github.com/guercheLE/axon-releases/releases/latest/download ASSET=axon-aarch64-apple-darwin curl -LO $BASE/$ASSET.tar.gz curl -LO $BASE/SHA256SUMS
Set ASSET to the archive for your platform from the table above (the example is Apple Silicon). For a specific version use BASE=https://github.com/guercheLE/axon-releases/releases/download/v5.6.0.
On macOS use shasum -a 256 -c -; on Linux use sha256sum -c -. It must print OK.
grep " $ASSET.tar.gz$" SHA256SUMS | shasum -a 256 -c -
tar -xzf $ASSET.tar.gz mkdir -p "$HOME/.local/bin" install $ASSET/axon "$HOME/.local/bin/axon"
Make sure $HOME/.local/bin is on your PATH: add export PATH="$HOME/.local/bin:$PATH" to your shell profile.
axon version
macOS quarantine
If you downloaded the archive with a browser, macOS may refuse to run the binary. Remove the quarantine attribute: xattr -d com.apple.quarantine "$HOME/.local/bin/axon".
Download axon-x86_64-pc-windows-msvc.zip and SHA256SUMS. Compare the zip's SHA-256 (Get-FileHash axon-x86_64-pc-windows-msvc.zip) with its line in SHA256SUMS, extract it, and put axon.exe in a folder that is on PATH. Open a new terminal and run axon version.
axon serve is the MCP server. It takes no path and has no default target: every tool call names the absolute path of a folder or .code-workspace file as target. The default transport is stdio, and your client starts it for you.
axon setup writes the MCP entry for your client using the absolute path to axon, and for Claude Code can also install a PostToolUse hook that runs an incremental re-index whenever files are edited:
axon setup claude --hooks # register MCP server + PostToolUse auto-reindex hook axon setup cursor # register in ~/.cursor/mcp.json axon setup vscode # register in VS Code MCP config axon setup codex # register in Codex config axon setup --deeplink # print clickable cursor:// and vscode:mcp/install URIs axon setup claude --check # verify config and hooks without writing
If your client is not listed above (such as Claude Desktop or Copilot CLI), add the stdio entry manually. Replace /absolute/path/to/axon with the installed binary (command -v axon).
| Client | Where the configuration goes |
|---|---|
| Claude Code | axon setup claude --hooks (or ~/.claude.json / .mcp.json) |
| Claude Desktop | its MCP servers configuration file |
| Cursor | axon setup cursor (or mcp.json, user or project) |
| VS Code | axon setup vscode (or your MCP-enabled extension's server configuration) |
| Codex | axon setup codex (or Codex MCP config) |
| Copilot CLI | its local stdio MCP server configuration |
All of them take the same stdio entry:
{
"mcpServers": {
"axon": {
"command": "/absolute/path/to/axon",
"args": ["serve"]
}
}
}Clients that support streamable HTTP can use a separate server instead. It binds to loopback only and requires a bearer token:
export AXON_MCP_BEARER_TOKEN="replace-me" axon serve --http 127.0.0.1:8080
Point the client at http://127.0.0.1:8080/mcp and send the same bearer token. Pass --max-response-bytes to override the default 256 KiB per-response budget if needed.
axon index <path>, or the code-index tool).target must be a root or inside one. Claude Code advertises roots; Claude Desktop, Codex and Gemini CLI are documented as not advertising them. Without roots, an agent can index any folder your account can read, so prefer clients with roots, or run the server under a restricted account.PATH than your shell. Use an absolute command, and configure absolute paths for optional language servers.axon serve starts without a license so the client can show licensing errors (error code -32001).axon version axon --help
axon index ~/src/app axon doctor --target ~/src/app
doctor prints one line per check. database [ok] means the index was built; loc [ok] shows the line count and tells you whether a license is required (above 10,000 lines). vector and lsp:* are optional features and may say disabled.
cd ~/src/app axon search "payment retry policy"
If you used axon setup, run axon setup <client> --check to verify the configuration and hooks. Then restart the client and ask it to call code-index-status for your project path, or run axon serve once in a terminal and confirm it waits for input without error (press Ctrl+C to stop).
axon explore) is the quickest visual proof that an installation works.Projects up to 10,000 lines of code need nothing. Above that, a subscription to Axon (US$10 per month, up to 3 devices) is required. Subscribe or start a trial at https://stripe.guerche.digital/p/axon, then run once on each machine:
axon license activate <KEY> axon license status
Tokens last 7 days and renew themselves. The User Manual covers subscribing, devices and recovery.
brew upgrade axon, winget upgrade Guerchele.Axon, scoop update axon or sudo apt update && sudo apt upgrade.sudo dnf install the new release's .rpm.axon index <path> once per target. When the extractor changed (the release notes say so), every file is re-extracted once; otherwise only changed files are processed.Major versions
Version 5 changes licensing: the manual license request and license register commands are gone, and tokens come from the billing hub. Tokens issued by hand before it are not migrated: subscribe and run axon license activate.
axon license remove
This deletes the token and the account key and tells the hub to release this machine's device slot. Without a network the files are still deleted, and the slot frees itself when the token expires.
axon indexes axon indexes delete ~/src/app --yes
Remove the binary the way it was installed: brew uninstall axon, winget uninstall Guerchele.Axon, scoop uninstall axon, sudo apt remove axon or sudo dnf remove axon. For the install script or an archive, delete the file (rm "$HOME/.local/bin/axon", or the %LOCALAPPDATA%\Programs\axon folder on Windows). The data directory holds indexes, the model cache and the license; remove it to leave nothing behind.
| Platform | Data directory (unless AXON_HOME is set) |
|---|---|
| macOS | ~/Library/Application Support/axon |
| Linux | ~/.config/axon |
| Windows | %APPDATA%\axon |
Remove the axon entry from any MCP client configuration too. Cancel the subscription through the billing portal linked from https://stripe.guerche.digital/account if you no longer need it.
| Symptom | Cause and fix |
|---|---|
axon: command not found | The install folder is not on PATH. Add ~/.local/bin to it and open a new terminal (on Windows, a new terminal is enough after the script). |
| macOS refuses to open the binary | Quarantine attribute; run the xattr -d com.apple.quarantine command above. |
| The install script stops with "axon needs glibc 2.38 or newer" | The Linux build needs a recent glibc (Ubuntu 24.04, Debian 13, Fedora 39 or later). Upgrade the distribution or use a newer machine. |
apt update reports a signature error | The key file is missing or outdated. Run the curl … axon.asc | sudo gpg --dearmor line again. |
Checksum does not print OK | The download is incomplete or the wrong file name was grepped. Download it again and compare the exact file name. |
| MCP client lists no axon tools | Use an absolute command, restart the client, and check axon serve runs from a terminal. |
error: no index found for <path> | Index the target first: axon index <path>. |
| Exit code 5, "lines of code (limit 10,000 without a license)" | The project is over the free limit. Subscribe or start a trial and activate this machine. |