# 使用 Homebrew, Nix, scoop 安装 tproxy

查看 tproxy 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:tproxy
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tproxy
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#tproxy
```

  证据: nixpkgs package indexes: pkgs/by-name/tp/tproxy/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/tproxy
```

  证据: Scoop official bucket manifest trees: bucket/tproxy.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:tproxy
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/tproxy>
- **版本:** 0.9.2
- **来源摘要:** CLI tool to proxy and analyze TCP connections
- **主页:** <https://go-zero.dev>
- **仓库:** <https://github.com/kevwan/tproxy>
- **上游文档:** <https://go-zero.dev>
- **许可证:** MIT
- **源码归档:** <https://github.com/kevwan/tproxy/archive/refs/tags/v0.9.2.tar.gz>
- **最后更新:** 2026-07-26T00:51:26+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- tproxy (cli)
- tproxy (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.9.2
- 管理器更新时间: 2026-07-26
- 本地数据: OK
- 上游仓库: https://github.com/kevwan/tproxy
- 检测到的最新版本: v0.9.2 (当前)
## 项目历史与用法

tproxy is a Go CLI for proxying and analyzing TCP connections, aimed at developers who need to observe live service traffic without setting up a full packet-analysis stack.

### 项目历史

The upstream README frames tproxy as a tool written out of backend-service development needs. The author says that while developing backend services and go-zero, they often needed to monitor network traffic such as gRPC connection behavior, MySQL connection pools, and arbitrary TCP connections.

The GitHub repository was created in June 2022 and released v0.1.0 the same day. Release metadata shows a steady 0.x series continuing through v0.9.2 in December 2025.

### 采用历史

The project is distributed through Go's normal `go install` workflow and through Docker images; the README also documents Windows installation with Scoop. The batch source facts show additional packaging in Homebrew and Nix, which puts the tool in the cross-platform package-manager niche rather than only in the Go module ecosystem.

### 使用方式

Users run tproxy as a local listener that forwards to a remote address, optionally selecting protocol handling for http2, grpc, redis, or mongodb, adding packet delay, limiting upload or download speed, and enabling statistics. Official examples cover monitoring gRPC traffic, MySQL connections, reliability through retransmission and RTT statistics, and connection-pool behavior.

### 为什么软件包爱好者会关心

tproxy appeals to package nerds because it sits between heavyweight packet tools and application observability stacks: it is a single CLI that can be installed by Homebrew, Nix, Scoop, Go, or Docker and used immediately in local debugging sessions.

### 时间线

- 2022-06: GitHub repository created and v0.1.0 released.
- 2022-07: v0.5.0 released during the early rapid-release period.
- 2023-02: v0.7.0 released.
- 2025-12: v0.9.2 released.

### Related projects

- go-zero, gRPC, MySQL, Redis, MongoDB, Wireshark, Charles, tcpdump.

### 来源

- <https://api.github.com/repos/kevwan/tproxy>
- <https://github.com/kevwan/tproxy#readme>
- <https://github.com/kevwan/tproxy/releases>
- source_facts.package-manager


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

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

## 其他软件包管理器记录

- Nix - tproxy: normalized package name match | nixpkgs package indexes: pkgs/by-name/tp/tproxy/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/tproxy: normalized package name match | Scoop official bucket manifest trees: bucket/tproxy.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Database and data packages](https://pkg.so/zh-hans/database-data-tools/) - Matched database, SQL, migration, or data-store metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [goctl](https://pkg.so/zh-hans/brew/goctl/) - Shares the same upstream homepage.
- [netshow](https://pkg.so/zh-hans/brew/netshow/) - Shares pkgdb curated category or tags: cli, network-monitoring, networking, tcp.
- [proxytunnel](https://pkg.so/zh-hans/brew/proxytunnel/) - Shares pkgdb curated category or tags: cli, networking, proxy, tcp.
- [haproxy@2.8](https://pkg.so/zh-hans/brew/haproxy-2-8/) - Shares pkgdb curated category or tags: cli, networking, proxy, tcp.
- [rinetd](https://pkg.so/zh-hans/brew/rinetd/) - Shares pkgdb curated category or tags: cli, networking, proxy, tcp.
- [redir](https://pkg.so/zh-hans/brew/redir/) - Shares pkgdb curated category or tags: cli, networking, proxy, tcp.
- [speedbump](https://pkg.so/zh-hans/brew/speedbump/) - Shares pkgdb curated category or tags: cli, networking, proxy, tcp.
- [tcpstat](https://pkg.so/zh-hans/brew/tcpstat/) - Shares pkgdb curated category or tags: cli, network-monitoring, networking, tcp.
- [zoro](https://pkg.so/zh-hans/brew/zoro/) - Shares pkgdb curated category or tags: cli, networking, proxy, tcp.
- [miruo](https://pkg.so/zh-hans/brew/miruo/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, monitoring, network, network-monitoring, networking.

## Combined YAML source

View the package source record on GitHub. [combined/tproxy.yml](https://github.com/mxcl/pkgdb/blob/main/combined/tproxy.yml)


## 来源

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