# 使用 Homebrew, Nix 安装 dstp

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

## 安装

```sh
sudo av install brew:dstp
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dstp
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#dstp
```

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

## 软件包事实

- **软件包键:** brew:dstp
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/dstp>
- **版本:** 0.4.23
- **来源摘要:** Run common networking tests against your site
- **主页:** <https://github.com/ycd/dstp>
- **仓库:** <https://github.com/ycd/dstp>
- **上游文档:** <https://github.com/ycd/dstp#readme>
- **许可证:** MIT
- **源码归档:** <https://github.com/ycd/dstp/archive/refs/tags/v0.4.23.tar.gz>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- dstp (cli)
- dstp (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.4.23
- 本地数据: OK
- 上游仓库: https://github.com/ycd/dstp
- 检测到的最新版本: v0.4.23 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

dstp is a small Go CLI for running common network checks against a site, including address, DNS, ping, TLS, and HTTPS-oriented diagnostics. It is a package-manager-friendly utility in the tradition of tiny command-line probes for answering 'is the site reachable, and where is it failing?'

### 项目历史

The GitHub repository was created in November 2021. The README says the motivation came from a Lobsters discussion about diagnosing DNS-related failures, then shaped that idea into a compact command with plaintext or JSON output.

The release history was concentrated around late 2021, with v0.1.0 through v0.4.0 appearing in November, and later maintenance releases leading to v0.4.23 in January 2025.

### 采用历史

The README documents Homebrew, Go install, Nix, Arch AUR, and GitHub release downloads for macOS, Linux, and Windows. Homebrew packages v0.4.23 from the GitHub release tag.

Evidence for broad adoption is limited, but its presence in Homebrew and Nix shows the kind of small diagnostic binary that package sets include because it is cheap to package and useful during incident triage.

### 使用方式

Users run `dstp --addr` with a URL or IP address and can request plaintext or JSON output, set ping packet counts and timeouts, choose a port for TLS and HTTPS tests, and use a custom DNS server for resolution.

The tool has no documented config file or credential store; it is meant to be driven entirely by command-line options.

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

dstp is interesting mostly as a small Go networking tool with multi-platform release artifacts and package-manager coverage. It illustrates how a single-purpose diagnostic idea can become a normal `brew install` command without a large ecosystem around it.

Its name also collides with the `docker stop` alias in some oh-my-zsh setups, a small but very package-nerd detail documented by the upstream README.

### 时间线

- 2021-11: The dstp GitHub repository is created.
- 2021-11: GitHub releases publish v0.1.0 through v0.4.0.
- 2025-01: GitHub releases and Homebrew package v0.4.23.

### Related projects

- Go is the implementation and source-install path documented by the README.
- Nix and Arch AUR are documented as alternate package channels.
- Docker and oh-my-zsh are relevant only because the README documents a command alias collision with `dstp`.

### 来源

- <https://github.com/ycd/dstp>
- <https://api.github.com/repos/ycd/dstp>
- <https://api.github.com/repos/ycd/dstp/releases>
- <https://formulae.brew.sh/api/formula/dstp.json>


## 安全说明

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

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** dstp
- **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 - dstp: normalized package name match | nixpkgs package indexes: pkgs/by-name/ds/dstp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [iputils](https://www.automicvault.com/zh-hans/pkg/brew/iputils/) - Shares av.db curated category or tags: cli, diagnostics, networking.
- [nali](https://www.automicvault.com/zh-hans/pkg/brew/nali/) - Shares av.db curated category or tags: cli, diagnostics, networking.
- [dhcping](https://www.automicvault.com/zh-hans/pkg/brew/dhcping/) - Shares av.db curated category or tags: cli, diagnostics, networking.
- [dnstracer](https://www.automicvault.com/zh-hans/pkg/brew/dnstracer/) - Shares av.db curated category or tags: cli, diagnostics, networking.
- [scamper](https://www.automicvault.com/zh-hans/pkg/brew/scamper/) - Shares av.db curated category or tags: cli, diagnostics, networking.
- [cloudflare-speed-cli](https://www.automicvault.com/zh-hans/pkg/brew/cloudflare-speed-cli/) - Shares av.db curated category or tags: cli, diagnostics, networking.
- [dhcpdump](https://www.automicvault.com/zh-hans/pkg/brew/dhcpdump/) - Shares av.db curated category or tags: cli, diagnostics, networking.
- [fastrace](https://www.automicvault.com/zh-hans/pkg/brew/fastrace/) - Shares av.db curated category or tags: cli, diagnostics, networking.
- [speedtest-cli](https://www.automicvault.com/zh-hans/pkg/brew/speedtest-cli/) - Local package facts share a topical domain. Shared terms: cli, diagnostics, networking, tests.

## Combined YAML source

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


## 来源

- 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
