Skip to main content
Article·aider.chat
ai-codingterminalpair-programminggit-integration

Aider

Aider is a terminal-based AI pair programming tool. It offers deep Git integration, automated commits, and diff-based editing. It supports multiple LLM providers to streamline code development directly in your local repository.

beginner5 min4 steps
The play
  1. Install Aider
    Use pip to install aider. Make sure you have Python installed.
  2. Configure your LLM Provider
    Set your OpenAI API key or configure another supported LLM provider.
  3. Run Aider in your Git Repo
    Navigate to your git repository in the terminal and run aider. Add the files you want Aider to work on.
  4. Start Chatting with Aider
    Start giving instructions. For example: "Add a function that calculates the average of a list of numbers". Aider will modify the files and automatically commit changes to git.
Starter code
# No specific starter code needed, Aider works with existing projects.
Source
Aider — Action Pack