mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
copy
This commit is contained in:
parent
7a50b7779a
commit
84c3ac93ef
4 changed files with 50 additions and 23 deletions
|
@ -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
|
||||
python -m pip install aider-install
|
||||
aider-install
|
||||
|
||||
# Change directory into your codebase
|
||||
cd /to/your/project
|
||||
|
||||
|
|
5
aider/website/_includes/install.md
Normal file
5
aider/website/_includes/install.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
|
||||
```bash
|
||||
python -m pip install aider-install
|
||||
aider-install
|
||||
```
|
|
@ -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.
|
||||
```
|
||||
|
||||
## 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
|
||||
|
||||
|
@ -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.
|
||||
|
||||
## 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
|
||||
|
||||
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).
|
||||
|
|
|
@ -7,17 +7,23 @@ nav_order: 300
|
|||
|
||||
You'll need a [Gemini API key](https://aistudio.google.com/app/u/2/apikey).
|
||||
|
||||
```
|
||||
python -m pip install -U aider-chat
|
||||
First, install aider:
|
||||
|
||||
# You may need to install google-generativeai
|
||||
pip install -U google-generativeai
|
||||
{% include install.md %}
|
||||
|
||||
# Or with pipx...
|
||||
pipx inject aider-chat google-generativeai
|
||||
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:
|
||||
aider --model gemini-2.5-pro
|
||||
|
@ -26,3 +32,15 @@ aider --model gemini-2.5-pro
|
|||
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
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue