This commit is contained in:
Paul Gauthier 2024-12-14 20:52:20 -08:00
parent 8c79e5ccfb
commit 10b5aaa6a5
6 changed files with 27 additions and 34 deletions

View file

@ -53,10 +53,10 @@ aider-install
cd /to/your/git/repo
# Work with Claude 3.5 Sonnet on your repo
aider --anthropic-api-key=your-key-goes-here
aider --model sonnet --anthropic-api-key your-key-goes-here
# Work with GPT-4o on your repo
aider --openai-api-key=your-key-goes-here
aider --model gpt-4o --openai-api-key your-key-goes-here
```
<!--[[[end]]]-->

View file

@ -9,8 +9,8 @@ aider-install
cd /to/your/git/repo
# Work with Claude 3.5 Sonnet on your repo
aider --anthropic-api-key your-key-goes-here
aider --model sonnet --anthropic-api-key your-key-goes-here
# Work with GPT-4o on your repo
aider --openai-api-key your-key-goes-here
aider --model gpt-4o --openai-api-key your-key-goes-here
```

View file

@ -1,9 +1,5 @@
{: .tip }
The best way to install aider is with
Other recommended ways to install aider are via
[pipx](/docs/install/pipx.html)
or
[uv](/docs/install/uv.html)
once for your whole system.
Or, using a python
[virtual environment](https://docs.python.org/3/library/venv.html){:target="_blank"}
is recommended.
[uv](/docs/install/uv.html).

View file

@ -1,6 +1,3 @@
{"event": "exit", "properties": {"reason": "Control-C"}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1733786363}
{"event": "launched", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1733786366}
{"event": "repo", "properties": {"num_files": 404}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1733786366}
{"event": "cli session", "properties": {"main_model": "claude-3-5-sonnet-20241022", "weak_model": "claude-3-5-sonnet-20241022", "editor_model": "claude-3-5-sonnet-20241022", "edit_format": "diff"}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1733786366}
{"event": "command_run", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1733786369}
{"event": "command_exit", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1733786379}
@ -998,3 +995,6 @@
{"event": "launched", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1734198621}
{"event": "repo", "properties": {"num_files": 411}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1734198623}
{"event": "exit", "properties": {"reason": "Completed lint/test/commit"}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1734198626}
{"event": "launched", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1734227059}
{"event": "gui session", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1734227059}
{"event": "exit", "properties": {"reason": "GUI session ended"}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1734227059}

View file

@ -6,29 +6,10 @@ nav_order: 10
# Installing aider
{: .no_toc }
- TOC
{:toc}
## Python version
Aider currently works with python 3.9-3.12.
## Install git
Make sure you have git installed.
Here are
[instructions for installing git in various environments](https://github.com/git-guides/install-git).
## Get your API key
To work with OpenAI's models like GPT-4o or GPT-3.5 you need a paid
[OpenAI API key](https://help.openai.com/en/articles/4936850-where-do-i-find-my-secret-api-key).
Note that this is different than being a "ChatGPT Plus" subscriber.
To work with Anthropic's models like Claude 3.5 Sonnet you need a paid
[Anthropic API key](https://docs.anthropic.com/claude/reference/getting-started-with-the-api).
{% include venv-pipx.md %}
## Mac/Linux install
@ -59,6 +40,22 @@ aider --sonnet --anthropic-api-key sk-xxx...
{% include python-m-aider.md %}
## Install git
Make sure you have git installed.
Here are
[instructions for installing git in various environments](https://github.com/git-guides/install-git).
## Get your API key
To work with OpenAI's models like GPT-4o or GPT-3.5 you need a paid
[OpenAI API key](https://help.openai.com/en/articles/4936850-where-do-i-find-my-secret-api-key).
Note that this is different than being a "ChatGPT Plus" subscriber.
To work with Anthropic's models like Claude 3.5 Sonnet you need a paid
[Anthropic API key](https://docs.anthropic.com/claude/reference/getting-started-with-the-api).
## Working with other LLMs
{% include works-best.md %}

View file

@ -80,10 +80,10 @@ aider-install
cd /to/your/git/repo
# Work with Claude 3.5 Sonnet on your repo
aider --anthropic-api-key=your-key-goes-here
aider --model sonnet --anthropic-api-key your-key-goes-here
# Work with GPT-4o on your repo
aider --openai-api-key=your-key-goes-here
aider --model gpt-4o --openai-api-key your-key-goes-here
```
<!-- NOOP -->