From 739d9051c6791301a29a4c8534119630da618550 Mon Sep 17 00:00:00 2001 From: Daniel Miessler Date: Fri, 28 Jun 2024 08:55:44 -0700 Subject: [PATCH] Update README.md --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index a9a6c85..0e01f3c 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,7 @@ - [Using the fabric client](#using-the-fabric-client) - [Just use the Patterns](#just-use-the-patterns) - [Create your own Fabric Mill](#create-your-own-fabric-mill) +- [Updating](#updating) - [Structure](#structure) - [Components](#components) - [CLI-native](#cli-native) @@ -196,6 +197,18 @@ fabric --help > [!NOTE] > If you're using the `server` functions, `fabric-api` and `fabric-webui` need to be run in distinct terminal windows. +## Updating + +To update Fabric, run the following commands. + +```bash +# From the fabric directory +pipx install . --force +fabric --update +``` + +Then restart your shell. + ### Using the `fabric` client If you want to use it with OpenAI API-compatible inference servers, such as [FastChat](https://github.com/lm-sys/FastChat), [Helmholtz Blablador](http://helmholtz-blablador.fz-juelich.de), [LM Studio](https://lmstudio.ai) and others, simply export the following environment variables: