# 使用 Homebrew, Nix 安装 whistle

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

## 安装

```sh
sudo av install brew:whistle
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install whistle
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#whistle
```

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

## 软件包事实

- **软件包键:** brew:whistle
- **软件包管理器:** Homebrew
- **版本:** 2.10.8
- **来源摘要:** HTTP, HTTP2, HTTPS, Websocket debugging proxy
- **主页:** <https://wproxy.org/>
- **最后更新:** 2026-08-03T15:31:37Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- w2 (别名)
- whistle (别名)
- wproxy (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.10.8
## 项目历史与用法

whistle is a Node.js-based cross-platform web debugging proxy for HTTP, HTTPS, HTTP/2, WebSocket, and TCP traffic. It sits in the same practical niche as Charles Proxy and Fiddler, but exposes a rule-driven, scriptable, plugin-friendly workflow.

### 项目历史

The avwo/whistle repository was created on March 13, 2015. Its README describes whistle as a cross-platform packet-capture and debugging tool built on Node.js, with request and response inspection, modification, proxy modes, a web interface, and plugin extensibility.

The official documentation centers the project around concise rules. A request URL pattern is matched to an operation, allowing users to rewrite, proxy, mock, inspect, or otherwise modify traffic without writing a full proxy server.

### 采用历史

whistle built a durable audience among web, mobile, and frontend developers who need to debug traffic outside the browser's built-in developer tools. GitHub API metadata showed more than 15,000 stars and more than 1,100 forks on July 2, 2026.

Its adoption is reinforced by the surrounding ecosystem: an official desktop client, plugin development documentation, and common command aliases such as `w2` make it useful both on developer laptops and headless servers.

### 使用方式

Typical usage is to start the local proxy, configure the system or browser proxy, install a root certificate for HTTPS inspection when appropriate, and manage rules through the web UI. Users commonly map production URLs to local files, replay requests, inspect WebSocket traffic, inject headers, mock APIs, or route matching requests through another proxy.

The rule engine is the core package-nerd appeal: a small text rule can replace a temporary local service, a hosts-file edit, a browser extension, or a custom proxy script.

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

whistle matters as a package because it brings a GUI-grade debugging proxy into the Node/npm/Homebrew command-line world. It is installable, automatable, extensible with npm-style plugins, and friendly to repeatable debugging setups.

For developers who live in terminal package managers, whistle is the open, scriptable alternative to heavier proprietary proxy applications.

### 时间线

- 2015-03-13: The avwo/whistle GitHub repository was created.
- 2026-07-02: GitHub API metadata showed the repository above 15,000 stars.
- Ongoing: Official docs describe rule syntax, proxy modes, command-line operation, and plugin development as core parts of the project.

### Related projects

- whistle-client is the official desktop client for users who prefer a packaged GUI wrapper.
- Charles Proxy and Fiddler are comparable web debugging proxy tools named in whistle's GitHub topics and package culture.
- Whistle plugins extend the rule engine and web interface for custom debugging workflows.

### 来源

- Official getting started docs: https://wproxy.org/en/docs/getting-started.html
- Official plugin development docs: https://wproxy.org/en/docs/extensions/dev.html
- Official rule syntax docs: https://wproxy.org/en/docs/rules/rule.html
- whistle GitHub API metadata: https://api.github.com/repos/avwo/whistle
- whistle repository and README: https://github.com/avwo/whistle
- whistle-client repository: https://github.com/avwo/whistle-client


## 安全说明

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

- **Geiger 风险:** blue / 中
- 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: ~/.whistlerc, ~/.WhistleAppData/.whistle/rules, ~/.WhistleAppData/.whistle/values
## 其他软件包管理器记录

- Nix - whistle: normalized package name match | nixpkgs package indexes: pkgs/by-name/wh/whistle/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
