refactor: simplify voice command and improve installation docs

This commit is contained in:
Paul Gauthier 2024-12-11 13:52:33 -08:00 committed by Paul Gauthier (aider)
parent fcb2bacd1e
commit f6b956dc8e
5 changed files with 20 additions and 31 deletions

View file

@ -1,16 +1,20 @@
## Avoid package conflicts
You can avoid python package conflicts by installing aider using
[pipx](/docs/install/pipx.html)
or
[uv](/docs/install/uv.html).
If you are using aider to work on a python project, sometimes your project will require
specific versions of python packages which conflict with the versions that aider
requires.
If this happens, the `python -m pip install` command may return errors like these:
If this happens, the `python -m pip install aide-chat` command may return errors like these:
```
aider-chat 0.23.0 requires somepackage==X.Y.Z, but you have somepackage U.W.V which is incompatible.
```
You can avoid this problem by installing aider using `pipx` or `uv`,
which will install it globally on your system
within its own python environment.
This way you can use aider to work on any python project,

View file

@ -5,13 +5,16 @@ nav_order: 100
# Install with pipx
Install [pipx](https://pipx.pypa.io/stable/) then do:
A recommended way to install aider is with pipx:
```
python -m pip install pipx # If you need to install pipx
pipx install aider-chat
```
See also the
[docs on other methods for installing pipx itself](https://pipx.pypa.io/stable/installation/).
## pipx on replit

View file

@ -5,11 +5,14 @@ nav_order: 100
# Install with uv
A recommended way to install aider is with uv:
Install [uv](https://docs.astral.sh/uv/getting-started/installation/) then do:
```
```bash
python -m pip install uv # If you need to install uv
uv tool install --python python3.12 aider-chat
```
See also the
[docs on other methods for installing uv itself](https://docs.astral.sh/uv/getting-started/installation/).
{% include conflicts.md %}