macOS
brew install websocatlocal Homebrew formula metadata
sudo port install websocatMacPorts ports tree · net/websocat/Portfile · source: api.github.com
brew
Command-line client for WebSockets. Version 1.14.1 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#websocat.
install
brew install websocatlocal Homebrew formula metadata
sudo port install websocatMacPorts ports tree · net/websocat/Portfile · source: api.github.com
sudo apk add websocatAlpine Linux edge package indexes · websocat · source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#websocatnixpkgs package indexes · pkgs/by-name/we/websocat/package.nix · source: api.github.com
sudo pacman -S websocatArch Linux sync databases · websocat · source: geo.mirror.pkgbuild.com
scoop install main/websocatScoop official bucket manifest trees · bucket/websocat.json · source: api.github.com
overview
Command-line client for WebSockets
history
websocat is a Rust command-line WebSocket client and relay tool created by Vitaly "Vi" Shukela. Its own documentation describes it as the WebSocket analogue of netcat, curl, or socat: a small CLI that connects standard input/output, TCP, Unix sockets, subprocesses, and WebSocket endpoints.
The GitHub repository and crates.io package both date from November 2016, placing websocat in the wave of developer tools that treated RFC 6455 WebSockets as a normal Unix-stream target rather than only a browser API. The project grew around a compact idea: make `ws://` and `wss://` endpoints scriptable from a shell while still supporting more advanced socat-style addressing and overlays.
The reference manual documents three enduring modes: simple client mode, simple server mode, and an advanced mode that connects two address specifications. Later releases kept that model while adding a large address/overlay vocabulary, binary and text handling, subprocess bridging, proxying, TLS/WebSocket options, and server-side use cases.
websocat became a common package-manager tool because it filled the same niche for WebSockets that `curl` fills for HTTP and `nc` fills for TCP: quick inspection, smoke testing, and shell automation. By July 2026, the GitHub repository had more than eight thousand stars, and the crates.io package metadata showed publication continuity from 2016 through the 1.14.x line.
Its README explicitly lists sibling tools such as wscat, websocketd, wstunnel, and wsd, which situates websocat in a small ecosystem of command-line WebSocket utilities. Compared with simpler clients, its package-nerd appeal is the socat-like address system that lets it act as a connector, relay, or miniature protocol adapter.
Typical use starts with `websocat wss://example/path` to send terminal lines as WebSocket messages and print replies. The same binary can listen as a WebSocket server, forward between WebSocket and TCP or Unix sockets, or run an external program and connect that process to a WebSocket stream.
Because it is useful in pipelines, CI smoke tests, reverse-proxy debugging, and ad hoc protocol work, websocat is often installed alongside curl, netcat, socat, and jq on developer machines rather than deployed as an application dependency.
websocat matters to package-manager users because it turns WebSockets into a first-class shell transport. It is the boring, dependable diagnostic binary people reach for when a browser console, custom script, or full application client would be too much machinery.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
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 |
|---|---|---|---|
websocat | 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/vi/websocat
install metadata
| Package key | brew:websocat |
|---|---|
| Version | 1.14.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/websocat |
| Homepage | https://github.com/vi/websocat |
| Repository | https://github.com/vi/websocat |
| Upstream docs | https://github.com/vi/websocat#readme |
| License | MIT |
| Source archive | https://github.com/vi/websocat/archive/refs/tags/v1.14.1.tar.gz |
| Build dependencies | pkgconf, rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | websocat |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
websocat
nix profile install nixpkgs#websocatwebsocat 1.14.1-r0
Netcat, curl and socat for WebSockets
https://github.com/vi/websocat
sudo apk add websocatwebsocat 1.14.1-1
Command-line client for web sockets, like netcat/curl/socat for ws://
https://github.com/vi/websocat/
sudo pacman -S websocatwebsocat
sudo port install websocatmain/websocat
scoop install main/websocatsource 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.