macOS
brew install llmlocal Homebrew formula metadata
安装
brew install llmlocal Homebrew formula metadata
nix profile install nixpkgs#llmnixpkgs 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.
安全态势
没有找到 llm 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
~/.config/io.datasette.llm/~/.config/io.datasette.llm/templates/*.yaml~/.config/io.datasette.llm/extra-openai-models.yaml~/Library/Application Support/io.datasette.llm/~/Library/Application Support/io.datasette.llm/templates/*.yaml~/Library/Application Support/io.datasette.llm/extra-openai-models.yamlCredential-bearing paths to review before unattended agent runs.
~/.config/io.datasette.llm/keys.json~/Library/Application Support/io.datasette.llm/keys.json可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
llm | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | 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 |
| Pulse | updated |
| 依赖 | certifi, libyaml, pydantic, python@3.14 |
| 构建依赖 | rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
llm 0.23-1
CLI utility and Python library for interacting with Large Language Models
sudo apt install llmllm
nix profile install nixpkgs#llm来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.