Building from Source
Prerequisites
- Go 1.25 or later
- go-task task runner
- An AI coding agent installed (e.g., Claude Code)
For the full stack (server, UI, docs):
Build the CLI
task build:cli # builds build/aileron
task build:sh # builds build/aileron-sh
Both binaries must be available together. The CLI looks for aileron-sh next to itself, then on PATH.
Build everything
task build
Individual components
task build:server # Go server binary
task build:mcp # MCP server binary
task build:enclave # TEE enclave binary
task build:ui # SvelteKit UI
task build:docs # Documentation site
task build:docker # Docker containers