diff --git a/aider/website/_includes/get-started.md b/aider/website/_includes/get-started.md index d5d3ff8c6..eb15d2797 100644 --- a/aider/website/_includes/get-started.md +++ b/aider/website/_includes/get-started.md @@ -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 diff --git a/aider/website/_includes/install.md b/aider/website/_includes/install.md new file mode 100644 index 000000000..f42be5656 --- /dev/null +++ b/aider/website/_includes/install.md @@ -0,0 +1,5 @@ + +```bash +python -m pip install aider-install +aider-install +``` diff --git a/aider/website/docs/llms/bedrock.md b/aider/website/docs/llms/bedrock.md index 5d31beac7..51a7d0822 100644 --- a/aider/website/docs/llms/bedrock.md +++ b/aider/website/docs/llms/bedrock.md @@ -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). diff --git a/aider/website/docs/llms/gemini.md b/aider/website/docs/llms/gemini.md index 8cd70d5de..719f51760 100644 --- a/aider/website/docs/llms/gemini.md +++ b/aider/website/docs/llms/gemini.md @@ -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= # Mac/Linux setx GEMINI_API_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 +```