Aider is a free open-source CLI for AI pair programming in your terminal. Edits code across files, commits to git, and works with any LLM via API.
Aider crossed 49,000 GitHub stars and 6.8 million PyPI installs by doing something most AI coding tools avoid: staying entirely in the terminal and committing its own changes to git. Every edit Aider makes gets a descriptive commit message, so you diff, revert, or audit the AI's work with the same tools you already use.
GitHub Copilot charges $10–19 per seat per month and works as inline autocomplete inside VS Code or JetBrains — you direct the suggestions, token by token. Aider occupies a different position: you describe a task in plain language, Aider reads the relevant files, edits several at once, runs your linter and tests, and commits the result. Billing is also different — Aider itself is free; you pay your LLM provider's API rate directly, which for DeepSeek or smaller Claude models often runs well under a dollar per hour of active work.
The cost advantage is real but conditional. Aider sends a repo-map to the model on every request. For a small-to-mid-size codebase the map is compact and cheap. For a 500,000-line monorepo, the map grows and token spend rises — the GitHub issues tracker shows repo-map precision as the most-upvoted open request. Copilot sidesteps this by pulling only the currently open file; it never has to reason about the whole project, which is both an advantage and a constraint.
git diff cleanup — a recurring complaint in community threads.Is Aider free for commercial use? Aider itself costs nothing; you pay only your LLM provider's API fees. The Apache-2.0 license permits commercial use, modification, and redistribution without restrictions.
Aider vs Cursor — which should I choose for an existing codebase? Cursor is an IDE fork with a GUI and inline autocomplete; Aider covers multi-file agentic editing with model flexibility and git-native commits, but has no visual diff interface. Choose Aider if terminal control and avoiding a proprietary editor matter more.
Does Aider work with local, self-hosted models? Yes — any model exposing an OpenAI-compatible API endpoint works, including Ollama-served models. The maintainers publish benchmark scores for common models on the Aider leaderboards page.
Aider fits developers and DevOps engineers who want agentic code editing inside their existing git workflow without a proprietary IDE or per-seat subscription. Its Apache-2.0 license — which allows embedding it in internal tooling or CI pipelines without licensing complications — paired with active weekly releases (last push May 2026) makes it a predictable long-term dependency. Teams working in very large monorepos or needing a graphical interface will hit its limits, but for terminal-first workflows the cost and control advantages over hosted alternatives are concrete.
Commands from the official package registries. Each package is matched to Aider through the registry's own link to its source code or website.
brew install aiderbrew install aiderGo, gRPC and Protobuf done right, LLM agents in production, and the hard parts of shipping a first product.
Show that Aider is listed as an open-source alternative. Paste into your README: