# tagref を Homebrew, Nix でインストール

tagref のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install tagref
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## パッケージ情報

- **パッケージキー:** brew:tagref
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/tagref>
- **バージョン:** 1.13.0
- **ソース概要:** Refer to other locations in your codebase
- **ホームページ:** <https://github.com/stepchowfun/tagref>
- **リポジトリ:** <https://github.com/stepchowfun/tagref>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/stepchowfun/tagref/archive/refs/tags/v1.13.0.tar.gz>
- **最終更新:** 2026-06-19T02:28:30Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- tagref (cli)
- tagref (エイリアス)

## ビルド依存関係

- rust

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.13.0
- マネージャ更新日: 2026-06-19
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/stepchowfun/tagref
- 検出された最新: v1.13.0 (最新)
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

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


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## ソースデータベース詳細

- **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

## 他のパッケージマネージャ記録

- 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


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://pkg.so/ja/brew/rust/) - Build dependency declared by Homebrew.
- [swiftlint](https://pkg.so/ja/brew/swiftlint/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, linter.
- [ansible-lint](https://pkg.so/ja/brew/ansible-lint/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, linter.
- [eslint](https://pkg.so/ja/brew/eslint/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, linter.
- [pylint](https://pkg.so/ja/brew/pylint/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, linter.
- [staticcheck](https://pkg.so/ja/brew/staticcheck/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, linter.
- [pmd](https://pkg.so/ja/brew/pmd/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, linter.
- [stylelint](https://pkg.so/ja/brew/stylelint/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, linter.
- [luacheck](https://pkg.so/ja/brew/luacheck/) - Shares pkgdb curated category or tags: cli, code-quality, developer-tools, linter.
- [eslint-seatbelt](https://pkg.so/ja/npm/eslint-seatbelt/) - Local package facts share a topical domain. Shared terms: cli, code, code-quality, codebase, developer.
- [codebook-lsp](https://pkg.so/ja/brew/codebook-lsp/) - 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/mxcl/pkgdb/blob/main/combined/tagref.yml)


## ソース

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