include pip in uv installs

This commit is contained in:
Paul Gauthier 2025-05-11 07:56:55 -07:00
parent 2c4a126093
commit f018b5fab5
3 changed files with 9 additions and 9 deletions

View file

@ -28,12 +28,6 @@ These one-liners will install aider, along with python 3.12 if needed.
They are based on the They are based on the
[uv installers](https://docs.astral.sh/uv/getting-started/installation/). [uv installers](https://docs.astral.sh/uv/getting-started/installation/).
#### Windows
```powershell
powershell -ExecutionPolicy ByPass -c "irm https://aider.chat/install.ps1 | iex"
```
#### Mac & Linux #### Mac & Linux
Use curl to download the script and execute it with sh: Use curl to download the script and execute it with sh:
@ -48,6 +42,12 @@ If your system doesn't have curl, you can use wget:
wget -qO- https://aider.chat/install.sh | sh wget -qO- https://aider.chat/install.sh | sh
``` ```
#### Windows
```powershell
powershell -ExecutionPolicy ByPass -c "irm https://aider.chat/install.ps1 | iex"
```
## Install with uv ## Install with uv
@ -55,7 +55,7 @@ You can install aider with uv:
```bash ```bash
python -m pip install uv # If you need to install uv python -m pip install uv # If you need to install uv
uv tool install --force --python python3.12 aider-chat@latest uv tool install --force --python python3.12 --with pip aider-chat@latest
``` ```
This will install uv using your existing python version 3.8-3.13, This will install uv using your existing python version 3.8-3.13,

View file

@ -425,7 +425,7 @@ function Invoke-Installer($artifacts, $platforms) {
Write-Information "" Write-Information ""
Write-Information "Installing aider-chat..." Write-Information "Installing aider-chat..."
& "$dest_dir\uv.exe" tool install --force --python python3.12 aider-chat@latest & "$dest_dir\uv.exe" tool install --force --python python3.12 --with pip aider-chat@latest
if (-not $NoModifyPath) { if (-not $NoModifyPath) {
Add-Ci-Path $dest_dir Add-Ci-Path $dest_dir

View file

@ -1178,7 +1178,7 @@ install() {
say "Installing aider..." say "Installing aider..."
say "" say ""
# Install aider-chat using the newly installed uv # Install aider-chat using the newly installed uv
ensure "${_install_dir}/uv" tool install --force --python python3.12 aider-chat@latest ensure "${_install_dir}/uv" tool install --force --python python3.12 --with pip aider-chat@latest
# Avoid modifying the users PATH if they are managing their PATH manually # Avoid modifying the users PATH if they are managing their PATH manually
case :$PATH: case :$PATH: