macOS
brew install adr-toolslocal Homebrew formula metadata
安装
brew install adr-toolslocal Homebrew formula metadata
sudo apt install adr-toolsDebian stable package indexes · adr-tools · 来源: deb.debian.org
nix profile install nixpkgs#adr-toolsnixpkgs package indexes · pkgs/by-name/ad/adr-tools/package.nix · 来源: api.github.com
概览
CLI tool for working with Architecture Decision Records
历史
ADR Tools is Nat Pryce's shell-based command-line toolkit for creating and maintaining Architecture Decision Records in a source tree. It became one of the reference implementations for teams that wanted ADRs as simple numbered Markdown files rather than a hosted documentation system.
The project records its own first ADR on 2016-02-12, deciding to use Architecture Decision Records for its architecture decisions. Its README positions the tool around a log of ADRs, with Markdown records stored under a project subdirectory, defaulting to `doc/adr`.
ADR Tools deliberately uses Unix shell scripts. The project ADR directory includes decisions such as implementing the tool as shell scripts, using a single command with subcommands, storing records in Markdown, invoking `adr-config` for installation-specific configuration, and using ISO-8601 dates.
The 2018 release series added repository upgrades, ISO-8601 date format support, arbitrary links between ADRs, graph visualisation output, generated tables of contents, bash completion, better help text, Git Bash support on Windows, and parent-directory search for ADR directories.
ADR Tools adopted the same source-control-native posture as ADRs themselves: its install documentation recommends Homebrew on macOS, release archives or Git on Linux/macOS, Git Bash or WSL on Windows, and shell autocomplete installation where supported.
The provided package metadata shows distribution through Homebrew, Debian, Ubuntu, and Nix. The GitHub repository's large star and fork counts also reflect broad recognition among architecture-documentation users, but its day-to-day adoption is usually invisible because the generated ADR files live inside other projects' repositories.
The common workflow is `adr init` to create an ADR directory, `adr new` to create a numbered Markdown record, and `adr help` for subcommands. The README says new records are opened in the user's editor through `VISUAL` or `EDITOR`.
Teams use it to keep architectural decisions close to code, review them like any other text change, and link or supersede older decisions as architecture changes. Generated graphs and tables of contents make it useful beyond the first few records.
ADR Tools is package-nerd significant because it is a tiny shell distribution that turns an architectural practice into a Unix command. Its behavior is easy to audit, easy to vendor, and easy for package managers to ship without a runtime stack beyond POSIX-ish shell tooling.
It also shaped conventions that other tools follow, especially the default `doc/adr` directory and numbered Markdown filenames. That convention is visible in adr-viewer, which defaults to the same path because ADR Tools generates it.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
_adr_add_link | cli | 全局可执行文件 | |
_adr_autocomplete | cli | 全局可执行文件 | |
_adr_commands | cli | 全局可执行文件 | |
_adr_dir | cli | 全局可执行文件 | |
_adr_file | cli | 全局可执行文件 | |
_adr_generate_graph | cli | 全局可执行文件 | |
_adr_generate_toc | cli | 全局可执行文件 | |
_adr_help | cli | 全局可执行文件 | |
_adr_help_new | cli | 全局可执行文件 | |
_adr_links | cli | 全局可执行文件 | |
_adr_remove_status | cli | 全局可执行文件 | |
_adr_status | cli | 全局可执行文件 | |
_adr_title | cli | 全局可执行文件 | |
adr | cli | 全局可执行文件 | |
adr-config | cli | 全局可执行文件 | |
adr-generate | cli | 全局可执行文件 | |
adr-help | cli | 全局可执行文件 | |
adr-init | cli | 全局可执行文件 | |
adr-link | cli | 全局可执行文件 | |
adr-list | cli | 全局可执行文件 | |
adr-new | cli | 全局可执行文件 | |
adr-upgrade-repository | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/npryce/adr-tools
安装元数据
| 软件包键 | brew:adr-tools |
|---|---|
| 版本 | 3.0.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/adr-tools |
| 主页 | https://github.com/npryce/adr-tools |
| 仓库 | https://github.com/npryce/adr-tools |
| 上游文档 | https://github.com/npryce/adr-tools#readme |
| 许可证 | CC-BY-4.0 |
| 源码归档 | https://github.com/npryce/adr-tools/archive/refs/tags/3.0.0.tar.gz |
| 最后更新 | 2026-05-26T23:37:49-04:00 |
| Pulse | updated |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | adr-tools |
| 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 软件包链接分开显示。
adr-tools 3.0.0-2
tools for working with a log of Architecture Decision Records
https://github.com/npryce/adr-tools
sudo apt install adr-toolsadr-tools
nix profile install nixpkgs#adr-toolsadr-tools 3.0.0-2
tools for working with a log of Architecture Decision Records
https://github.com/npryce/adr-tools
sudo apt install adr-tools来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.