You'll need a [Gemini API key](https://aistudio.google.com/app/u/2/apikey). First, install aider: {% include install.md %} Then configure your API keys: ```bash export GEMINI_API_KEY=<key> # Mac/Linux setx GEMINI_API_KEY <key> # Windows, restart shell after setx ``` Start working with aider and Gemini on your codebase: ```bash cd /to/your/project aider --model gemini aider --model gemini-exp aider --list-models gemini/ ```
Installs into .claude/skills of the current project.
Are you the author of 1159 Gemini 48668ea1?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tools-only-1159-gemini-48668ea1)
---
parent: Connecting to LLMs
nav_order: 300
---
# Gemini
You'll need a [Gemini API key](https://aistudio.google.com/app/u/2/apikey).
First, install aider:
{% include install.md %}
Then configure your API keys:
```bash
export GEMINI_API_KEY=<key> # Mac/Linux
setx GEMINI_API_KEY <key> # Windows, restart shell after setx
```
Start working with aider and Gemini on your codebase:
```bash
# Change directory into your codebase
cd /to/your/project
# You can run the Gemini 2.5 Pro model with this shortcut:
aider --model gemini
# You can run the Gemini 2.5 Pro Exp for free, with usage limits:
aider --model gemini-exp
# List models available from Gemini
aider --list-models gemini/
```