macOS
brew install fswatchlocal Homebrew formula metadata
sudo port install fswatchMacPorts ports tree · sysutils/fswatch/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de fswatch pour les workflows d'agents IA.
installation
brew install fswatchlocal Homebrew formula metadata
sudo port install fswatchMacPorts ports tree · sysutils/fswatch/Portfile · Source: api.github.com
sudo apt install fswatchDebian stable package indexes · fswatch · Source: deb.debian.org
sudo dnf install fswatchFedora Rawhide package metadata · fswatch · Source: dl.fedoraproject.org
nix profile install nixpkgs#fswatchnixpkgs package indexes · pkgs/by-name/fs/fswatch/package.nix · Source: api.github.com
sudo zypper install fswatchopenSUSE Tumbleweed package metadata · fswatch · Source: download.opensuse.org
winget install --id emcrisostomo.fswatch -eWindows Package Manager source index · emcrisostomo.fswatch · Source: cdn.winget.microsoft.com
aperçu
Monitor a directory for changes and run a shell command
historique
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.
posture de sécurité
generalized runtime or code generation signal.
risque yellow · confiance moyen · runtime
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
fswatch | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://github.com/emcrisostomo/fswatch
métadonnées d'installation
| Clé du paquet | brew:fswatch |
|---|---|
| Version | 1.22.0 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/fswatch |
| Page d'accueil | https://emcrisostomo.github.io/fswatch/ |
| Dépôt | https://github.com/emcrisostomo/fswatch |
| Docs amont | https://emcrisostomo.github.io/fswatch/documentation.html |
| Licence | GPL-3.0-or-later AND Apache-2.0 |
| Archive source | https://github.com/emcrisostomo/fswatch/releases/download/1.22.0/fswatch-1.22.0.tar.gz |
| Dernière mise à jour | 2026-07-22T12:18:56Z |
| Pulse | updated |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| 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 |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
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 -episte source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.