macOS
brew install terminal-notifierlocal Homebrew formula metadata
sudo port install terminal-notifierMacPorts ports tree · aqua/terminal-notifier/Portfile · 来源: api.github.com
安装
brew install terminal-notifierlocal Homebrew formula metadata
sudo port install terminal-notifierMacPorts ports tree · aqua/terminal-notifier/Portfile · 来源: api.github.com
nix profile install nixpkgs#terminal-notifiernixpkgs package indexes · pkgs/by-name/te/terminal-notifier/package.nix · 来源: api.github.com
概览
Send macOS User Notifications from the command-line
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
terminal-notifier | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/julienXX/terminal-notifier
安装元数据
| 软件包键 | 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | terminal-notifier |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
terminal-notifier
nix profile install nixpkgs#terminal-notifierterminal-notifier
sudo port install terminal-notifier来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.