# llm mit Homebrew, apt, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für llm in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:llm
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install llm
```

  Evidenz: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install llm
```

  Evidenz: Debian stable package indexes: llm from https://deb.debian.org/debian/dists/stable/contrib/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#llm
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/ll/llm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Paketfakten

- **Paketschlüssel:** brew:llm
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/llm>
- **Version:** 0.31.1
- **Quellzusammenfassung:** Access large language models from the command-line
- **Homepage:** <https://llm.datasette.io/>
- **Upstream-Dokumentation:** <https://llm.datasette.io/>
- **Lizenz:** Apache-2.0
- **Quellarchiv:** <https://files.pythonhosted.org/packages/02/2a/ac37d94f6ac91d501475d80a0a1d8fb6bce392f9d7b483bf87257342e0b7/llm-0.31.1.tar.gz>
- **Zuletzt aktualisiert:** 2026-07-10T19:29:48Z
- **Generiert:** 2026-08-04T22:13:35+00:00

## Executables

- llm (cli)
- llm (Alias)

## Abhängigkeiten

- certifi
- libyaml
- pydantic
- python@3.14

## Build-Abhängigkeiten

- rust

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version und Aktualität

- Seite generiert: 2026-08-04
- Manager-Version: 0.31.1
- Manager aktualisiert: 2026-07-10
- lokale Daten: OK
- Upstream-Repository: https://llm.datasette.io/
- Info: Release/tag comparison is only available for GitHub repositories.
## Projektgeschichte und Nutzung

LLM is Simon Willison's command-line tool and Python library for working with large language models. It started as an OpenAI-focused CLI in 2023 and evolved into a plugin-based interface for remote APIs, local models, embeddings, prompt templates, logging, attachments, schemas, and tool use.

### Projektgeschichte

The changelog records version 0.1 on April 1, 2023 as the initial prototype release. Version 0.5 on July 12, 2023 added a plugin mechanism for additional language models, a key change that moved LLM beyond a single-provider OpenAI wrapper.

During 2023 and 2024, LLM added chat, embeddings, templates, SQLite logging and search, model aliases, attachments, async models, and broader provider support. In May 2025, version 0.26 added tool support, letting models execute Python functions through the CLI and Python API.

### Adoptionsgeschichte

LLM became part of the Datasette-adjacent command-line culture around small composable tools, SQLite-backed logs, and plugin systems. Homebrew, Debian, and Nix packaging made it easy to install as a normal developer utility rather than only as a Python package.

Its adoption expanded with the growth of provider-specific plugins and local-model integrations, giving users one command-line interface across OpenAI, Anthropic, Gemini, Ollama-backed models, and many community plugins.

### Wie es verwendet wird

Common uses include running one-off prompts from the shell, piping files into a model, starting interactive chats, storing API keys, saving prompt templates, logging responses to SQLite, generating embeddings, and calling models from Python code.

The documented configuration paths and keys.json locations matter to package users because Homebrew installs the executable, while user-specific model keys, templates, logs, and extra model definitions live outside the package prefix.

### Warum Paket-Nerds sich dafür interessieren

LLM is package-nerd significant because it turns rapidly changing AI APIs into a stable Unix-style command with plugins. The packaging story is unusually important: users want a single binary-ish command in PATH, but the real extension surface is Python plugins and user configuration.

It is also a useful example of modern CLI state management: credentials, templates, provider models, logs, and tool definitions are intentionally external to the package, so upgrades can move the application forward without overwriting user data.

### Zeitleiste

- 2023-04-01: LLM 0.1 initial prototype release.
- 2023-07-12: LLM 0.5 added the plugin mechanism for additional language models.
- 2024-10-29: LLM 0.17 added attachment support for multimodal models.
- 2025-05-27: LLM 0.26 added tool support.
- 2026-06-09: LLM 0.32a3 appeared in the changelog with tool-call and human-in-the-loop improvements.

### Related projects

- Datasette is related through the broader Simon Willison/Datasette tooling ecosystem and the io.datasette.llm application data namespace.
- LLM plugins such as provider adapters and local-model integrations are central to the project's architecture.
- SQLite is related through LLM's prompt and response logging features.

### Quellen

- <https://formulae.brew.sh/formula/llm>
- <https://github.com/simonw/llm>
- <https://github.com/simonw/llm/releases/tag/0.1>
- <https://llm.datasette.io/>
- <https://llm.datasette.io/en/stable/changelog.html>
- <https://llm.datasette.io/en/stable/setup.html>


## Sicherheitshinweise

Für llm wurde kein passendes lokales Secret-Handling-Manifest gefunden. Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Linux: ~/.config/io.datasette.llm/, ~/.config/io.datasette.llm/templates/*.yaml, ~/.config/io.datasette.llm/extra-openai-models.yaml
- macOS: ~/Library/Application Support/io.datasette.llm/, ~/Library/Application Support/io.datasette.llm/templates/*.yaml, ~/Library/Application Support/io.datasette.llm/extra-openai-models.yaml

## Credential files

- Linux: ~/.config/io.datasette.llm/keys.json
- macOS: ~/Library/Application Support/io.datasette.llm/keys.json
## Details aus der Quelldatenbank

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** llm
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Andere Paketmanager-Einträge

- Debian apt - llm - 0.23-1: normalized package name match | Debian stable package indexes: llm from https://deb.debian.org/debian/dists/stable/contrib/binary-amd64/Packages.xz | CLI utility and Python library for interacting with Large Language Models | https://github.com/simonw/llm
- Nix - llm: normalized package name match | nixpkgs package indexes: pkgs/by-name/ll/llm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Verwandte Links

- [MCP tool packages](https://pkg.so/de/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [AI and agent packages](https://pkg.so/de/ai-agent-tools/) - Matched AI model, agent, coding-agent, orchestration, or MCP metadata.
- [Terminal utility packages](https://pkg.so/de/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/de/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [python@3.14](https://pkg.so/de/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [rust](https://pkg.so/de/brew/rust/) - Build dependency declared by Homebrew.
- [mlx-lm](https://pkg.so/de/brew/mlx-lm/) - Shares pkgdb curated category or tags: ai, cli, large-language-models, model-tools.
- [ollama](https://pkg.so/de/brew/ollama/) - Shares pkgdb curated category or tags: ai, cli, model-tools.
- [llama.cpp](https://pkg.so/de/brew/llama-cpp/) - Shares pkgdb curated category or tags: ai, cli, model-tools.
- [llmfit](https://pkg.so/de/brew/llmfit/) - Shares pkgdb curated category or tags: ai, cli, model-tools.
- [cliproxyapi](https://pkg.so/de/brew/cliproxyapi/) - Shares pkgdb curated category or tags: ai, cli, model-tools.
- [ramalama](https://pkg.so/de/brew/ramalama/) - Shares pkgdb curated category or tags: ai, cli, model-tools.
- [apfel](https://pkg.so/de/brew/apfel/) - Shares pkgdb curated category or tags: ai, cli, model-tools.
- [aichat](https://pkg.so/de/brew/aichat/) - Shares pkgdb curated category or tags: ai, cli, model-tools.
- [oterm](https://pkg.so/de/brew/oterm/) - Both packages touch the same language runtime or ecosystem. Shared terms: ai, certifi, cli, libyaml, llm.
- [rapid-mlx](https://pkg.so/de/brew/rapid-mlx/) - Both packages touch the same language runtime or ecosystem. Shared terms: ai, certifi, cli, libyaml, llm.

## Combined YAML source

View the package source record on GitHub. [combined/llm.yml](https://github.com/mxcl/pkgdb/blob/main/combined/llm.yml)


## Quellen

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
