mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
copy
This commit is contained in:
parent
fd935d8534
commit
f898d7e4d7
1 changed files with 21 additions and 27 deletions
|
@ -25,19 +25,13 @@ 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).
|
[Anthropic API key](https://docs.anthropic.com/claude/reference/getting-started-with-the-api).
|
||||||
|
|
||||||
|
|
||||||
|
{: .tip }
|
||||||
## Windows install
|
Using a Python
|
||||||
|
[virtual environment](https://docs.python.org/3/library/venv.html){:target="_blank"}
|
||||||
```
|
is recommended.
|
||||||
# Install aider
|
Or, you could
|
||||||
python -m pip install aider-chat
|
[use pipx to install aider](/docs/install/pipx.html)
|
||||||
|
once for your whole system.
|
||||||
# To work with GPT-4o:
|
|
||||||
$ aider --4o --openai-api-key sk-xxx...
|
|
||||||
|
|
||||||
# To work with Claude 3.5 Sonnet:
|
|
||||||
$ aider --sonnet --anthropic-api-key sk-xxx...
|
|
||||||
```
|
|
||||||
|
|
||||||
## Mac/Linux install
|
## Mac/Linux install
|
||||||
|
|
||||||
|
@ -52,23 +46,23 @@ $ aider --4o --openai-api-key sk-xxx...
|
||||||
$ aider --sonnet --anthropic-api-key sk-xxx...
|
$ aider --sonnet --anthropic-api-key sk-xxx...
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Windows install
|
||||||
|
|
||||||
|
```
|
||||||
|
# Install aider
|
||||||
|
python -m pip install aider-chat
|
||||||
|
|
||||||
|
# To work with GPT-4o:
|
||||||
|
$ aider --4o --openai-api-key sk-xxx...
|
||||||
|
|
||||||
|
# To work with Claude 3.5 Sonnet:
|
||||||
|
$ aider --sonnet --anthropic-api-key sk-xxx...
|
||||||
|
```
|
||||||
|
|
||||||
{: .tip }
|
{: .tip }
|
||||||
Using a Python
|
|
||||||
[virtual environment](https://docs.python.org/3/library/venv.html){:target="_blank"}
|
|
||||||
is recommended.
|
|
||||||
Or, you could
|
|
||||||
[use pipx to install aider](/docs/install/pipx.html)
|
|
||||||
once for your whole system.
|
|
||||||
|
|
||||||
## Running aider as a module
|
|
||||||
|
|
||||||
In some environments the `aider` command may not be available
|
In some environments the `aider` command may not be available
|
||||||
on your shell path.
|
on your shell path.
|
||||||
You can also run aider as a module, like this:
|
You can also run aider like this: `python -m aider`
|
||||||
|
|
||||||
```
|
|
||||||
$ python -m aider (...rest of aider args...)
|
|
||||||
```
|
|
||||||
|
|
||||||
## Working with other LLMs
|
## Working with other LLMs
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue