# 使用 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
- **版本:** 0.9.2
- **来源摘要:** CLI tool to proxy and analyze TCP connections
- **主页:** <https://go-zero.dev>
- **仓库:** <https://github.com/kevwan/tproxy>
- **最后更新:** 2026-07-26T00:51:26+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- tproxy (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.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

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

- 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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
