macOS
brew install fswatchlocal Homebrew formula metadata
sudo port install fswatchMacPorts ports tree · sysutils/fswatch/Portfile · ソース: api.github.com
brew
fswatch のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install fswatchlocal Homebrew formula metadata
sudo port install fswatchMacPorts ports tree · sysutils/fswatch/Portfile · ソース: api.github.com
sudo apt install fswatchDebian stable package indexes · fswatch · ソース: deb.debian.org
sudo dnf install fswatchFedora Rawhide package metadata · fswatch · ソース: dl.fedoraproject.org
nix profile install nixpkgs#fswatchnixpkgs package indexes · pkgs/by-name/fs/fswatch/package.nix · ソース: api.github.com
sudo zypper install fswatchopenSUSE Tumbleweed package metadata · fswatch · ソース: download.opensuse.org
winget install --id emcrisostomo.fswatch -eWindows Package Manager source index · emcrisostomo.fswatch · ソース: cdn.winget.microsoft.com
概要
Monitor a directory for changes and run a shell command
履歴
fswatch is a cross-platform file-change monitor and libfswatch frontend with backends for macOS, BSD, Linux, Solaris/Illumos, Windows, and portable polling.
The fswatch README traces the project to Alan Dipert's 2009 OS X implementation using Apple's FSEvents API. At the end of 2013 Enrico M. Crisostomo wrote fsw as a cross-platform replacement and front end for multiple filesystem event APIs.
In April 2014, the authors of fswatch and fsw agreed to merge the programs, with future development continuing in the fswatch repository under Crisostomo's maintenance. The current README describes fswatch as a frontend for libfswatch, with C, C++, and Go bindings noted.
The official README tells users to obtain fswatch from their operating-system or third-party package manager when available, and gives examples for MacPorts, Homebrew, and FreeBSD pkg. The supplied package data shows packages across Homebrew, Debian, Fedora, MacPorts, Nix, Ubuntu, winget, and openSUSE families.
The project has continued as a packaged command-line utility while also exposing libfswatch for programs that need filesystem events without maintaining per-platform watcher code.
fswatch accepts paths and streams events for changes to files or directories. Its output can be piped to shell loops or to xargs, and the -o mode supports running one command per batch of changes.
By default fswatch chooses the best available monitor for the platform, while users can select monitors explicitly. The README recommends FSEvents on macOS, File Events Notification on Solaris derivatives, inotify on Linux, the Windows monitor on Windows, kqueue for small BSD/macOS watch sets, and polling as the fallback.
fswatch is important to package users because it provides one CLI and one library abstraction over the incompatible filesystem notification APIs that build tools, static-site generators, test runners, and shell automation frequently need.
For maintainers, fswatch is also a classic portability package: it wraps native APIs where possible, keeps a poll fallback, publishes Texinfo/man/PDF/API documentation, and ships through many Unix and Windows package channels.
セキュリティ状態
generalized runtime or code generation signal.
リスク yellow · 信頼度 中 · runtime
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
fswatch | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/emcrisostomo/fswatch
インストールメタデータ
| パッケージキー | brew:fswatch |
|---|---|
| バージョン | 1.22.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/fswatch |
| ホームページ | https://emcrisostomo.github.io/fswatch/ |
| リポジトリ | https://github.com/emcrisostomo/fswatch |
| 上流ドキュメント | https://emcrisostomo.github.io/fswatch/documentation.html |
| ライセンス | GPL-3.0-or-later AND Apache-2.0 |
| ソースアーカイブ | https://github.com/emcrisostomo/fswatch/releases/download/1.22.0/fswatch-1.22.0.tar.gz |
| 最終更新 | 2026-07-22T12:18:56Z |
| Pulse | updated |
| 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 | fswatch |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
fswatch 1.14.0+repack-13.1+b1
file change monitor based on inotify
http://emcrisostomo.github.io/fswatch
sudo apt install fswatchfswatch
nix profile install nixpkgs#fswatchfswatch 1.14.0+repack-13.1
file change monitor based on inotify
http://emcrisostomo.github.io/fswatch
sudo apt install fswatchfswatch 1.17.1-6.fc44
A cross-platform file change monitor
https://github.com/emcrisostomo/fswatch
sudo dnf install fswatchfswatch-devel 1.17.1-6.fc44
Development files for fswatch
https://github.com/emcrisostomo/fswatch
sudo dnf install fswatch-develfswatch-static 1.17.1-6.fc44
Static library for fswatch
https://github.com/emcrisostomo/fswatch
sudo dnf install fswatch-staticfswatch 1.21.0-1.1
Multi platform file change monitor
https://github.com/emcrisostomo/fswatch
sudo zypper install fswatchfswatch-doc 1.21.0-1.1
Documentation for fswatch
https://github.com/emcrisostomo/fswatch
sudo zypper install fswatch-docfswatch-lang 1.21.0-1.1
Translations for package fswatch
https://github.com/emcrisostomo/fswatch
sudo zypper install fswatch-langlibfswatch-devel 1.21.0-1.1
Development files for fswatch
https://github.com/emcrisostomo/fswatch
sudo zypper install libfswatch-devellibfswatch15 1.21.0-1.1
Shared library for fswatch
https://github.com/emcrisostomo/fswatch
sudo zypper install libfswatch15fswatch
sudo port install fswatchemcrisostomo.fswatch
winget install --id emcrisostomo.fswatch -eソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.