macOS
brew install wait4xlocal Homebrew formula metadata
brew / rank 9181
Wait for a port or a service to enter the requested state. Version 3.6.0 via Homebrew; verified 2026-05-09. Also installable with nix: nix profile install nixpkgs#wait4x.
install
brew install wait4xlocal Homebrew formula metadata
sudo apk add wait4xAlpine Linux edge package indexes · wait4x · source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#wait4xnixpkgs package indexes · pkgs/by-name/wa/wait4x/package.nix · source: api.github.com
sudo zypper install wait4xopenSUSE Tumbleweed package metadata · wait4x · source: download.opensuse.org
scoop install extras/wait4xScoop official bucket manifest trees · bucket/wait4x.json · source: api.github.com
overview
Wait for a port or a service to enter the requested state
history
Wait4X is a Go-based readiness-waiting tool for scripts, CI jobs, containers, and local development. Its job is deliberately narrow: block until a port, protocol endpoint, database, message broker, or other service reaches the expected state, then optionally run a command.
The GitHub repository was created on November 1, 2019, and GitHub release metadata shows v0.1.0 published on February 8, 2020. The project later adopted the `wait4x.dev/v3` module path and documents itself as a lightweight, zero-dependency tool for modern infrastructure readiness checks.
By 2025 the release series had reached v3.6.0, and the README described a broader surface than simple TCP waiting: TCP, HTTP, DNS, Redis, MySQL, PostgreSQL, MongoDB, Kafka, RabbitMQ, InfluxDB, Temporal, reverse checks, parallel checks, exponential backoff, and command execution after checks.
Wait4X lives in the same operational niche as `wait-for-it`, `dockerize`, Kubernetes readiness checks, and ad hoc shell loops, but its pitch is one static cross-platform binary with service-aware checks. As of July 2, 2026, GitHub API metadata showed about 1,339 stars and 54 forks, which is meaningful adoption for a focused infrastructure CLI.
Typical usage is inline in automation: `wait4x tcp localhost:5432`, `wait4x http https://example.com/health --expect-status-code 200`, or `wait4x postgresql postgres://...` before a test suite or startup script continues. The README also shows multiple targets checked in parallel and an `--invert-check` mode for waiting until a service becomes unavailable.
Because it can run a command after readiness succeeds, Wait4X often replaces a shell loop in Docker entrypoints, CI workflow steps, and local scripts where a database, cache, broker, or API needs to be up before the next process starts.
Its package-nerd significance is the consolidation of many tiny readiness patterns into one binary. It does not define a protocol or framework, but it is useful glue in the places where package managers, containers, and CI systems expose race conditions between service startup and test execution.
security posture
No matching local secret-handling manifest was found for wait4x. Nucleus package metadata is still published here so future coverage has a stable package URL.
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 |
|---|---|---|---|
wait4x | executable | indexed executable | Discovered from the local executable index. |
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.
install metadata
| Package key | brew:wait4x |
|---|---|
| Version | 3.6.0 |
| Package manager | Homebrew |
| Homepage | https://wait4x.dev |
| Repository | https://github.com/wait4x/wait4x |
| Last updated | 2026-05-09T15:13:04Z |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
wait4x
nix profile install nixpkgs#wait4xwait4x 3.6.0-r3
Wait4X allows you to wait for a port or a service to enter the requested state
sudo apk add wait4xwait4x-bash-completion 3.6.0-r3
Bash completions for wait4x
sudo apk add wait4x-bash-completionwait4x-doc 3.6.0-r3
Wait4X allows you to wait for a port or a service to enter the requested state (documentation)
sudo apk add wait4x-docwait4x-fish-completion 3.6.0-r3
Fish completions for wait4x
sudo apk add wait4x-fish-completionwait4x-zsh-completion 3.6.0-r3
Zsh completions for wait4x
sudo apk add wait4x-zsh-completionwait4x 3.6.0-1.6
Wait for a port or a service to enter the requested state
https://github.com/wait4x/wait4x
sudo zypper install wait4xextras/wait4x
scoop install extras/wait4xsource 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.