From ac5fe2bd064e3e7c7f6cf7dfb98f01c790b75fa2 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sat, 17 Jun 2023 22:54:11 +0100 Subject: [PATCH] Upgrade instructions, refs #50 --- docs/setup.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/setup.md b/docs/setup.md index 9d93a6a..62dd1c2 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -14,6 +14,23 @@ Or using [Homebrew](https://brew.sh/): ```bash brew install simonw/llm/llm ``` + +## Upgrading to the latest version + +If you installed using `pip`: +```bash +pip install -U llm +``` +For `pipx`: +```bash +pipx upgrade llm +``` +For Homebrew: +```bash +brew tap --repair simonw/llm +brew upgrade simonw/llm/llm +``` + ## Authentication Many LLM models require an API key. These API keys can be provided to this tool using several different mechanisms.