llm/docs/plugins/installing-plugins.md
2023-07-10 12:48:25 -07:00

831 B

Installing plugins

Plugins must be installed in the same virtual environment as LLM itself.

You can find names of plugins to install in the llm-plugins repository.

Use the llm install command (a thin wrapper around pip install) to install plugins in the correct environment:

llm install llm-hello-world

Plugins can be uninstalled with llm uninstall:

llm uninstall llm-hello-world -y

The -y flag skips asking for confirmation.

Listing installed plugins

Run llm plugins to list installed plugins:

llm plugins
[
  {
    "name": "llm-hello-world",
    "hooks": [
      "register_commands"
    ],
    "version": "0.1"
  }
]

You can see additional models that have been added by plugins by running:

llm models list