How to Install Aider and Pair Program With AI in Your Terminal
Aider is AI pair programming in the terminal — it edits code in your git project from plain-language requests. This guide covers the install and first steps.
What is Aider?
Aider is AI pair programming in the terminal. You open a git project, tell Aider what to change in plain words, and it edits the code for you — adding features, fixing bugs and refactoring, all inside your own repository. It works directly on your project files and shows you the diff before anything is committed. The project lives on GitHub, where you can read the source code and the README.
What can you do with it?
- Ask the AI to edit code from a plain-language request
- Work directly on your git project, with real diffs to review
- Run everything from the terminal, with no editor plugin needed
- Use it alongside your normal git workflow
It suits developers who live in the terminal and want an AI partner that respects their repository.
How to install Aider
The project's page lists cloning the repository as the quick start. Open a terminal and run:
git clone https://github.com/Aider-AI/aider.gitTo get the aider command itself, the README's getting started guide uses the installer package. Run:
python -m pip install aider-installThen run:
aider-installSee the installation guide in the README for the full details. Aider also needs an LLM API key to run, since it calls a model to write the code — set one up before your first session.
First steps after installing
Open a git project, start Aider, and ask for a small change — a function rename or a tiny bug fix. Review the diff it produces before accepting it. Once you trust the loop, give it a bigger job, such as adding a feature, and check the result with your tests before committing.
Frequently asked questions
Is Aider free? The tool is open source and free to install. Running it needs a model API key, which is billed by use.
Is it hard to install? No. Clone the repo, then run the installer package from the README.
How do I uninstall it? The project README does not list uninstall steps, so check the README on the project's GitHub page for the exact removal instructions.
Comments (0)