🍺 BREW Explorer

← all formulae

socat

brew install socat v1.8.1.1 GPL-2.0-only

Multipurpose relay for bidirectional data transfer between sockets, files, and processes; netcat alternative with advanced features.

Why you might care

Use socat when you need more flexibility than netcat: establish complex socket chains, relay between Unix sockets and TCP, fork connections per request, or proxy encrypted streams. Single binary handles SSL/TLS, socks, and non-blocking I/O natively, making it ideal for scripting network plumbing and debugging distributed systems without writing code.

Categories

Alternatives

netcat nc ncat telnet
4.6k
30-day installs · #638
14.8k
90-day · #657
59.3k
365-day · #597

Runtime dependencies

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "netcat",
    "nc",
    "ncat",
    "telnet"
  ],
  "build_dependencies": [],
  "categories": [
    "networking",
    "http-client",
    "proxy"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "openssl@3"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "SOcket CAT: netcat on steroids",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:41:00+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "socat",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "http://www.dest-unreach.org/socat/",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": "socat",
  "installs_30d": 4588,
  "installs_365d": 59345,
  "installs_90d": 14772,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "GPL-2.0-only",
  "llm_generated_at": "2026-06-20T23:46:04+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "socat",
  "oldnames": [],
  "one_liner": "Multipurpose relay for bidirectional data transfer between sockets, files, and processes; netcat alternative with advanced features.",
  "optional_dependencies": [],
  "rank_30d": 638,
  "rank_365d": 597,
  "rank_90d": 657,
  "raw_hash": "35e23af394e15f99",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/s/socat.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "1.8.1.1",
  "versioned_formulae": [],
  "why_use_this": "Use socat when you need more flexibility than netcat: establish complex socket chains, relay between Unix sockets and TCP, fork connections per request, or proxy encrypted streams. Single binary handles SSL/TLS, socks, and non-blocking I/O natively, making it ideal for scripting network plumbing and debugging distributed systems without writing code."
}