macOS
brew install watcherlocal Homebrew formula metadata
brew
watcher のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install watcherlocal Homebrew formula metadata
nix profile install nixpkgs#watchernixpkgs package indexes · pkgs/by-name/wa/watcher/package.nix · ソース: api.github.com
sudo apt install python3-watcherDebian stable package indexes · python3-watcher · ソース: deb.debian.org
概要
Filesystem watcher, works anywhere, simple, efficient and friendly
履歴
Watcher is e-dant's cross-platform filesystem event watcher, exposed both as a C++ library and as a CLI that prints filesystem events. Its niche is deliberately small and systems-oriented: a dependency-minimal watcher that can be embedded from C++ or reached through C, Python, Rust, Node.js, and Go bindings.
Watcher appeared publicly as a Show HN post on October 18, 2022, where the author described it as a simple, efficient, dependency-free, header-only filesystem event watcher. In that launch discussion, the author explained the early implementation tradeoff: a baseline standard-library watcher, OS-specific support where useful, and attention to correctness on large trees rather than simply wrapping one kernel notification API.
The repository's release history shows the project maturing from the 0.9 and 0.10 series into 0.12, 0.13, and 0.14. By the 0.14.0 release, the project had added a Go package, refined Windows DLL exports for the C interface, and improved CMake behavior for subproject use. The 0.13.7 and later releases also show the kind of maintenance expected from filesystem tools: inotify rename fixes, Darwin/FSEvents fixes, pkg-config files, version flags, C++17 portability, and test/CI updates.
Watcher remains a modest project compared with older file watching services, but its adoption signals are visible in developer packaging channels. The GitHub project page shows hundreds of stars, the README badges point to Conan, Cargo, PyPI, Go modules, Homebrew, Nix, and GNU Guix, and release artifacts are published for multiple operating systems and architectures.
The README presents Watcher as both a library and a program. Library users call a `watch` function or class with a path and callback, then receive event objects containing path name, path type, effect type, event time, and an associated path for rename-style events. CLI users can run the bundled watcher program and pipe the resulting JSON stream into other tools.
The project is unusually binding-heavy for its size. The README includes quick starts for C++, C, Python, Rust, Node.js, and Go, which positions Watcher less as an end-user automation command like watchexec and more as a portable event substrate for developers who want file-change events inside their own applications.
Watcher is significant to package nerds because it tackles a famously awkward portability problem: every major OS exposes different filesystem event semantics, and correctness around renames, recursive trees, symlinks, and editor save patterns is full of edge cases. A small, dependency-minimal C++17 implementation with pkg-config, CMake, C ABI, and language bindings is exactly the sort of library packagers scrutinize for ABI surface, portability, testability, and platform-specific behavior.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
wtr.watcher | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/e-dant/watcher
インストールメタデータ
| パッケージキー | brew:watcher |
|---|---|
| バージョン | 0.14.5 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/watcher |
| ホームページ | https://github.com/e-dant/watcher |
| リポジトリ | https://github.com/e-dant/watcher |
| 上流ドキュメント | https://github.com/e-dant/watcher#readme |
| ライセンス | MIT |
| ソースアーカイブ | https://github.com/e-dant/watcher/archive/refs/tags/0.14.5.tar.gz |
| ビルド依存関係 | cmake |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | watcher |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
python3-watcher 14.0.0-1+deb13u1
OpenStack Cloud Optimization as a Service - Python libraries
https://github.com/openstack/watcher
sudo apt install python3-watcherwatcher-api 14.0.0-1+deb13u1
OpenStack Cloud Optimization as a Service - API server
https://github.com/openstack/watcher
sudo apt install watcher-apiwatcher-applier 14.0.0-1+deb13u1
OpenStack Cloud Optimization as a Service - Applier
https://github.com/openstack/watcher
sudo apt install watcher-applierwatcher-common 14.0.0-1+deb13u1
OpenStack Cloud Optimization as a Service - common files
https://github.com/openstack/watcher
sudo apt install watcher-commonwatcher-decision-engine 14.0.0-1+deb13u1
OpenStack Cloud Optimization as a Service - Decision Engine
https://github.com/openstack/watcher
sudo apt install watcher-decision-enginewatcher-doc 14.0.0-1+deb13u1
OpenStack Cloud Optimization as a Service - doc
https://github.com/openstack/watcher
sudo apt install watcher-docwatcher
nix profile install nixpkgs#watcherpython3-watcher 2:12.0.0-0ubuntu1
OpenStack Cloud Optimization as a Service - Python 3 libraries
https://opendev.org/openstack/watcher
sudo apt install python3-watcherwatcher-api 2:12.0.0-0ubuntu1
OpenStack Cloud Optimization as a Service - API server
https://opendev.org/openstack/watcher
sudo apt install watcher-apiwatcher-applier 2:12.0.0-0ubuntu1
OpenStack Cloud Optimization as a Service - Applier
https://opendev.org/openstack/watcher
sudo apt install watcher-applierwatcher-common 2:12.0.0-0ubuntu1
OpenStack Cloud Optimization as a Service - common files
https://opendev.org/openstack/watcher
sudo apt install watcher-commonwatcher-decision-engine 2:12.0.0-0ubuntu1
OpenStack Cloud Optimization as a Service - Decision Engine
https://opendev.org/openstack/watcher
sudo apt install watcher-decision-enginewatcher-doc 2:12.0.0-0ubuntu1
OpenStack Cloud Optimization as a Service - doc
https://opendev.org/openstack/watcher
sudo apt install watcher-docソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.