Automic VaultAutomic Vault

brew

websocat を Homebrew, apk, MacPorts, Nix, pacman, scoop でインストール

websocat のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install websocat

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install websocat

MacPorts ports tree · net/websocat/Portfile · ソース: api.github.com

Windows

Scoop確認済み · 92%
scoop install main/websocat

Scoop official bucket manifest trees · bucket/websocat.json · ソース: api.github.com

概要

パッケージ概要

Command-line client for WebSockets

コマンドとエイリアス

  • websocat

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 2016-11: GitHub repository and crates.io package created.
  • 2019: Public issues and examples show users applying websocat to JSON requests, recording output, and WebSocket testing workflows.
  • 2024-11: v1.14.0 release described as the 1.x line nearing sunset while Websocat4 previews began.
  • 2025-12: v1.14.1 maintenance release and v4.0.0 alpha releases published.

Related projects

  • The README points users toward wstunnel, wscat, websocketd, and wsd as related WebSocket command-line tools. websocat is closest in spirit to socat and netcat because it focuses on connecting endpoints rather than embedding a WebSocket library in an application.

セキュリティ状態

リスクレベル: blue

broad file, network, media, or database tool signal.

リスク分類器

リスク blue · 信頼度 中 · tool

理由

  • broad file, network, media, or database tool signal

信号

  • text:client

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 2 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
websocatcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版1.14.1
マネージャ更新日
ローカルデータOK
上流最新
検出された最新v1.14.1

https://github.com/vi/websocat

  • 情報No package-manager update timestamp was available.信頼度 低

インストールメタデータ

パッケージメタデータ

パッケージキー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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namewebsocat
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

websocat

nix profile install nixpkgs#websocat
  • normalized package name match
  • 一致条件: Websocat
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/we/websocat/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

websocat 1.14.1-r0

Netcat, curl and socat for WebSockets

https://github.com/vi/websocat

sudo apk add websocat
  • License: MIT
  • Architecture: x86_64
  • Source Package: websocat
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Websocat
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: websocat from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

websocat 1.14.1-1

Command-line client for web sockets, like netcat/curl/socat for ws://

https://github.com/vi/websocat/

sudo pacman -S websocat
  • License: MIT
  • Architecture: x86_64
  • 3 依存関係
  • normalized package name match
  • 一致条件: Websocat
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: websocat from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

websocat

sudo port install websocat
  • normalized package name match
  • 一致条件: Websocat
MacPorts ports tree · api.github.com · MacPorts ports tree: net/websocat/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/websocat

scoop install main/websocat
  • normalized package name match
  • 一致条件: Websocat
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/websocat.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment