This commit is contained in:
Paul Gauthier 2025-04-20 10:37:14 -07:00
parent 7a50b7779a
commit 84c3ac93ef
4 changed files with 50 additions and 23 deletions

View file

@ -1,10 +1,13 @@
If you already have python 3.8-3.13 installed, you can get started quickly like this: If you already have python 3.8-3.13 installed, you can get started quickly like this.
First, install aider:
{% include install.md %}
Start working with aider on your codebase:
```bash ```bash
python -m pip install aider-install
aider-install
# Change directory into your codebase # Change directory into your codebase
cd /to/your/project cd /to/your/project

View file

@ -0,0 +1,5 @@
```bash
python -m pip install aider-install
aider-install
```

View file

@ -81,19 +81,6 @@ $env:AWS_SECRET_ACCESS_KEY = 'your_secret_key'
$env:AWS_REGION = 'us-west-2' # Put whichever AWS region that you'd like, that the Bedrock service supports. $env:AWS_REGION = 'us-west-2' # Put whichever AWS region that you'd like, that the Bedrock service supports.
``` ```
## Install boto3
You may need to install the `boto3` package.
```bash
# If you installed with aider-install or `uv tool`
uv tool run --from aider-chat pip install boto3
# Or with pipx...
pipx inject aider-chat boto3
# Or with pip
pip install -U boto3
```
## Get Started ## Get Started
@ -123,6 +110,20 @@ aider --list-models bedrock/
Make sure you have access to these models in your AWS account before attempting to use them with Aider. Make sure you have access to these models in your AWS account before attempting to use them with Aider.
## Install boto3
You may need to install the `boto3` package.
```bash
# If you installed with aider-install or `uv tool`
uv tool run --from aider-chat pip install boto3
# Or with pipx...
pipx inject aider-chat boto3
# Or with pip
pip install -U boto3
```
# More info # More info
For more information on Amazon Bedrock and its models, refer to the [official AWS documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-bedrock.html). For more information on Amazon Bedrock and its models, refer to the [official AWS documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-bedrock.html).

View file

@ -7,17 +7,23 @@ nav_order: 300
You'll need a [Gemini API key](https://aistudio.google.com/app/u/2/apikey). You'll need a [Gemini API key](https://aistudio.google.com/app/u/2/apikey).
``` First, install aider:
python -m pip install -U aider-chat
# You may need to install google-generativeai {% include install.md %}
pip install -U google-generativeai
# Or with pipx... Then configure your API keys:
pipx inject aider-chat google-generativeai
```bash
export GEMINI_API_KEY=<key> # Mac/Linux export GEMINI_API_KEY=<key> # Mac/Linux
setx GEMINI_API_KEY <key> # Windows, restart shell after setx 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: # You can run the Gemini 2.5 Pro model with:
aider --model gemini-2.5-pro aider --model gemini-2.5-pro
@ -26,3 +32,15 @@ aider --model gemini-2.5-pro
aider --list-models gemini/ aider --list-models gemini/
``` ```
You may need to install the `google-generativeai` package.
```bash
# If you installed with aider-install or `uv tool`
uv tool run --from aider-chat pip install google-generativeai
# Or with pipx...
pipx inject aider-chat google-generativeai
# Or with pip
pip install -U google-generativeai
```