# tag を Homebrew, MacPorts でインストール

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

## インストール

```sh
sudo av install brew:tag
```

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

### macOS

- Homebrew (100%):

```sh
brew install tag
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install tag
```

  証拠: MacPorts ports tree: sysutils/tag/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:tag
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.10
- **ソース概要:** Manipulate and query tags on macOS files
- **ホームページ:** <https://github.com/jdberry/tag/>
- **リポジトリ:** <https://github.com/jdberry/tag>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- tag (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.10
## プロジェクトの歴史と使われ方

`tag` is a macOS command-line utility for manipulating Finder tags on files and querying files by tag. It wraps a Finder-era desktop metadata feature in a scriptable Unix-style interface.

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

The public repository was created in October 2013, the same year Apple introduced Finder tags in OS X Mavericks. The README scopes the tool to Mac OS X 10.9 Mavericks and later and describes operations for adding, removing, setting, matching, finding, listing, and counting tag usage.

### 採用の歴史

The project is distributed through Homebrew and MacPorts according to the input package-manager facts. Its GitHub repository has remained a small single-purpose macOS utility rather than a cross-platform metadata framework.

### 使われ方

Users install the `tag` executable and run commands such as `tag --add`, `tag --remove`, `tag --set`, `tag --find`, `tag --match`, and `tag --list` against file paths. The README also documents recursive traversal, NUL-terminated output for pipelines, and tag queries limited by home, local, or network scopes.

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

Package nerds care about `tag` because it exposes macOS file tags to shell scripts, launch jobs, and package-manager-installed workflows. It is a classic Homebrew-style utility: tiny, platform-specific, and useful precisely because Apple provides the feature in the GUI but not as a portable Unix command.

### タイムライン

- 2013: Public GitHub repository created.
- 2013: README targets OS X Mavericks and later.
- 2026: Input package facts list Homebrew and MacPorts packages.

### Related projects

- `tag` relates to macOS Finder tags, Spotlight metadata search, `mdfind`, shell pipelines, Homebrew, and MacPorts.

### ソース

- <https://api.github.com/repos/jdberry/tag>
- <https://github.com/jdberry/tag>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

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

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

- MacPorts - tag: normalized package name match | MacPorts ports tree: sysutils/tag/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/tag.yml](https://github.com/mxcl/pkgdb/blob/main/combined/tag.yml)


## ソース

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