Skip to content

Commit

Permalink
copy
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-gauthier committed Dec 15, 2024
1 parent 8c79e5c commit 10b5aaa
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 34 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]]]-->

Expand Down
4 changes: 2 additions & 2 deletions aider/website/_includes/get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
8 changes: 2 additions & 6 deletions aider/website/_includes/venv-pipx.md
Original file line number Diff line number Diff line change
@@ -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).
6 changes: 3 additions & 3 deletions aider/website/assets/sample-analytics.jsonl
Original file line number Diff line number Diff line change
@@ -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}
Expand Down Expand Up @@ -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}
35 changes: 16 additions & 19 deletions aider/website/docs/install/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 %}
Expand Down
4 changes: 2 additions & 2 deletions aider/website/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 -->

Expand Down

0 comments on commit 10b5aaa

Please sign in to comment.