Skip to content

Commit

Permalink
copy
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-gauthier committed Dec 17, 2024
1 parent 9b16f21 commit ecbac76
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 4 deletions.
24 changes: 21 additions & 3 deletions aider/website/docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 4 additions & 1 deletion aider/website/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit ecbac76

Please sign in to comment.