pip install -> pip install -U

This commit is contained in:
Paul Gauthier 2024-09-26 11:40:48 -07:00
parent 5e419ef8a6
commit 6b6f682a94
21 changed files with 23 additions and 23 deletions

View file

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

View file

@ -209,7 +209,7 @@ that aider originally used.
Switching from ctags to tree-sitter provides a bunch of benefits: Switching from ctags to tree-sitter provides a bunch of benefits:
- The map is richer, showing full function call signatures and other details straight from the source files. - The map is richer, showing full function call signatures and other details straight from the source files.
- Thanks to `py-tree-sitter-languages`, we get full support for many programming languages via a python package that's automatically installed as part of the normal `python -m pip install aider-chat`. - Thanks to `py-tree-sitter-languages`, we get full support for many programming languages via a python package that's automatically installed as part of the normal `python -m pip install -U aider-chat`.
- We remove the requirement for users to manually install `universal-ctags` via some external tool or package manager (brew, apt, choco, etc). - We remove the requirement for users to manually install `universal-ctags` via some external tool or package manager (brew, apt, choco, etc).
- Tree-sitter integration is a key enabler for future work and capabilities for aider. - Tree-sitter integration is a key enabler for future work and capabilities for aider.

View file

@ -23,7 +23,7 @@ making it the best available model for pair programming with AI.
To use Claude 3 Opus with aider: To use Claude 3 Opus with aider:
``` ```
python -m pip install aider-chat python -m pip install -U aider-chat
export ANTHROPIC_API_KEY=sk-... export ANTHROPIC_API_KEY=sk-...
aider --opus aider --opus
``` ```

View file

@ -46,7 +46,7 @@ It also supports [connecting to almost any LLM](https://aider.chat/docs/llms.htm
Use the `--browser` switch to launch the browser version of aider: Use the `--browser` switch to launch the browser version of aider:
``` ```
python -m pip install aider-chat python -m pip install -U aider-chat
export OPENAI_API_KEY=<key> # Mac/Linux export OPENAI_API_KEY=<key> # Mac/Linux
setx OPENAI_API_KEY <key> # Windows, restart shell after setx setx OPENAI_API_KEY <key> # Windows, restart shell after setx

View file

@ -116,7 +116,7 @@ for more details, but
you can get started quickly with aider and Sonnet like this: you can get started quickly with aider and Sonnet like this:
``` ```
$ python -m pip install aider-chat $ python -m pip install -U aider-chat
$ export ANTHROPIC_API_KEY=<key> # Mac/Linux $ export ANTHROPIC_API_KEY=<key> # Mac/Linux
$ setx ANTHROPIC_API_KEY <key> # Windows, restart shell after setx $ setx ANTHROPIC_API_KEY <key> # Windows, restart shell after setx

View file

@ -30,7 +30,7 @@ included for scale.
You can code with all of these models using aider like this: You can code with all of these models using aider like this:
``` ```
$ python -m pip install aider-chat $ python -m pip install -U aider-chat
# Change directory into a git repo to work on # Change directory into a git repo to work on
$ cd /to/your/git/repo $ cd /to/your/git/repo

View file

@ -31,7 +31,7 @@ To work with Anthropic's models like Claude 3.5 Sonnet you need a paid
``` ```
# Install aider # Install aider
python -m pip install aider-chat python -m pip install -U aider-chat
# To work with GPT-4o: # To work with GPT-4o:
$ aider --4o --openai-api-key sk-xxx... $ aider --4o --openai-api-key sk-xxx...
@ -44,7 +44,7 @@ $ aider --sonnet --anthropic-api-key sk-xxx...
``` ```
# Install aider # Install aider
python -m pip install aider-chat python -m pip install -U aider-chat
# To work with GPT-4o: # To work with GPT-4o:
$ aider --4o --openai-api-key sk-xxx... $ aider --4o --openai-api-key sk-xxx...

View file

@ -14,7 +14,7 @@ Aider has some built in shortcuts for the most popular Anthropic models and
has been tested and benchmarked to work well with them: has been tested and benchmarked to work well with them:
``` ```
python -m pip install aider-chat python -m pip install -U aider-chat
export ANTHROPIC_API_KEY=<key> # Mac/Linux export ANTHROPIC_API_KEY=<key> # Mac/Linux
setx ANTHROPIC_API_KEY <key> # Windows, restart shell after setx setx ANTHROPIC_API_KEY <key> # Windows, restart shell after setx

View file

@ -8,7 +8,7 @@ nav_order: 500
Aider can connect to the OpenAI models on Azure. Aider can connect to the OpenAI models on Azure.
``` ```
python -m pip install aider-chat python -m pip install -U aider-chat
# Mac/Linux: # Mac/Linux:
export AZURE_API_KEY=<key> export AZURE_API_KEY=<key>

View file

@ -13,7 +13,7 @@ You'll need a [Cohere API key](https://dashboard.cohere.com/welcome/login).
To use **Command-R+**: To use **Command-R+**:
``` ```
python -m pip install aider-chat python -m pip install -U aider-chat
export COHERE_API_KEY=<key> # Mac/Linux export COHERE_API_KEY=<key> # Mac/Linux
setx COHERE_API_KEY <key> # Windows, restart shell after setx setx COHERE_API_KEY <key> # Windows, restart shell after setx

View file

@ -9,7 +9,7 @@ Aider can connect to the DeepSeek.com API.
The DeepSeek Coder V2 model has a top score on aider's code editing benchmark. The DeepSeek Coder V2 model has a top score on aider's code editing benchmark.
``` ```
python -m pip install aider-chat python -m pip install -U aider-chat
export DEEPSEEK_API_KEY=<key> # Mac/Linux export DEEPSEEK_API_KEY=<key> # Mac/Linux
setx DEEPSEEK_API_KEY <key> # Windows, restart shell after setx setx DEEPSEEK_API_KEY <key> # Windows, restart shell after setx

View file

@ -12,7 +12,7 @@ with code editing capability that's comparable to GPT-3.5.
You'll need a [Gemini API key](https://aistudio.google.com/app/u/2/apikey). You'll need a [Gemini API key](https://aistudio.google.com/app/u/2/apikey).
``` ```
python -m pip install aider-chat python -m pip install -U aider-chat
export GEMINI_API_KEY=<key> # Mac/Linux export GEMINI_API_KEY=<key> # Mac/Linux
setx GEMINI_API_KEY <key> # Windows, restart shell after setx setx GEMINI_API_KEY <key> # Windows, restart shell after setx

View file

@ -13,7 +13,7 @@ You'll need a [Groq API key](https://console.groq.com/keys).
To use **Llama3 70B**: To use **Llama3 70B**:
``` ```
python -m pip install aider-chat python -m pip install -U aider-chat
export GROQ_API_KEY=<key> # Mac/Linux export GROQ_API_KEY=<key> # Mac/Linux
setx GROQ_API_KEY <key> # Windows, restart shell after setx setx GROQ_API_KEY <key> # Windows, restart shell after setx

View file

@ -15,7 +15,7 @@ ollama pull <model>
ollama serve ollama serve
# In another terminal window... # In another terminal window...
python -m pip install aider-chat python -m pip install -U aider-chat
export OLLAMA_API_BASE=http://127.0.0.1:11434 # Mac/Linux export OLLAMA_API_BASE=http://127.0.0.1:11434 # Mac/Linux
setx OLLAMA_API_BASE http://127.0.0.1:11434 # Windows, restart shell after setx setx OLLAMA_API_BASE http://127.0.0.1:11434 # Windows, restart shell after setx

View file

@ -8,7 +8,7 @@ nav_order: 500
Aider can connect to any LLM which is accessible via an OpenAI compatible API endpoint. Aider can connect to any LLM which is accessible via an OpenAI compatible API endpoint.
``` ```
python -m pip install aider-chat python -m pip install -U aider-chat
# Mac/Linux: # Mac/Linux:
export OPENAI_API_BASE=<endpoint> export OPENAI_API_BASE=<endpoint>

View file

@ -14,7 +14,7 @@ Aider has some built in shortcuts for the most popular OpenAI models and
has been tested and benchmarked to work well with them: has been tested and benchmarked to work well with them:
``` ```
python -m pip install aider-chat python -m pip install -U aider-chat
export OPENAI_API_KEY=<key> # Mac/Linux export OPENAI_API_KEY=<key> # Mac/Linux
setx OPENAI_API_KEY <key> # Windows, restart shell after setx setx OPENAI_API_KEY <key> # Windows, restart shell after setx

View file

@ -9,7 +9,7 @@ Aider can connect to [models provided by OpenRouter](https://openrouter.ai/model
You'll need an [OpenRouter API key](https://openrouter.ai/keys). You'll need an [OpenRouter API key](https://openrouter.ai/keys).
``` ```
python -m pip install aider-chat python -m pip install -U aider-chat
export OPENROUTER_API_KEY=<key> # Mac/Linux export OPENROUTER_API_KEY=<key> # Mac/Linux
setx OPENROUTER_API_KEY <key> # Windows, restart shell after setx setx OPENROUTER_API_KEY <key> # Windows, restart shell after setx
@ -24,7 +24,7 @@ aider --list-models openrouter/
In particular, many aider users access Sonnet via OpenRouter: In particular, many aider users access Sonnet via OpenRouter:
``` ```
python -m pip install aider-chat python -m pip install -U aider-chat
export OPENROUTER_API_KEY=<key> # Mac/Linux export OPENROUTER_API_KEY=<key> # Mac/Linux
setx OPENROUTER_API_KEY <key> # Windows, restart shell after setx setx OPENROUTER_API_KEY <key> # Windows, restart shell after setx

View file

@ -17,7 +17,7 @@ You may see an error message like this:
Below is the most fail safe way to install and run aider in these situations: Below is the most fail safe way to install and run aider in these situations:
``` ```
python -m pip install aider-chat python -m pip install -U aider-chat
python -m aider python -m aider
``` ```

View file

@ -48,7 +48,7 @@ and sometimes introduces bugs or backwards incompatible changes.
## Replit ## Replit
You can `pip install aider-chat` on replit. You can `pip install -U aider-chat` on replit.
Or you can install aider with Or you can install aider with
pipx as follows: pipx as follows:

View file

@ -48,7 +48,7 @@ It also supports [connecting to almost any LLM](https://aider.chat/docs/llms.htm
Use the `--browser` switch to launch the browser version of aider: Use the `--browser` switch to launch the browser version of aider:
``` ```
python -m pip install aider-chat python -m pip install -U aider-chat
export OPENAI_API_KEY=<key> # Mac/Linux export OPENAI_API_KEY=<key> # Mac/Linux
setx OPENAI_API_KEY <key> # Windows, restart shell after setx setx OPENAI_API_KEY <key> # Windows, restart shell after setx

View file

@ -73,7 +73,7 @@ cog.out(open("aider/website/_includes/get-started.md").read())
You can get started quickly like this: You can get started quickly like this:
``` ```
python -m pip install aider-chat python -m pip install -U aider-chat
# Change directory into a git repo # Change directory into a git repo
cd /to/your/git/repo cd /to/your/git/repo