macOS
brew install websocatlocal Homebrew formula metadata
sudo port install websocatMacPorts ports tree · net/websocat/Portfile · 来源: api.github.com
安装
brew install websocatlocal Homebrew formula metadata
sudo port install websocatMacPorts ports tree · net/websocat/Portfile · 来源: api.github.com
sudo apk add websocatAlpine Linux edge package indexes · websocat · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#websocatnixpkgs package indexes · pkgs/by-name/we/websocat/package.nix · 来源: api.github.com
sudo pacman -S websocatArch Linux sync databases · websocat · 来源: geo.mirror.pkgbuild.com
scoop install main/websocatScoop official bucket manifest trees · bucket/websocat.json · 来源: api.github.com
概览
Command-line client for WebSockets
历史
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.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
websocat | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/vi/websocat
安装元数据
| 软件包键 | brew:websocat |
|---|---|
| 版本 | 1.14.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/websocat |
| 主页 | https://github.com/vi/websocat |
| 仓库 | https://github.com/vi/websocat |
| 上游文档 | https://github.com/vi/websocat#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/vi/websocat/archive/refs/tags/v1.14.1.tar.gz |
| 构建依赖 | pkgconf, rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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/websocat来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.