mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 12:24:59 +00:00
Merge branch 'main' into completions
This commit is contained in:
commit
c055602c6f
4 changed files with 11 additions and 11 deletions
|
@ -566,7 +566,7 @@ def get_parser(default_config_files, git_root):
|
||||||
"--analytics-log",
|
"--analytics-log",
|
||||||
metavar="ANALYTICS_LOG_FILE",
|
metavar="ANALYTICS_LOG_FILE",
|
||||||
help="Specify a file to log analytics events",
|
help="Specify a file to log analytics events",
|
||||||
)
|
).complete = shtab.FILE
|
||||||
group.add_argument(
|
group.add_argument(
|
||||||
"--analytics-disable",
|
"--analytics-disable",
|
||||||
action="store_true",
|
action="store_true",
|
||||||
|
@ -769,7 +769,7 @@ def get_parser(default_config_files, git_root):
|
||||||
"Specify the config file (default: search for .aider.conf.yml in git root, cwd"
|
"Specify the config file (default: search for .aider.conf.yml in git root, cwd"
|
||||||
" or home directory)"
|
" or home directory)"
|
||||||
),
|
),
|
||||||
)
|
).complete = shtab.FILE
|
||||||
# This is a duplicate of the argument in the preparser and is a no-op by this time of
|
# This is a duplicate of the argument in the preparser and is a no-op by this time of
|
||||||
# argument parsing, but it's here so that the help is displayed as expected.
|
# argument parsing, but it's here so that the help is displayed as expected.
|
||||||
group.add_argument(
|
group.add_argument(
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue