Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts, Nix 安装 terminal-notifier

查看 terminal-notifier 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install terminal-notifier

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install terminal-notifier

MacPorts ports tree · aqua/terminal-notifier/Portfile · 来源: api.github.com

Linux

Nix已验证 · 92%
nix profile install nixpkgs#terminal-notifier

nixpkgs package indexes · pkgs/by-name/te/terminal-notifier/package.nix · 来源: api.github.com

概览

软件包摘要

Send macOS User Notifications from the command-line

命令和别名

  • terminal-notifier

历史

项目历史与用法

terminal-notifier is a macOS command-line bridge to User Notifications. It became a common small utility for shell scripts, build systems, Ruby projects, and package-manager users that wanted Notification Center messages without writing a Cocoa application.

项目历史

The GitHub repository was created in July 2012, the year Apple introduced Notification Center on OS X Mountain Lion. The README explains the central packaging compromise: the tool was historically distributed as an application bundle because NSUserNotification did not work from a plain Foundation command-line tool.

The project grew around scriptable notification primitives: message text, title and subtitle, sounds, grouping and removal, opening URLs, activating apps, and setting sender or icon behavior. The README also documents a Ruby wrapper and a RubyGems installation path, which helped the tool circulate in Ruby-oriented automation as well as ordinary shell use.

A notable maintenance chapter came in 2016 and 2017, when features from alerter were merged into terminal-notifier 1.7 and then removed again for 2.0.0. The README and 2.0.0 release notes frame the split as a decision to keep terminal-notifier and alerter as smaller specialized tools, with terminal-notifier dropping sticky notifications and action buttons.

采用历史

terminal-notifier's README has long documented Homebrew installation alongside prebuilt releases and RubyGems. The input package facts also list Homebrew, MacPorts, and Nix, showing that it crossed from a GitHub utility into several package-manager ecosystems.

The release history shows sustained maintenance through macOS platform changes: 1.5.0 in 2013 added piped message data, sender spoofing, sound support, and URL escaping; 1.6.x handled OS X 10.10 compatibility; 1.8.0 briefly changed distribution to a standard command-line app before 2.0.0 returned to the bundle model.

使用方式

Typical usage is to emit a desktop notification at the end of a long-running shell command, CI step, backup job, synchronization task, or local development workflow. The README examples show piped message data, custom icons, opening a URL when clicked, and activating a macOS app.

The `-group` option is especially package-nerd friendly: scripts can replace or remove prior notifications under a stable group ID instead of spamming the notification center. The `-list` output is tab-separated, making it parseable from shell scripts.

为什么软件包爱好者会关心

terminal-notifier matters in the Homebrew-era macOS CLI niche because it gave Unix-style scripts access to a native macOS UI affordance. It is the kind of package users install once and then wire into makefiles, deploy scripts, long compiles, package builds, and dotfile workflows.

Its maintenance history also reflects a recurring packaging tension on macOS: command-line users want a simple executable, but Apple's notification APIs and App Store rules pushed the project toward an app-bundle distribution with caveats.

时间线

  • 2012: GitHub repository created on July 15.
  • 2013: Release 1.5.0 added piped input, sender, sound, URL handling, and help support.
  • 2014: Release 1.6.1 added OS X 10.10 compatibility.
  • 2016: Release 1.7.0 merged alerter features such as reply and actions.
  • 2017: Release 1.8.0 made terminal-notifier a standard command-line app and deprecated OS X 10.8 and 10.9.
  • 2017: Release 2.0.0 removed alerter features and returned to a smaller focused tool.

Related projects

  • alerter is the closest sibling project, split out for sticky notifications and action buttons. terminal-notifier also overlaps with scripting wrappers and package-manager recipes that expose macOS Notification Center from shell and Ruby workflows.

来源

  • GitHub README: https://github.com/julienXX/terminal-notifier#readme
  • GitHub releases: https://github.com/julienXX/terminal-notifier/releases
  • GitHub repository metadata: https://api.github.com/repos/julienXX/terminal-notifier
  • Input source_facts.package-manager

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 11 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
terminal-notifiercli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本2.0.0
管理器更新时间
本地数据OK
上游当前
检测到的最新版本2.0.0

https://github.com/julienXX/terminal-notifier

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:terminal-notifier
版本2.0.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/terminal-notifier
主页https://github.com/julienXX/terminal-notifier
仓库https://github.com/julienXX/terminal-notifier
上游文档https://github.com/julienXX/terminal-notifier#readme
许可证MIT
源码归档https://github.com/julienXX/terminal-notifier/archive/refs/tags/2.0.0.tar.gz
Bottle可用 (于 arm64_big_sur, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameterminal-notifier
Version Scheme0
Revision0
Head VersionHEAD
Requirements
  • macos
  • xcode
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

terminal-notifier

nix profile install nixpkgs#terminal-notifier
  • normalized package name match
  • 匹配方式:Terminal Notifier
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/te/terminal-notifier/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

terminal-notifier

sudo port install terminal-notifier
  • normalized package name match
  • 匹配方式:Terminal Notifier
MacPorts ports tree · api.github.com · MacPorts ports tree: aqua/terminal-notifier/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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