CLI Command
The quickest way to use Aider with Lightweight is to pass the configuration flags directly:Aider requires the
openai/ prefix when using OpenAI-compatible providers. For example, use openai/claude-sonnet-4.5 instead of claude-sonnet-4.5.Environment Variable Alternative
If you prefer not to pass flags every time, set environment variables:- Bash / macOS / Linux
- PowerShell / Windows