Homebrew
Recommended for many macOS users.
$ brew install fswatchInstall fswatch
Release tarballs contain the generated files regular users need. Repository checkouts are intended for contributors who can bootstrap the GNU Build System.
$ brew install fswatch
$ port install fswatch
$ sudo pkg install fswatch-mon
These are the lowest-friction install paths for supported systems.
Recommended for many macOS users.
$ brew install fswatchUse the MacPorts package if that is your preferred macOS environment.
$ sudo port install fswatchInstall the packaged monitor from FreeBSD repositories.
$ sudo pkg install fswatch-monDownload a release archive when a package is not available for your platform. Tarballs include generated configure files and are the recommended source distribution for users.
Clone the repository when you plan to modify fswatch itself. Source checkouts require the GNU Build System to bootstrap generated files. CMake support is available as a convenience for supported workflows.
On Windows, MSYS2 with a MinGW-w64 toolchain is the recommended build environment. Cygwin builds are kept for compatibility, but Cygwin is not required to build fswatch on Windows.