Installation
Configuration & Launch
Option 1: Environment Variables (Recommended — persists across sessions)
Mac / Linux (zsh)
Mac / Linux (zsh)
Mac / Linux (bash)
Mac / Linux (bash)
Windows (PowerShell)
Windows (PowerShell)
Option 2: CLI Arguments (One-off use)
Using Anthropic Models
Using a .aider.conf.yml Config File
Create .aider.conf.yml in your project root to avoid passing flags every time:
Common Commands
Inside the Aider interactive session:Recommended Models
Aider automatically commits all changes to Git by default. Start from a clean Git state so you can easily roll back with
/undo.