Automic VaultAutomic Vault

brew

Install tag with Homebrew, MacPorts

Manipulate and query tags on macOS files. Version 0.10 via Homebrew; verified from local package data.

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 post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 11 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
tagcliglobal 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 version0.10
manager updated
local dataok
upstreamcurrent
latest detectedv0.10

https://github.com/jdberry/tag

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:tag
Version0.10
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/tag
Homepagehttps://github.com/jdberry/tag/
Repositoryhttps://github.com/jdberry/tag
Upstream docshttps://github.com/jdberry/tag#readme
LicenseMIT
Source archivehttps://github.com/jdberry/tag/archive/refs/tags/v0.10.tar.gz
Bottleavailable (on arm64_big_sur, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametag
Version Scheme0
Revision1
Head VersionHEAD
Requirements
  • macos
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • 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.

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