pkg.soopen package index

brew / 排名 2877

使用 Homebrew, apt, Nix 安装 adr-tools

查看 adr-tools 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install adr-tools

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install adr-tools

Debian stable package indexes · adr-tools · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#adr-tools

nixpkgs package indexes · pkgs/by-name/ad/adr-tools/package.nix · 来源: api.github.com

概览

软件包摘要

CLI tool for working with Architecture Decision Records

命令和别名

  • _adr_add_link
  • _adr_autocomplete
  • _adr_commands
  • _adr_dir
  • _adr_file
  • _adr_generate_graph
  • _adr_generate_toc
  • _adr_help
  • _adr_help_new
  • _adr_links
  • _adr_remove_status
  • _adr_status
  • _adr_title
  • adr
  • adr-config
  • adr-generate
  • adr-help
  • adr-init
  • adr-link
  • adr-list
  • adr-new
  • adr-upgrade-repository

历史

项目历史与用法

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.

时间线

  • 2016: Project ADR 1 recorded the use of Architecture Decision Records.
  • 2016: Early ADRs chose shell scripts, a single command with subcommands, and Markdown format.
  • 2018: Version 2.0.0 added ISO-8601 dates and repository upgrade support.
  • 2018: Version 2.1.0 added arbitrary links and Graphviz history/relationship output.
  • 2018: Version 2.2.0 added better help, bash autocomplete, and Git Bash support.
  • 2018: Version 3.0.0 added parent-directory ADR discovery and graph layout improvements.

Related projects

  • adr-viewer consumes ADR directories and defaults to ADR Tools' `doc/adr` path.
  • Michael Nygard's ADR article is linked from the README as the conceptual source for the record format and practice.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:record

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
_adr_add_link可执行文件已索引可执行文件从本地可执行文件索引发现。
_adr_autocomplete可执行文件已索引可执行文件从本地可执行文件索引发现。
_adr_commands可执行文件已索引可执行文件从本地可执行文件索引发现。
_adr_dir可执行文件已索引可执行文件从本地可执行文件索引发现。
_adr_file可执行文件已索引可执行文件从本地可执行文件索引发现。
_adr_generate_graph可执行文件已索引可执行文件从本地可执行文件索引发现。
_adr_generate_toc可执行文件已索引可执行文件从本地可执行文件索引发现。
_adr_help可执行文件已索引可执行文件从本地可执行文件索引发现。
_adr_help_new可执行文件已索引可执行文件从本地可执行文件索引发现。
_adr_links可执行文件已索引可执行文件从本地可执行文件索引发现。
_adr_remove_status可执行文件已索引可执行文件从本地可执行文件索引发现。
_adr_status可执行文件已索引可执行文件从本地可执行文件索引发现。
_adr_title可执行文件已索引可执行文件从本地可执行文件索引发现。
adr可执行文件已索引可执行文件从本地可执行文件索引发现。
adr-config可执行文件已索引可执行文件从本地可执行文件索引发现。
adr-generate可执行文件已索引可执行文件从本地可执行文件索引发现。
adr-help可执行文件已索引可执行文件从本地可执行文件索引发现。
adr-init可执行文件已索引可执行文件从本地可执行文件索引发现。
adr-link可执行文件已索引可执行文件从本地可执行文件索引发现。
adr-list可执行文件已索引可执行文件从本地可执行文件索引发现。
adr-new可执行文件已索引可执行文件从本地可执行文件索引发现。
adr-upgrade-repository可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本3.0.0
管理器更新时间2026-05-26
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:adr-tools
版本3.0.0
软件包管理器Homebrew
主页https://github.com/npryce/adr-tools
仓库https://github.com/npryce/adr-tools
最后更新2026-05-26T23:37:49-04:00
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

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-tools
  • Section: devel
  • Architecture: all
  • normalized package name match
  • 匹配方式:Adr Tools
Debian stable package indexes · deb.debian.org · Debian stable package indexes: adr-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

adr-tools

nix profile install nixpkgs#adr-tools
  • normalized package name match
  • 匹配方式:Adr Tools
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ad/adr-tools/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

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-tools
  • Section: universe/devel
  • Architecture: all
  • normalized package name match
  • 匹配方式:Adr Tools
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: adr-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation