docs: add bash syntax highlighting to code blocks in docs

This commit is contained in:
Paul Gauthier 2024-12-11 14:49:22 -08:00 committed by Paul Gauthier (aider)
parent 4dc3b9072e
commit 42ac891e28
4 changed files with 9 additions and 9 deletions

View file

@ -1,7 +1,7 @@
You can get started quickly like this:
```
```bash
python -m pip install -U aider-chat
# Change directory into a git repo

View file

@ -1,6 +1,6 @@
To use aider with pipx on replit, you can run these commands in the replit shell:
```
```bash
pip install pipx
pipx run aider-chat ...normal aider args...
```

View file

@ -33,28 +33,28 @@ To work with Anthropic's models like Claude 3.5 Sonnet you need a paid
## Mac/Linux install
```
```bash
# Install aider
python -m pip install -U --upgrade-strategy only-if-needed aider-chat
# To work with GPT-4o:
$ aider --4o --openai-api-key sk-xxx...
aider --4o --openai-api-key sk-xxx...
# To work with Claude 3.5 Sonnet:
$ aider --sonnet --anthropic-api-key sk-xxx...
aider --sonnet --anthropic-api-key sk-xxx...
```
## Windows install
```
```bash
# Install aider
python -m pip install -U --upgrade-strategy only-if-needed aider-chat
# To work with GPT-4o:
$ aider --4o --openai-api-key sk-xxx...
aider --4o --openai-api-key sk-xxx...
# To work with Claude 3.5 Sonnet:
$ aider --sonnet --anthropic-api-key sk-xxx...
aider --sonnet --anthropic-api-key sk-xxx...
```
{% include python-m-aider.md %}

View file

@ -7,7 +7,7 @@ nav_order: 100
A recommended way to install aider is with pipx:
```
```bash
python -m pip install pipx # If you need to install pipx
pipx install aider-chat
```