Introduction
Axle is the build tool for monorepos, written in Rust. It finds the packages in your repository, works out the order their scripts must run in, and runs them in parallel.
Why Axle
Section titled “Why Axle”Axle is built around a few promises:
- It is fast, and each speed target is tested.
- It is one small binary that reads the files you already have.
- A cached result will never differ from running the task.
- Errors tell you how to fix them, and each has its own page.
- pnpm, npm, Yarn, Bun, nub and aube all work the same, on Windows, macOS and Linux.
- Plugins can be written in any language.
- The remote cache server is free to host yourself.
- Axle collects no data.
What works today
Section titled “What works today”Axle discovers JavaScript and TypeScript repositories managed with pnpm, npm, Yarn, Bun, nub or aube, and axle.toml adds projects in any other language. With it you can:
- list packages and tasks with
axle list, and run them in order and in parallel withaxle run, in an interactive view, or only in the packages a change affects; - skip every task whose inputs haven’t changed with the local cache, and share results with your team and CI through a remote cache you host yourself;
- set a repository up with
axle init, and re-run what each change affects withaxle watch; - see every task, run it and check
axle.tomlas you type in VS Code and JetBrains IDEs; - teach Axle about other ecosystems with plugins, such as the official ones for Python, Rust, Go, .NET, Gradle and Maven;
- explore the graph in the browser with
axle graph, and let AI coding agents use Axle through its MCP server; - grow the repository with
axle generate,axle sync,axle migrateandaxle import, and keep its structure healthy withaxle boundaries; - version, changelog and publish packages with
axle release, and build Docker images and skip deploys withaxle pruneandaxle affected --exit-code.
Where to go next
Section titled “Where to go next”- Install Axle, or add it to a monorepo you already have.
- Learn how Axle sees packages and their dependencies.
- Check how to structure a repository so Axle finds everything.
- Look up a command, or what a message means.