pkg.soopen package index

brew / rank 18821

Install kqwait with Homebrew

Wait for events on files or directories on macOS. Version 1.0.3 via Homebrew; verified 2026-11-01.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install kqwait

local Homebrew formula metadata

overview

Package summary

Wait for events on files or directories on macOS

Commands and aliases

  • kqwait

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2020: Copyright notice in the official source identifies the project's initial era.
  • 2020s: Homebrew packaging made kqwait directly installable for macOS command-line users.

Related projects

  • inotifywait is the explicitly cited inspiration and Linux analogue. kqueue and libkqueue provide the underlying event model and portability layer.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 11 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
kqwaitcliglobal executable

freshness

Version and 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.

page generated2026-11-04
manager version1.0.3
manager updated2026-11-01
local dataok
upstreamcurrent
latest detectedkqwait-v1.0.3

https://github.com/sschober/kqwait

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:kqwait
Version1.0.3
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/kqwait
Homepagehttps://github.com/sschober/kqwait
Repositoryhttps://github.com/sschober/kqwait
LicenseBSD-2-Clause
Source archivehttps://github.com/sschober/kqwait/archive/refs/tags/kqwait-v1.0.3.tar.gz
Last updated2026-11-01T20:17:41-05:00
Pulseupdated
Bottleavailable (on arm64_big_sur, arm64_golden_gate, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation