# Install llm

Access large language models from the command-line. Version 0.31 via Homebrew; verified 2026-05-21.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install llm
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install llm
```

  Evidence: 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
```

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

## Package Facts

- **Package key:** brew:llm
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/llm>
- **Version:** 0.31
- **Source summary:** Access large language models from the command-line
- **Homepage:** <https://llm.datasette.io/>
- **Repository:** <https://github.com/simonw/llm>
- **Upstream docs:** <https://llm.datasette.io/en/stable>
- **License:** Apache-2.0
- **Source archive:** <https://files.pythonhosted.org/packages/7d/f2/3a81744fdaf3a92fe9020dc298dd2e4c144e2e7fcab863e1a132ea537cab/llm-0.31.tar.gz>
- **Last updated:** 2026-05-21T13:16:12Z
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- llm (cli)
- llm (alias)

## Dependencies

- certifi
- libyaml
- pydantic
- python@3.14

## Build Dependencies

- rust

## Install Behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 0.31
- Package-manager updated: 2026-05-21
- Local data status: ok
- Upstream repository: https://llm.datasette.io/
- info: Release/tag comparison is only available for GitHub repositories.

## Sicherheitshinweise

no executable entrypoint in the package index.

- **Geiger risk:** green / low
- no executable entrypoint in the package index

## Source Database Details

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

## Other Package-Manager Records

- 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


## Related Links

- [MCP tool packages](https://www.automicvault.com/de/pkg/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [Terminal utility packages](https://www.automicvault.com/de/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/de/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/de/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [python@3.14](https://www.automicvault.com/de/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [rust](https://www.automicvault.com/de/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [llmfit](https://www.automicvault.com/de/pkg/brew/llmfit/) - Shares av.db curated category or tags: ai-tools, cli, developer-tools.
- [supabase-mcp-server](https://www.automicvault.com/de/pkg/brew/supabase-mcp-server/) - Shares av.db curated category or tags: ai-tools, cli, developer-tools.
- [crit](https://www.automicvault.com/de/pkg/brew/crit/) - Shares av.db curated category or tags: ai-tools, cli, developer-tools.
- [terraform-mcp-server](https://www.automicvault.com/de/pkg/brew/terraform-mcp-server/) - Shares av.db curated category or tags: ai-tools, cli, developer-tools.
- [hyper-mcp](https://www.automicvault.com/de/pkg/brew/hyper-mcp/) - Shares av.db curated category or tags: ai, cli, developer-tools, plugins.
- [rails-mcp-server](https://www.automicvault.com/de/pkg/brew/rails-mcp-server/) - Shares av.db curated category or tags: ai-tools, cli, developer-tools.
- [toktop](https://www.automicvault.com/de/pkg/brew/toktop/) - Shares av.db curated category or tags: ai-tools, cli, developer-tools.
- [qwen-code](https://www.automicvault.com/de/pkg/brew/qwen-code/) - Shares av.db curated category or tags: ai, cli, developer-tools.
- [mlx-lm](https://www.automicvault.com/de/pkg/brew/mlx-lm/) - Both packages touch the same language runtime or ecosystem. Shared terms: certifi, cli, developer, developer-tools, language.
- [pieces-cli](https://www.automicvault.com/de/pkg/brew/pieces-cli/) - Both packages touch the same language runtime or ecosystem. Shared terms: ai, certifi, cli, command-line, developer.
- [gptme](https://www.automicvault.com/de/pkg/brew/gptme/) - Both packages touch the same language runtime or ecosystem. Shared terms: ai, certifi, cli, developer, developer-tools.

## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
