mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 14:55:00 +00:00
copy
This commit is contained in:
parent
9b16f2139d
commit
ecbac76cba
2 changed files with 25 additions and 4 deletions
|
@ -19,15 +19,33 @@ 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
|
||||
## One-liners
|
||||
|
||||
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/).
|
||||
These one-liners will install aider, along with python3.12 if needed.
|
||||
They are based on the
|
||||
[uv installers](https://docs.astral.sh/uv/getting-started/installation/).
|
||||
|
||||
#### Windows
|
||||
|
||||
```powershell
|
||||
powershell -ExecutionPolicy ByPass -c "irm https://aider.chat/install.ps1 | iex"
|
||||
```
|
||||
|
||||
#### Mac and Linux
|
||||
|
||||
Use curl to download the script and execute it with sh:
|
||||
|
||||
```bash
|
||||
$ curl -LsSf https://aider.chat/install.sh | sh
|
||||
```
|
||||
|
||||
If your system doesn't have curl, you can use wget:
|
||||
|
||||
```bash
|
||||
$ wget -qO- https://aider.chat/install.sh | sh
|
||||
```
|
||||
|
||||
|
||||
## Install with uv
|
||||
|
||||
A recommended way to install aider is with uv:
|
||||
|
|
|
@ -1172,7 +1172,7 @@ install() {
|
|||
say " $_lib_name"
|
||||
done
|
||||
|
||||
say "everything's installed!"
|
||||
say "uv is installed!"
|
||||
|
||||
# Avoid modifying the users PATH if they are managing their PATH manually
|
||||
case :$PATH:
|
||||
|
@ -1203,6 +1203,9 @@ install() {
|
|||
fi
|
||||
fi
|
||||
|
||||
say ""
|
||||
say "Installing aider..."
|
||||
say ""
|
||||
# Install aider-chat using the newly installed uv
|
||||
ensure "${_install_dir}/uv" tool install --force --python python3.12 aider-chat@latest
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue