# Install anycable-go with Homebrew

WebSocket server with action cable protocol. Version 1.6.15 via Homebrew; verified 2026-06-29.

## Install

```sh
sudo av install brew:anycable-go
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install anycable-go
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:anycable-go
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/anycable-go>
- **Version:** 1.6.15
- **Source summary:** WebSocket server with action cable protocol
- **Homepage:** <https://anycable.io>
- **Repository:** <https://github.com/anycable/anycable>
- **Upstream docs:** <https://docs.anycable.io/anycable-go/configuration>
- **License:** MIT
- **Source archive:** <https://github.com/anycable/anycable/archive/refs/tags/v1.6.15.tar.gz>
- **Last updated:** 2026-06-29T20:47:05Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- anycable-go (cli)
- anycable-go (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.6.15
- Package-manager updated: 2026-06-29
- Local data: ok
- Upstream repository: https://github.com/anycable/anycable
- Upstream latest detected: v1.6.15 (current)
## Project history and usage

AnyCable-Go is the Go realtime server component of AnyCable, a framework for replacing or extending Ruby on Rails Action Cable with a separate WebSocket service. In package-manager terms, it is the installable server binary that turns AnyCable from a Ruby gem into a deployable realtime system.

### Project history

The AnyCable README says the project lets applications use any WebSocket server as a replacement for a Ruby server such as Action Cable, while keeping the same Action Cable protocol and JavaScript client compatibility. The current docs broaden the positioning: AnyCable is a realtime server with delivery guarantees for Rails, Laravel, Node.js, Python, and any backend that can speak HTTP.

The Go server grew alongside the Ruby/Rails integration. Official docs describe two operating modes: RPC-backed mode, where the server delegates connection and subscription logic to an application, and standalone pub/sub mode, where signed streams and JWT-style authentication allow use without a full Action Cable backend.

### Adoption history

AnyCable's adoption story started in the Rails world, where it offered a path away from running large numbers of persistent WebSocket connections inside Ruby application processes. The official README links talks from RailsClub Moscow 2016, RubyConfMY 2017, RubyKaigi 2018, Wroc_Love.rb 2018, and RubyConf 2018, plus an Evil Martians post marking AnyCable 1.0 after four years of real-time web with Ruby and Go.

The docs now present AnyCable beyond Rails: Laravel, Node.js serverless, Python and generic HTTP backends, Hotwire, SSE, long polling, Pusher protocol, GraphQL, and server-side reliable streams. That wider docs surface explains why anycable-go is packaged as a standalone Homebrew formula rather than only as a Ruby gem transitive artifact.

### How it is used

Operators run anycable-go as a WebSocket/realtime server and configure it with environment variables, CLI flags, or, since v1.5.4, a TOML config file. Official docs say it looks for ./anycable.toml and /etc/anycable/anycable.toml by default, and also accepts --config-path.

For Rails, a typical deployment pairs anycable-go with anycable or anycable-rails in the application, a broadcast adapter such as Redis, NATS, or HTTP, and a WebSocket URL pointed at the AnyCable server. For non-Rails usage, users can run standalone signed streams, MySQL-like clients are irrelevant, and the operational focus becomes pub/sub, delivery guarantees, and connection draining.

### Why package nerds care

AnyCable-Go matters because it is a case study in splitting a framework feature into a polyglot service. Homebrew installs a Go binary, RubyGems installs the Rails-side pieces, npm may install client packages, and deployment docs bridge all of them.

The project also shows how a package can be a protocol implementation rather than just an app. Its significance is tied to Action Cable compatibility, the extended Action Cable protocol, reliable streams, and the ability to operate realtime traffic with Go's runtime characteristics while keeping Rails channel code.

### Timeline

- 2016: Official README links a RailsClub Moscow talk about AnyCable.
- 2018: Official README links RubyKaigi, Wroc_Love.rb, and RubyConf talks focused on high-speed cables and Ruby/Go realtime architecture.
- 2020: Official README links AnyCable 1.0 coverage after four years of real-time web with Ruby and Go.
- 2024: Official docs note TOML configuration support in anycable-go since v1.5.4.
- 2026: The official release feed shows v1.6.15 with maintenance fixes and Go toolchain updates.

### Related projects

- Action Cable is the Rails WebSocket framework whose protocol AnyCable supports.
- anycable and anycable-rails are the Ruby-side integration packages.
- anycable-client is the JavaScript client SDK linked from the official docs.
- Lite Cable is mentioned by the docs for non-Rails Ruby application logic.

### Sources

- Official AnyCable README, docs markdown bundle, configuration docs, release feed, and source_facts.description.


## Security Notes

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

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ./anycable.toml, /etc/anycable/anycable.toml
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** anycable-go
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## Related links

- [Package publisher tools](https://www.automicvault.com/pkg/package-publishers/) - Belongs to a package publishing or registry command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [brew-gem](https://www.automicvault.com/pkg/brew/brew-gem/) - Shares av.db curated category or tags: cli, developer-tools, ruby.
- [chruby](https://www.automicvault.com/pkg/brew/chruby/) - Shares av.db curated category or tags: cli, developer-tools, ruby.
- [cucumber-ruby](https://www.automicvault.com/pkg/brew/cucumber-ruby/) - Shares av.db curated category or tags: cli, developer-tools, ruby.
- [frum](https://www.automicvault.com/pkg/brew/frum/) - Shares av.db curated category or tags: cli, developer-tools, ruby.
- [ghi](https://www.automicvault.com/pkg/brew/ghi/) - Shares av.db curated category or tags: cli, developer-tools, ruby.
- [gist](https://www.automicvault.com/pkg/brew/gist/) - Shares av.db curated category or tags: cli, developer-tools, ruby.
- [gitlab-gem](https://www.automicvault.com/pkg/brew/gitlab-gem/) - Shares av.db curated category or tags: cli, developer-tools, ruby.
- [httpyac](https://www.automicvault.com/pkg/brew/httpyac/) - Shares av.db curated category or tags: cli, developer-tools, websocket.
- [jetty](https://www.automicvault.com/pkg/brew/jetty/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, developer, developer-tools, server, websocket.
- [rails-mcp-server](https://www.automicvault.com/pkg/brew/rails-mcp-server/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, ruby, server.
- [ruby-lsp](https://www.automicvault.com/pkg/brew/ruby-lsp/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, ruby, server.

## Combined YAML source

View the package source record on GitHub. [combined/anycable-go.yml](https://github.com/automic-vault/db/blob/main/combined/anycable-go.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
