Automic VaultAutomic Vault

brew

fswatch を Homebrew, apt, dnf, MacPorts, Nix, zypper, winget でインストール

fswatch のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install fswatch

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install fswatch

MacPorts ports tree · sysutils/fswatch/Portfile · ソース: api.github.com

Linux

Debian apt確認済み · 92%
sudo apt install fswatch

Debian stable package indexes · fswatch · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install fswatch

Fedora Rawhide package metadata · fswatch · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#fswatch

nixpkgs package indexes · pkgs/by-name/fs/fswatch/package.nix · ソース: api.github.com

openSUSE zypper確認済み · 92%
sudo zypper install fswatch

openSUSE Tumbleweed package metadata · fswatch · ソース: download.opensuse.org

Windows

Windows Package Manager確認済み · 92%
winget install --id emcrisostomo.fswatch -e

Windows Package Manager source index · emcrisostomo.fswatch · ソース: cdn.winget.microsoft.com

概要

パッケージ概要

Monitor a directory for changes and run a shell command

コマンドとエイリアス

  • fswatch

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 2009: First fswatch implementation written for OS X FSEvents.
  • 2013: fsw written as a multi-backend replacement effort.
  • 2014: fsw and fswatch merged, with development continuing in fswatch.
  • 2024: fswatch 1.18.0 adopted C++17 and updated FSEvents/inotify rename-correlation support.
  • 2026: fswatch 1.21.0 documented conjunctive filters, pruning, and CMake package configuration files for libfswatch.

Related projects

  • fsw is the predecessor project that merged into fswatch.
  • libfswatch is the library layer behind the fswatch frontend.
  • The project is related to native event systems including FSEvents, kqueue, File Events Notification, inotify, fanotify, ReadDirectoryChangesW, and stat-based polling.

セキュリティ状態

リスクレベル: yellow

generalized runtime or code generation signal.

リスク分類器

リスク yellow · 信頼度 中 · runtime

理由

  • generalized runtime or code generation signal

信号

  • text:shell

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
fswatchcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版1.22.0
マネージャ更新日2026-07-22
ローカルデータOK
上流not checked
検出された最新未検出

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
Pulseupdated
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namefswatch
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

fswatch 1.14.0+repack-13.1+b1

file change monitor based on inotify

http://emcrisostomo.github.io/fswatch

sudo apt install fswatch
  • Section: misc
  • Architecture: amd64
  • Source Package: fswatch
  • 3 依存関係
  • normalized package name match
  • 一致条件: Fswatch
Debian stable package indexes · deb.debian.org · Debian stable package indexes: fswatch from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

fswatch

nix profile install nixpkgs#fswatch
  • normalized package name match
  • 一致条件: Fswatch
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/fs/fswatch/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

fswatch 1.14.0+repack-13.1

file change monitor based on inotify

http://emcrisostomo.github.io/fswatch

sudo apt install fswatch
  • Section: universe/misc
  • Architecture: amd64
  • 3 依存関係
  • normalized package name match
  • 一致条件: Fswatch
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: fswatch from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

fswatch 1.17.1-6.fc44

A cross-platform file change monitor

https://github.com/emcrisostomo/fswatch

sudo dnf install fswatch
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: fswatch
  • 6 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Fswatch
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: fswatch from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

fswatch-devel 1.17.1-6.fc44

Development files for fswatch

https://github.com/emcrisostomo/fswatch

sudo dnf install fswatch-devel
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: fswatch
  • 3 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Fswatch
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: fswatch-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

fswatch-static 1.17.1-6.fc44

Static library for fswatch

https://github.com/emcrisostomo/fswatch

sudo dnf install fswatch-static
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: fswatch
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Fswatch
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: fswatch-static from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

fswatch 1.21.0-1.1

Multi platform file change monitor

https://github.com/emcrisostomo/fswatch

sudo zypper install fswatch
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: fswatch
  • 4 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Fswatch
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: fswatch from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

fswatch-doc 1.21.0-1.1

Documentation for fswatch

https://github.com/emcrisostomo/fswatch

sudo zypper install fswatch-doc
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: fswatch
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Fswatch
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: fswatch-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

fswatch-lang 1.21.0-1.1

Translations for package fswatch

https://github.com/emcrisostomo/fswatch

sudo zypper install fswatch-lang
  • License: GPL-3.0-or-later
  • Category: System/Localization
  • Architecture: noarch
  • Source Package: fswatch
  • 1 依存関係
  • 3 提供
  • normalized package name match
  • 一致条件: Fswatch
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: fswatch-lang from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libfswatch-devel 1.21.0-1.1

Development files for fswatch

https://github.com/emcrisostomo/fswatch

sudo zypper install libfswatch-devel
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: fswatch
  • 2 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Fswatch
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libfswatch-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libfswatch15 1.21.0-1.1

Shared library for fswatch

https://github.com/emcrisostomo/fswatch

sudo zypper install libfswatch15
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: fswatch
  • 5 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Fswatch
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libfswatch15 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

fswatch

sudo port install fswatch
  • normalized package name match
  • 一致条件: Fswatch
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/fswatch/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
winget95%

emcrisostomo.fswatch

winget install --id emcrisostomo.fswatch -e
  • normalized package name match
  • 一致条件: Fswatch
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: emcrisostomo.fswatch from https://cdn.winget.microsoft.com/cache/source.msix

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment