Automic VaultAutomic Vault

brew

Install adr-tools with Homebrew, apt, Nix

CLI tool for working with Architecture Decision Records. Version 3.0.0 via Homebrew; verified 2026-05-26.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install adr-tools

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install adr-tools

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

Nixverified · 92%
nix profile install nixpkgs#adr-tools

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

overview

Package summary

CLI tool for working with Architecture Decision Records

Commands and aliases

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

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

security posture

Risk level: blue

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

Risk classifier

blue risk · medium confidence · tool

Why

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

Signals

  • text:record

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
_adr_add_linkcliglobal executable
_adr_autocompletecliglobal executable
_adr_commandscliglobal executable
_adr_dircliglobal executable
_adr_filecliglobal executable
_adr_generate_graphcliglobal executable
_adr_generate_toccliglobal executable
_adr_helpcliglobal executable
_adr_help_newcliglobal executable
_adr_linkscliglobal executable
_adr_remove_statuscliglobal executable
_adr_statuscliglobal executable
_adr_titlecliglobal executable
adrcliglobal executable
adr-configcliglobal executable
adr-generatecliglobal executable
adr-helpcliglobal executable
adr-initcliglobal executable
adr-linkcliglobal executable
adr-listcliglobal executable
adr-newcliglobal executable
adr-upgrade-repositorycliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version3.0.0
manager updated2026-05-26
local dataok
upstreamcurrent
latest detected3.0.0

https://github.com/npryce/adr-tools

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:adr-tools
Version3.0.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/adr-tools
Homepagehttps://github.com/npryce/adr-tools
Repositoryhttps://github.com/npryce/adr-tools
Upstream docshttps://github.com/npryce/adr-tools#readme
LicenseCC-BY-4.0
Source archivehttps://github.com/npryce/adr-tools/archive/refs/tags/3.0.0.tar.gz
Last updated2026-05-26T23:37:49-04:00
Pulseupdated
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

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
  • Matched by: 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
  • Matched by: 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
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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