macOS
brew install modslocal Homebrew formula metadata
安装
brew install modslocal Homebrew formula metadata
sudo apk add modsAlpine Linux edge package indexes · mods · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#modsnixpkgs package indexes · pkgs/by-name/mo/mods/package.nix · 来源: api.github.com
scoop install main/modsScoop official bucket manifest trees · bucket/mods.json · 来源: api.github.com
winget install --id charmbracelet.mods -eWindows Package Manager source index · charmbracelet.mods · 来源: cdn.winget.microsoft.com
概览
AI on the command-line
历史
Mods is Charm Bracelet's command-line LLM tool, described by the project as "AI for the command line, built for pipelines." It was designed around Unix standard input and output: read command output or a prompt, send it to an LLM, and print formatted text such as Markdown, JSON, shell-oriented answers, or saved conversation output. That made it part of Charm's broader terminal tooling family rather than a GUI chatbot or application SDK.
The tool grew around provider flexibility. The README documents OpenAI-compatible endpoints, LocalAI, OpenAI, Cohere, Groq, Azure OpenAI, and Gemini, plus configuration through a settings file and environment variables. It also includes command-line affordances such as selecting models, custom roles, conversation save/list/show/delete commands, Markdown formatting, proxy settings, shell completions, and package installs through Homebrew, Winget, Arch, Nix, Debian/RPM packages, FreeBSD ports, binaries, and `go install`.
Charm announced that Mods was sunset and the repository archived on March 9, 2026 so the team could focus on Crush, with much of the non-interactive use case moving to `crush run`. That gives the package a clear historical place: an early pipeline-friendly AI CLI that helped normalize piping terminal output into LLMs, later superseded inside Charm's agentic terminal product line.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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/mods/mods.yml~/Library/Application Support/mods/mods.ymlCredential-bearing paths to review before unattended agent runs.
~/.config/mods/mods.yml~/Library/Application Support/mods/mods.yml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
mods | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/charmbracelet/mods
安装元数据
| 软件包键 | brew:mods |
|---|---|
| 版本 | 1.8.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/mods |
| 主页 | https://github.com/charmbracelet/mods |
| 仓库 | https://github.com/charmbracelet/mods |
| 上游文档 | https://github.com/charmbracelet/mods#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/charmbracelet/mods/archive/refs/tags/v1.8.1.tar.gz |
| 最后更新 | 2026-07-17T17:20:41+09:00 |
| Pulse | updated |
| 构建依赖 | go |
| 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 | mods |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | yes |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
mods
nix profile install nixpkgs#modsmods 1.8.1-r8
AI for the command line, built for pipelines.
https://github.com/charmbracelet/mods
sudo apk add modsmods-doc 1.8.1-r8
AI for the command line, built for pipelines. (documentation)
https://github.com/charmbracelet/mods
sudo apk add mods-docmain/mods
scoop install main/modscharmbracelet.mods
winget install --id charmbracelet.mods -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.