# 使用 Homebrew 安装 network-doctor

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

## 安装

```sh
sudo av install brew:network-doctor
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install network-doctor
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:network-doctor
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/network-doctor>
- **版本:** 2.1.1
- **来源摘要:** Network troubleshooting TUI
- **主页:** <https://github.com/heymaikol/network-doctor/>
- **仓库:** <https://github.com/heymaikol/network-doctor>
- **上游文档:** <https://github.com/heymaikol/network-doctor/>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/heymaikol/network-doctor/archive/refs/tags/v2.1.1.tar.gz>
- **最后更新:** 2026-10-29T22:09:44Z
- **已生成:** 2026-11-04T12:20:42+00:00

## 可执行文件

- netdoc (cli)
- netdoc (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-11-04
- 管理器版本: 2.1.1
- 管理器更新时间: 2026-10-29
- 本地数据: OK
- 上游仓库: https://github.com/heymaikol/network-doctor
- 检测到的最新版本: v2.1.1 (当前)
## 项目历史与用法

Network Doctor is a cross-platform terminal UI and automation-friendly CLI for diagnosing interface, DNS, TCP, TLS, HTTP, proxy, and path-MTU failures.

### 项目历史

Network Doctor was developed as a Go-based, cross-platform troubleshooting TUI. Its design focuses on locating the failing network layer and presenting evidence and suggested fixes rather than exposing only raw output from individual diagnostic commands.

### 采用历史

The project supplies binaries or packages for Linux, macOS, and Windows, including Homebrew, Winget, Scoop, Fedora COPR, and release artifacts. The same engine supports interactive diagnosis, watch mode, JSON output, and stable exit codes for automation.

### 使用方式

Running `netdoc` without a target checks local connectivity, egress, proxy, public DNS, and Wi-Fi metadata. Supplying a hostname or service performs layered diagnosis; `--watch` observes intermittent faults, while `--json` produces machine-readable reports.

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

Network Doctor consolidates tools commonly invoked separately—such as interface inspection, DNS lookup, TCP connection testing, TLS inspection, and HTTP probing—into a layered diagnosis. Package users gain one cross-platform binary that can explain failures interactively or emit structured reports.

### 时间线

- 2020s: Network Doctor is published as a cross-platform Go project with native package and release-binary distribution.

### Related projects

- Traditional tools such as ping, dig, and curl cover narrower portions of the troubleshooting workflow that Network Doctor combines.

### 来源

- <https://github.com/heymaikol/network-doctor#readme>
- <https://github.com/heymaikol/network-doctor/tree/main/docs>


## 安全说明

没有找到 network-doctor 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

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


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [netwatch](https://pkg.so/zh-hans/brew/netwatch/) - Choose NetWatch when troubleshooting requires continuous connection and process visibility, live packet capture, protocol decoding, or PCAP-based incident forensics rather than a bounded layered diagnosis.

  来源: <https://networkdoctor.dev/docs/reference/> · <https://github.com/matthart1983/netwatch/blob/main/docs/REFERENCE.md>

## Combined YAML source

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


## 来源

- pkg.so package database
- package-page enrichment
- curated package history
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
