macOS
brew install kqwaitlocal Homebrew formula metadata
brew / rank 18821
Wait for events on files or directories on macOS. Version 1.0.3 via Homebrew; verified 2026-11-01.
install
brew install kqwaitlocal Homebrew formula metadata
overview
Wait for events on files or directories on macOS
history
kqwait is a compact command-line utility that waits for events on one or more files or directories, prints the path that caused it to wake, and returns a status suitable for shell automation.
Sven Schober created kqwait to address the lack of an inotifywait-like command on macOS. The official README says it was inspired by inotifywait and the original kqueue paper.
The source supports file write, rename, and deletion events plus directory entry creation and deletion. Its documented Linux mode requires libkqueue and cannot watch directory changes fully.
kqwait has a deliberately narrow adoption profile. Homebrew distribution makes it convenient for macOS shell users who need a small event-waiting primitive, while the upstream project also documents limited Linux support through libkqueue.
Users pass one or more files or directories to `kqwait`, often inside a shell loop. File writes, renames, and deletions wake the process; watched directories report entry creation or deletion with `+` or `-` prefixes.
Upstream warns of a directory-watching race when several events happen rapidly and notes that writes to existing files inside a watched directory require also watching the contained paths.
kqwait is package-nerd interesting as a small macOS counterpart to Linux-oriented filesystem watchers. It exposes kqueue-style event waiting as a composable executable suitable for shell loops without requiring a larger automation framework.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
kqwait | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/sschober/kqwait
install metadata
| Package key | brew:kqwait |
|---|---|
| Version | 1.0.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/kqwait |
| Homepage | https://github.com/sschober/kqwait |
| Repository | https://github.com/sschober/kqwait |
| License | BSD-2-Clause |
| Source archive | https://github.com/sschober/kqwait/archive/refs/tags/kqwait-v1.0.3.tar.gz |
| Last updated | 2026-11-01T20:17:41-05:00 |
| Pulse | updated |
| Bottle | available (on arm64_big_sur, arm64_golden_gate, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | kqwait |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.