Axon · v5.6.0

Axon

Installation Manual: getting the axon binary onto a machine, connecting an MCP client, verifying, upgrading and removing it

Audience
anyone who installs Axon on a workstation or a build server
Covers
install script, Homebrew, winget, Scoop, APT, RPM and release archives for five targets, MCP client setup, verification, upgrade, uninstall

Contents

2

What you are installing

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.

3

Choosing an installation path

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.

PathPlatformsUpdates with
Install scriptmacOS, Linux, Windowsrunning the script again
HomebrewmacOS, Linuxbrew upgrade axon
wingetWindowswinget upgrade Guerchele.Axon
ScoopWindowsscoop update axon
APT repositoryDebian, Ubuntusudo apt upgrade
RPM packageFedora, RHEL, openSUSEinstalling the new .rpm
Release archivemacOS, Linux, Windowsdownloading 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.

4

Install script

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.

macOS and Linux

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.

Windows (PowerShell)

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.

Options

VariableEffect
AXON_VERSIONInstall a specific version, for example 5.6.0, instead of the latest.
AXON_INSTALL_DIRInstall into another folder.
AXON_NO_PATHWindows 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
5

Package managers

Homebrew (macOS and Linux)

brew install guerchele/tap/axon

winget (Windows)

winget install Guerchele.Axon

Scoop (Windows)

scoop bucket add axon https://github.com/guercheLE/axon-releases
scoop install axon/axon

APT (Debian and Ubuntu)

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

RPM (Fedora, RHEL, openSUSE)

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
6

Release archives

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.

FilePlatformsemantic
axon-x86_64-unknown-linux-gnu.tar.gzLinux x86-64yes
axon-aarch64-unknown-linux-gnu.tar.gzLinux ARM64yes
axon-aarch64-apple-darwin.tar.gzmacOS Apple Siliconyes
axon-x86_64-apple-darwin.tar.gzmacOS Intelno (no ONNX Runtime prebuilt)
axon-x86_64-pc-windows-msvc.zipWindows x86-64yes
axon_<VERSION>-1_amd64.deb, …_arm64.debDebian, Ubuntuyes
axon-<VERSION>-1.x86_64.rpm, ….aarch64.rpmFedora, RHELyes
SHA256SUMSchecksums for every file

Archive names carry no version, so releases/latest/download/<file> always points at the newest release.

macOS and Linux

  1. Download the archive and the checksums

    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.

  2. Check the checksum

    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 -
7
  1. Unpack and install

    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.

  2. Verify

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

Windows

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.

8

Connecting an MCP client

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

Manual configuration

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

ClientWhere the configuration goes
Claude Codeaxon setup claude --hooks (or ~/.claude.json / .mcp.json)
Claude Desktopits MCP servers configuration file
Cursoraxon setup cursor (or mcp.json, user or project)
VS Codeaxon setup vscode (or your MCP-enabled extension's server configuration)
Codexaxon setup codex (or Codex MCP config)
Copilot CLIits local stdio MCP server configuration

All of them take the same stdio entry:

{
  "mcpServers": {
    "axon": {
      "command": "/absolute/path/to/axon",
      "args": ["serve"]
    }
  }
}
9

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.

10

Verifying the installation

  1. The binary runs

    axon version
    axon --help
  2. Index something small and check it

    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.

  3. Ask a question

    cd ~/src/app
    axon search "payment retry policy"
  4. Check the MCP server starts

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

11
The Axon Explorer showing a graph of 1387 nodes and 2049 edges for a Rust crate, with a workspace tree on the left and the graph on the right
The Explorer (axon explore) is the quickest visual proof that an installation works.
12

Licensing after installation

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.

13

Upgrading

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.

14

Uninstalling

  1. Free the license device (optional)

    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.

  2. Delete the indexes (optional)

    axon indexes
    axon indexes delete ~/src/app --yes
  3. Remove the binary and the data directory

    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.

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

15

Troubleshooting the installation

SymptomCause and fix
axon: command not foundThe 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 binaryQuarantine 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 errorThe key file is missing or outdated. Run the curl … axon.asc | sudo gpg --dearmor line again.
Checksum does not print OKThe download is incomplete or the wrong file name was grepped. Download it again and compare the exact file name.
MCP client lists no axon toolsUse 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.
16