A battle-tested Aider config using Gemini 2.0 Flash for fast, cost-effective AI pair programming with git integration
Configure Aider to use Google's Gemini 2.0 Flash model for fast, cost-effective AI pair programming with automatic git integration.
This configuration sets up Aider with:
1. **Create the configuration file** in your project root or home directory:
```bash
# Project-specific (recommended)
touch .aider.conf.yml
# Or global config
touch ~/.aider.conf.yml
```
2. **Add the configuration**:
```yaml
provider: gemini
model: gemini-2.0-flash-exp
```
3. **Set your Gemini API key** (if not already set):
```bash
export GEMINI_API_KEY="your-api-key-here"
```
4. **Start Aider** and it will automatically use this configuration:
```bash
aider
```
```yaml
provider: anthropic
model: sonnet
```
Don't forget to set: `export ANTHROPIC_API_KEY="your-key"`
```yaml
alias:
- "qwen:ollama_chat/qwen2.5-coder:7b"
```
Then run: `aider --model qwen`
```yaml
model: gemini-2.0-flash-thinking-exp # For reasoning tasks
model: gemini-1.5-pro # For complex analysis
```
```yaml
auto-commits: true
files:
- src/**/*.py
- tests/**/*.py
git-dname: .
dark-mode: true
```
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/aider-configuration-for-gemini-flash/raw