# Install brook with Homebrew, MacPorts, Nix, pacman

Cross-platform strong encryption and not detectable proxy. Zero-Configuration. Version 20260101 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:brook
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install brook
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install brook
```

  Evidence: MacPorts ports tree: net/brook/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#brook
```

  Evidence: nixpkgs package indexes: pkgs/by-name/br/brook/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S brook
```

  Evidence: Arch Linux sync databases: brook from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Package facts

- **Package key:** brew:brook
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/brook>
- **Version:** 20260101
- **Source summary:** Cross-platform strong encryption and not detectable proxy. Zero-Configuration
- **Homepage:** <https://brook.app/>
- **Repository:** <https://github.com/txthinking/brook>
- **Upstream docs:** <https://www.txthinking.com/brook.html>
- **License:** GPL-3.0-only
- **Source archive:** <https://github.com/txthinking/brook/archive/refs/tags/v20260101.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- brook (cli)
- brook (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: 20260101
- Local data: ok
- Upstream repository: https://github.com/txthinking/brook
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## Project history and usage

Brook is TxThinking's cross-platform programmable network tool, packaged as a Go-based proxy/VPN-style command-line program with clients for desktop, mobile, Linux, and OpenWrt. Its public positioning has shifted from a simple encrypted proxy toward a broader programmable network layer.

### Project history

The official GitHub repository describes Brook as a cross-platform programmable network tool and documents a basic server/client workflow around commands such as `brook server` and `brook link`. Its tag history includes date-stamped releases starting in 2017, showing a long-running release model rather than a one-off proxy experiment.

The current official product page emphasizes system-level networking, TCP/UDP/IPv4/IPv6 coverage, client-side and server-side programmability, DNS and routing control, packet capture, MITM HTTP/HTTPS capabilities, and cross-platform clients for iOS, macOS, Android, Windows, and Linux.

### Adoption history

Brook's adoption is strongest in the privacy, proxy, and programmable-networking niche. GitHub shows a large open-source audience with thousands of stars and forks, while the input package facts show distribution through Homebrew, MacPorts, Nix, Arch, and other Unix-like package channels.

### How it is used

Common use starts with a Brook server listening on a port and a client or generated link carrying connection parameters. Later Brook workflows extend into system-wide routing, DNS policy, destination rewriting, application-level controls, and OpenWrt or mobile clients.

### Why package nerds care

Brook is notable in package-manager history as one of several post-Shadowsocks-era Go networking tools that package cleanly into a single binary while covering a wide surface area: proxying, VPN-like routing, mobile clients, DNS policy, and traffic inspection. Its date-based release tags also make it recognizable in rolling-release packaging.

### Timeline

- 2017-03-16: Earliest public release tag observed in the official Git repository.
- 2017-2020s: Brook evolves through frequent date-stamped releases.
- 2025-12-31: GitHub lists v20260101 as the latest release at the time researched.

### Related projects

- Related networking packages include Shadowsocks, V2Ray/Xray, sing-box, gost, WireGuard, OpenVPN, and OpenWrt proxy tooling. Brook differs by combining proxy transport, programmable policy, and cross-platform commercial-style clients around the same project.

### Sources

- <https://github.com/txthinking/brook#readme>
- <https://www.txthinking.com/brook.html>
- source_facts.package-manager


## Security Notes

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

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

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** brook
- **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

## Other Package-Manager Records

- Nix - brook: normalized package name match | nixpkgs package indexes: pkgs/by-name/br/brook/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - brook - 20240214-1: normalized package name match | Arch Linux sync databases: brook from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A cross-platform proxy/vpn software | https://github.com/txthinking/brook
- MacPorts - brook: normalized package name match | MacPorts ports tree: net/brook/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [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.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://www.automicvault.com/pkg/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [connect](https://www.automicvault.com/pkg/brew/connect/) - Shares av.db curated category or tags: cli, networking, proxy.
- [dante](https://www.automicvault.com/pkg/brew/dante/) - Shares av.db curated category or tags: cli, networking, proxy.
- [geph4](https://www.automicvault.com/pkg/brew/geph4/) - Shares av.db curated category or tags: cli, networking, proxy.
- [ghostunnel](https://www.automicvault.com/pkg/brew/ghostunnel/) - Shares av.db curated category or tags: cli, networking, proxy.
- [gost](https://www.automicvault.com/pkg/brew/gost/) - Shares av.db curated category or tags: cli, networking, proxy.
- [hysteria](https://www.automicvault.com/pkg/brew/hysteria/) - Shares av.db curated category or tags: cli, networking, proxy.
- [libproxy](https://www.automicvault.com/pkg/brew/libproxy/) - Shares av.db curated category or tags: cli, networking, proxy.
- [mihomo](https://www.automicvault.com/pkg/brew/mihomo/) - Shares av.db curated category or tags: cli, networking, proxy.
- [sing-box](https://www.automicvault.com/pkg/brew/sing-box/) - Local package facts share a topical domain. Shared terms: cli, networking, platform, proxy.
- [v2ray](https://www.automicvault.com/pkg/brew/v2ray/) - Local package facts share a topical domain. Shared terms: cli, networking, platform, proxy.

## Combined YAML source

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


## Sources

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