From 6b6f682a947de03f4f9fc539388ba905941a0fb1 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 26 Sep 2024 11:40:48 -0700 Subject: [PATCH] pip install -> pip install -U --- aider/website/_includes/get-started.md | 2 +- aider/website/_posts/2023-10-22-repomap.md | 2 +- aider/website/_posts/2024-03-08-claude-3.md | 2 +- aider/website/_posts/2024-05-02-browser.md | 2 +- aider/website/_posts/2024-07-01-sonnet-not-lazy.md | 2 +- aider/website/_posts/2024-07-25-new-models.md | 2 +- aider/website/docs/install/install.md | 4 ++-- aider/website/docs/llms/anthropic.md | 2 +- aider/website/docs/llms/azure.md | 2 +- aider/website/docs/llms/cohere.md | 2 +- aider/website/docs/llms/deepseek.md | 2 +- aider/website/docs/llms/gemini.md | 2 +- aider/website/docs/llms/groq.md | 2 +- aider/website/docs/llms/ollama.md | 2 +- aider/website/docs/llms/openai-compat.md | 2 +- aider/website/docs/llms/openai.md | 2 +- aider/website/docs/llms/openrouter.md | 4 ++-- aider/website/docs/troubleshooting/aider-not-found.md | 2 +- aider/website/docs/troubleshooting/imports.md | 2 +- aider/website/docs/usage/browser.md | 2 +- aider/website/index.md | 2 +- 21 files changed, 23 insertions(+), 23 deletions(-) diff --git a/aider/website/_includes/get-started.md b/aider/website/_includes/get-started.md index 15a873e3a..7fabb5cbd 100644 --- a/aider/website/_includes/get-started.md +++ b/aider/website/_includes/get-started.md @@ -2,7 +2,7 @@ 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 cd /to/your/git/repo diff --git a/aider/website/_posts/2023-10-22-repomap.md b/aider/website/_posts/2023-10-22-repomap.md index 13073a448..6fe7655aa 100644 --- a/aider/website/_posts/2023-10-22-repomap.md +++ b/aider/website/_posts/2023-10-22-repomap.md @@ -209,7 +209,7 @@ that aider originally used. 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. -- 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). - Tree-sitter integration is a key enabler for future work and capabilities for aider. diff --git a/aider/website/_posts/2024-03-08-claude-3.md b/aider/website/_posts/2024-03-08-claude-3.md index e20e68e32..24186928d 100644 --- a/aider/website/_posts/2024-03-08-claude-3.md +++ b/aider/website/_posts/2024-03-08-claude-3.md @@ -23,7 +23,7 @@ making it the best available model for pair programming with AI. 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-... aider --opus ``` diff --git a/aider/website/_posts/2024-05-02-browser.md b/aider/website/_posts/2024-05-02-browser.md index bb6a90df4..8eca20ed2 100644 --- a/aider/website/_posts/2024-05-02-browser.md +++ b/aider/website/_posts/2024-05-02-browser.md @@ -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: ``` -python -m pip install aider-chat +python -m pip install -U aider-chat export OPENAI_API_KEY= # Mac/Linux setx OPENAI_API_KEY # Windows, restart shell after setx diff --git a/aider/website/_posts/2024-07-01-sonnet-not-lazy.md b/aider/website/_posts/2024-07-01-sonnet-not-lazy.md index 87c96964c..a2b665bea 100644 --- a/aider/website/_posts/2024-07-01-sonnet-not-lazy.md +++ b/aider/website/_posts/2024-07-01-sonnet-not-lazy.md @@ -116,7 +116,7 @@ for more details, but 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= # Mac/Linux $ setx ANTHROPIC_API_KEY # Windows, restart shell after setx diff --git a/aider/website/_posts/2024-07-25-new-models.md b/aider/website/_posts/2024-07-25-new-models.md index 68572d30f..67ffa45c5 100644 --- a/aider/website/_posts/2024-07-25-new-models.md +++ b/aider/website/_posts/2024-07-25-new-models.md @@ -30,7 +30,7 @@ included for scale. 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 $ cd /to/your/git/repo diff --git a/aider/website/docs/install/install.md b/aider/website/docs/install/install.md index 71cf419bf..3b7fa0f11 100644 --- a/aider/website/docs/install/install.md +++ b/aider/website/docs/install/install.md @@ -31,7 +31,7 @@ To work with Anthropic's models like Claude 3.5 Sonnet you need a paid ``` # Install aider -python -m pip install aider-chat +python -m pip install -U aider-chat # To work with GPT-4o: $ aider --4o --openai-api-key sk-xxx... @@ -44,7 +44,7 @@ $ aider --sonnet --anthropic-api-key sk-xxx... ``` # Install aider -python -m pip install aider-chat +python -m pip install -U aider-chat # To work with GPT-4o: $ aider --4o --openai-api-key sk-xxx... diff --git a/aider/website/docs/llms/anthropic.md b/aider/website/docs/llms/anthropic.md index 6671f6711..2a41b34e8 100644 --- a/aider/website/docs/llms/anthropic.md +++ b/aider/website/docs/llms/anthropic.md @@ -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: ``` -python -m pip install aider-chat +python -m pip install -U aider-chat export ANTHROPIC_API_KEY= # Mac/Linux setx ANTHROPIC_API_KEY # Windows, restart shell after setx diff --git a/aider/website/docs/llms/azure.md b/aider/website/docs/llms/azure.md index d1def1926..55686afa2 100644 --- a/aider/website/docs/llms/azure.md +++ b/aider/website/docs/llms/azure.md @@ -8,7 +8,7 @@ nav_order: 500 Aider can connect to the OpenAI models on Azure. ``` -python -m pip install aider-chat +python -m pip install -U aider-chat # Mac/Linux: export AZURE_API_KEY= diff --git a/aider/website/docs/llms/cohere.md b/aider/website/docs/llms/cohere.md index 99eea15b9..66ab3c842 100644 --- a/aider/website/docs/llms/cohere.md +++ b/aider/website/docs/llms/cohere.md @@ -13,7 +13,7 @@ You'll need a [Cohere API key](https://dashboard.cohere.com/welcome/login). To use **Command-R+**: ``` -python -m pip install aider-chat +python -m pip install -U aider-chat export COHERE_API_KEY= # Mac/Linux setx COHERE_API_KEY # Windows, restart shell after setx diff --git a/aider/website/docs/llms/deepseek.md b/aider/website/docs/llms/deepseek.md index 1c2bc33f3..361758427 100644 --- a/aider/website/docs/llms/deepseek.md +++ b/aider/website/docs/llms/deepseek.md @@ -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. ``` -python -m pip install aider-chat +python -m pip install -U aider-chat export DEEPSEEK_API_KEY= # Mac/Linux setx DEEPSEEK_API_KEY # Windows, restart shell after setx diff --git a/aider/website/docs/llms/gemini.md b/aider/website/docs/llms/gemini.md index 6d4ebdc9b..c8f045ac3 100644 --- a/aider/website/docs/llms/gemini.md +++ b/aider/website/docs/llms/gemini.md @@ -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). ``` -python -m pip install aider-chat +python -m pip install -U aider-chat export GEMINI_API_KEY= # Mac/Linux setx GEMINI_API_KEY # Windows, restart shell after setx diff --git a/aider/website/docs/llms/groq.md b/aider/website/docs/llms/groq.md index e239bcf73..f258e6848 100644 --- a/aider/website/docs/llms/groq.md +++ b/aider/website/docs/llms/groq.md @@ -13,7 +13,7 @@ You'll need a [Groq API key](https://console.groq.com/keys). To use **Llama3 70B**: ``` -python -m pip install aider-chat +python -m pip install -U aider-chat export GROQ_API_KEY= # Mac/Linux setx GROQ_API_KEY # Windows, restart shell after setx diff --git a/aider/website/docs/llms/ollama.md b/aider/website/docs/llms/ollama.md index 5914fd405..5fd19c25e 100644 --- a/aider/website/docs/llms/ollama.md +++ b/aider/website/docs/llms/ollama.md @@ -15,7 +15,7 @@ ollama pull ollama serve # 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 setx OLLAMA_API_BASE http://127.0.0.1:11434 # Windows, restart shell after setx diff --git a/aider/website/docs/llms/openai-compat.md b/aider/website/docs/llms/openai-compat.md index 74e037960..d35070ed7 100644 --- a/aider/website/docs/llms/openai-compat.md +++ b/aider/website/docs/llms/openai-compat.md @@ -8,7 +8,7 @@ nav_order: 500 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: export OPENAI_API_BASE= diff --git a/aider/website/docs/llms/openai.md b/aider/website/docs/llms/openai.md index df2761693..c8deb0913 100644 --- a/aider/website/docs/llms/openai.md +++ b/aider/website/docs/llms/openai.md @@ -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: ``` -python -m pip install aider-chat +python -m pip install -U aider-chat export OPENAI_API_KEY= # Mac/Linux setx OPENAI_API_KEY # Windows, restart shell after setx diff --git a/aider/website/docs/llms/openrouter.md b/aider/website/docs/llms/openrouter.md index e296a7abc..20888a33c 100644 --- a/aider/website/docs/llms/openrouter.md +++ b/aider/website/docs/llms/openrouter.md @@ -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). ``` -python -m pip install aider-chat +python -m pip install -U aider-chat export OPENROUTER_API_KEY= # Mac/Linux setx OPENROUTER_API_KEY # Windows, restart shell after setx @@ -24,7 +24,7 @@ aider --list-models 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= # Mac/Linux setx OPENROUTER_API_KEY # Windows, restart shell after setx diff --git a/aider/website/docs/troubleshooting/aider-not-found.md b/aider/website/docs/troubleshooting/aider-not-found.md index 47e38d170..12a610340 100644 --- a/aider/website/docs/troubleshooting/aider-not-found.md +++ b/aider/website/docs/troubleshooting/aider-not-found.md @@ -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: ``` -python -m pip install aider-chat +python -m pip install -U aider-chat python -m aider ``` diff --git a/aider/website/docs/troubleshooting/imports.md b/aider/website/docs/troubleshooting/imports.md index 4caad8902..59c97f5fa 100644 --- a/aider/website/docs/troubleshooting/imports.md +++ b/aider/website/docs/troubleshooting/imports.md @@ -48,7 +48,7 @@ and sometimes introduces bugs or backwards incompatible changes. ## Replit -You can `pip install aider-chat` on replit. +You can `pip install -U aider-chat` on replit. Or you can install aider with pipx as follows: diff --git a/aider/website/docs/usage/browser.md b/aider/website/docs/usage/browser.md index 1a4494c2a..a43122702 100644 --- a/aider/website/docs/usage/browser.md +++ b/aider/website/docs/usage/browser.md @@ -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: ``` -python -m pip install aider-chat +python -m pip install -U aider-chat export OPENAI_API_KEY= # Mac/Linux setx OPENAI_API_KEY # Windows, restart shell after setx diff --git a/aider/website/index.md b/aider/website/index.md index 948494db2..ebc41e2a4 100644 --- a/aider/website/index.md +++ b/aider/website/index.md @@ -73,7 +73,7 @@ cog.out(open("aider/website/_includes/get-started.md").read()) 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 cd /to/your/git/repo