mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-19 20:05:00 +00:00
copy
This commit is contained in:
parent
5e0cb8d658
commit
8d0c962f42
3 changed files with 25 additions and 10 deletions
|
@ -9,7 +9,9 @@ exclude aider/website/HISTORY.md
|
|||
exclude aider/website/docs/benchmarks*.md
|
||||
exclude aider/website/docs/ctags.md
|
||||
exclude aider/website/docs/unified-diffs.md
|
||||
|
||||
exclude aider/website/install.ps1
|
||||
exclude aider/website/install.sh
|
||||
|
||||
recursive-exclude aider/website/docs/leaderboards *
|
||||
recursive-exclude aider/website/assets *
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
|
||||
You can get started quickly like this, with python 3.8-3.13:
|
||||
If you already have python 3.8-3.13 installed, you can get started quickly like this:
|
||||
|
||||
```bash
|
||||
python -m pip install aider-install
|
||||
aider-install
|
||||
|
||||
# Change directory into your code base
|
||||
cd /to/your/git/repo
|
||||
cd /to/your/project
|
||||
|
||||
# Work with Claude 3.5 Sonnet on your repo
|
||||
# Work with Claude 3.5 Sonnet on your code
|
||||
aider --model sonnet --anthropic-api-key your-key-goes-here
|
||||
|
||||
# Work with GPT-4o on your repo
|
||||
# Work with GPT-4o on your code
|
||||
aider --model gpt-4o --openai-api-key your-key-goes-here
|
||||
```
|
||||
|
|
|
@ -19,6 +19,15 @@ aider-install will automatically install a separate version of python3.12 to use
|
|||
There are some [optional install steps](/docs/install/optional.html) you could consider.
|
||||
See the [usage instructions](https://aider.chat/docs/usage.html) to start coding with aider.
|
||||
|
||||
## One-liner for Windows
|
||||
|
||||
This one-liner will install aider, along with python3.12 if needed.
|
||||
It is based on the [uv installer for Windows](https://docs.astral.sh/uv/getting-started/installation/).
|
||||
|
||||
```powershell
|
||||
powershell -ExecutionPolicy ByPass -c "irm https://aider.chat/install.ps1 | iex"
|
||||
```
|
||||
|
||||
## Install with uv
|
||||
|
||||
A recommended way to install aider is with uv:
|
||||
|
@ -49,12 +58,14 @@ You can use pipx to install aider with python versions 3.9-3.12.
|
|||
Also see the
|
||||
[docs on other methods for installing pipx itself](https://pipx.pypa.io/stable/installation/).
|
||||
|
||||
## Other install methods
|
||||
|
||||
## Install with pip
|
||||
|
||||
You can directly install aider with pip, but one of the above
|
||||
You can install aider with the methods described below, but one of the above
|
||||
methods is usually safer.
|
||||
If you do install with pip, you should consider
|
||||
|
||||
#### Install with pip
|
||||
|
||||
If you install with pip, you should consider
|
||||
using a
|
||||
[virtual environment](https://docs.python.org/3/library/venv.html)
|
||||
to keep aider's dependencies separated.
|
||||
|
@ -75,9 +86,11 @@ aider --sonnet --anthropic-api-key sk-xxx...
|
|||
|
||||
{% include python-m-aider.md %}
|
||||
|
||||
## Installing with package managers
|
||||
#### Installing with package managers
|
||||
|
||||
It's best to install aider using aider-install, uv or pipx as described above.
|
||||
It's best to install aider using one of methods
|
||||
recommended above:
|
||||
aider-install, the one-liner, uv or pipx.
|
||||
While aider is available in a number of system package managers,
|
||||
they often install aider with incorrect dependencies.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue