Automic VaultAutomic Vault

brew

llm を Homebrew, apt, Nix でインストール

llm のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install llm

local Homebrew formula metadata

Linux

Debian apt確認済み · 92%
sudo apt install llm

Debian stable package indexes · llm · ソース: deb.debian.org

Nix確認済み · 92%
nix profile install nixpkgs#llm

nixpkgs package indexes · pkgs/by-name/ll/llm/package.nix · ソース: api.github.com

概要

パッケージ概要

Access large language models from the command-line

履歴

プロジェクトの歴史と使われ方

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.

プロジェクトの歴史

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.

採用の歴史

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.

使われ方

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.

パッケージ好きにとっての重要性

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.

タイムライン

  • 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.

セキュリティ状態

保護ツール対応はまだ見つかっていません

llm に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 4 件の実行時依存関係とともにインストールされます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

local files

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

Config paths the tool may read or write during local use.

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

Credential-bearing paths to review before unattended agent runs.

Linux
~/.config/io.datasette.llm/keys.json
macOS
~/Library/Application Support/io.datasette.llm/keys.json

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
llmcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版0.31.1
マネージャ更新日2026-07-10
ローカルデータOK
上流not checked
検出された最新未検出

https://llm.datasette.io/

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:llm
バージョン0.31.1
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/llm
ホームページhttps://llm.datasette.io/
リポジトリhttps://github.com/simonw/llm
上流ドキュメントhttps://llm.datasette.io/en/stable
ライセンスApache-2.0
ソースアーカイブhttps://files.pythonhosted.org/packages/02/2a/ac37d94f6ac91d501475d80a0a1d8fb6bce392f9d7b483bf87257342e0b7/llm-0.31.1.tar.gz
最終更新2026-07-10T19:29:48Z
Pulseupdated
依存関係certifi, libyaml, pydantic, python@3.14
ビルド依存関係rust
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namellm
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

llm 0.23-1

CLI utility and Python library for interacting with Large Language Models

https://github.com/simonw/llm

sudo apt install llm
  • Section: contrib/science
  • Architecture: all
  • 14 依存関係
  • normalized package name match
  • 一致条件: Llm
Debian stable package indexes · deb.debian.org · Debian stable package indexes: llm from https://deb.debian.org/debian/dists/stable/contrib/binary-amd64/Packages.xz
Nix95%

llm

nix profile install nixpkgs#llm
  • normalized package name match
  • 一致条件: Llm
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ll/llm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

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