# Install tagref with Homebrew, Nix

Refer to other locations in your codebase. Version 1.13.0 via Homebrew; verified 2026-06-19.

## Install

```sh
sudo av install brew:tagref
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install tagref
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#tagref
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ta/tagref/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:tagref
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/tagref>
- **Version:** 1.13.0
- **Source summary:** Refer to other locations in your codebase
- **Homepage:** <https://github.com/stepchowfun/tagref>
- **Repository:** <https://github.com/stepchowfun/tagref>
- **Upstream docs:** <https://github.com/stepchowfun/tagref#readme>
- **License:** MIT
- **Source archive:** <https://github.com/stepchowfun/tagref/archive/refs/tags/v1.13.0.tar.gz>
- **Last updated:** 2026-06-19T02:28:30Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- tagref (cli)
- tagref (alias)

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.13.0
- Package-manager updated: 2026-06-19
- Local data: ok
- Upstream repository: https://github.com/stepchowfun/tagref
- Upstream latest detected: v1.13.0 (current)
## Project history and usage

Tagref is a source-code cross-reference checker that lets comments define tags and refer to those tags elsewhere in a repository. It is a small developer CLI for keeping informal code comments from silently rotting.

### Project history

The public GitHub repository was created in May 2018. The README describes Tagref as a tool for annotating code comments with `[tag:...]` markers and checking `[ref:...]`, `[file:...]`, and `[dir:...]` references for existence and uniqueness.

### Adoption history

The input package facts list Homebrew and Nix packages. That distribution pattern fits a narrow code-quality utility: easy to install globally, useful in CI, and independent of a single programming language because it scans comments and paths rather than compiling code.

### How it is used

Users place tags and references in comments, then run the `tagref` CLI to verify that referenced tags exist, tags are unique, and file or directory references still resolve. The README explicitly notes that Tagref does not prove the comment is true; it only keeps the cross-reference unambiguous and present.

### Why package nerds care

Package nerds care about Tagref as a tiny example of language-agnostic repository hygiene distributed through general-purpose package managers. It turns documentation links inside comments into something CI can check without adding a documentation system or a language-specific linter.

### Timeline

- 2018: Public GitHub repository created.
- 2026: Input package facts list Homebrew and Nix packages.

### Related projects

- Tagref relates to linters, documentation checkers, dead-link checkers, CI quality gates, and language-agnostic repository maintenance tools.

### Sources

- <https://api.github.com/repos/stepchowfun/tagref>
- <https://github.com/stepchowfun/tagref>
- source_facts.package-manager


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** tagref
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Nix - tagref: normalized package name match | nixpkgs package indexes: pkgs/by-name/ta/tagref/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [codelimit](https://www.automicvault.com/pkg/brew/codelimit/) - Shares av.db curated category or tags: cli, code-quality, developer-tools.
- [jscpd](https://www.automicvault.com/pkg/brew/jscpd/) - Shares av.db curated category or tags: cli, code-quality, developer-tools.
- [pint](https://www.automicvault.com/pkg/brew/pint/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, linter.
- [precious](https://www.automicvault.com/pkg/brew/precious/) - Shares av.db curated category or tags: cli, code-quality, developer-tools.
- [prek](https://www.automicvault.com/pkg/brew/prek/) - Shares av.db curated category or tags: cli, code-quality, developer-tools.
- [sonar-scanner](https://www.automicvault.com/pkg/brew/sonar-scanner/) - Shares av.db curated category or tags: cli, code-quality, developer-tools.
- [tailor](https://www.automicvault.com/pkg/brew/tailor/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, linter.
- [tombi](https://www.automicvault.com/pkg/brew/tombi/) - Shares av.db curated category or tags: cli, code-quality, developer-tools, linter.
- [swiftlint](https://www.automicvault.com/pkg/brew/swiftlint/) - Local package facts share a topical domain. Shared terms: cli, code, code-quality, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/tagref.yml](https://github.com/automic-vault/db/blob/main/combined/tagref.yml)


## Sources

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