pkg.soopen package index

brew / rank 2961

Install tag with Homebrew, MacPorts

Manipulate and query tags on macOS files. Version 0.10 via Homebrew; verified from local package data. Also installable with macports: sudo port install tag.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install tag

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install tag

MacPorts ports tree · sysutils/tag/Portfile · source: api.github.com

overview

Package summary

Manipulate and query tags on macOS files

Commands and aliases

  • tag

history

Project history and usage

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

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew bottle metadata was recorded.

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
tagexecutableindexed executableDiscovered from the local executable index.

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-08-03
manager version0.10
manager updated
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:tag
Version0.10
Package managerHomebrew
Homepagehttps://github.com/jdberry/tag/
Repositoryhttps://github.com/jdberry/tag
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

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

MacPorts95%

tag

sudo port install tag
  • normalized package name match
  • Matched by: Tag
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/tag/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

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
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation