# 使用 Homebrew 安装 fsw

查看 fsw 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:fsw
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install fsw
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:fsw
- **软件包管理器:** Homebrew
- **版本:** 1.3.9
- **来源摘要:** File change monitor with multiple backends
- **主页:** <https://emcrisostomo.github.io/fsw/>
- **仓库:** <https://github.com/emcrisostomo/fsw>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- fsw (别名)
- fswatch-run (别名)
- fswatch-run-bash (别名)
- fswatch-run-zsh (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.3.9
## 项目历史与用法

fsw was Enrico M. Crisostomo's 2013-2014 cross-platform file-change monitor, later merged into fswatch.

### 项目历史

The fsw README says it was written at the end of 2013 to provide both a drop-in replacement for Alan Dipert's original fswatch and a common front end for OS X FSEvents, BSD kqueue, and Linux inotify.

In April 2014, the fsw and fswatch authors agreed to merge the two programs, with Enrico Crisostomo taking over fswatch maintenance. The fsw README states that development would continue in the main fswatch repository and that fsw would likely be frozen.

### 采用历史

fsw's adoption history is mostly transitional. The supplied package data shows a Homebrew package, but the official README redirected long-term users toward fswatch after the merger.

### 使用方式

fsw accepts a list of paths and emits change events when those files or directories are modified. Its project page documents four monitors: OS X FSEvents, BSD kqueue, Linux inotify, and a portable stat-based polling monitor.

The project page recommends release tarballs for normal users and reserves repository checkouts for developers with the GNU Build System.

### 为什么软件包爱好者会关心

fsw is historically interesting because it explains how the modern fswatch package absorbed a parallel cross-platform watcher effort. For package maintainers, it is mainly a predecessor and compatibility waypoint rather than the active upstream.

### 时间线

- 2009: Alan Dipert wrote the first fswatch implementation for OS X FSEvents.
- 2013: Enrico M. Crisostomo wrote fsw as a broader cross-platform front end.
- 2014: fsw public repository created.
- 2014: fsw and fswatch merged, with future development continuing in fswatch.

### Related projects

- fswatch is the direct successor project and long-term upstream.
- fsw relates to the operating-system event APIs it wrapped: FSEvents, kqueue, inotify, and stat-based polling.

### 来源

- <https://api.github.com/repos/emcrisostomo/fsw>
- <https://emcrisostomo.github.io/fsw>
- <https://github.com/emcrisostomo/fsw>
- <https://raw.githubusercontent.com/emcrisostomo/fsw/master/README.md>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Combined YAML source

View the package source record on GitHub. [combined/fsw.yml](https://github.com/mxcl/pkgdb/blob/main/combined/fsw.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
