# 使用 Homebrew, apk, MacPorts, Nix, pacman, zypper, scoop, winget 安装 doggo

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

## 安装

```sh
sudo av install brew:doggo
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install doggo
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install doggo
```

  证据: MacPorts ports tree: net/doggo/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add doggo
```

  证据: Alpine Linux edge package indexes: doggo from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#doggo
```

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

- pacman (92%):

```sh
sudo pacman -S doggo
```

  证据: Arch Linux sync databases: doggo from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install doggo
```

  证据: openSUSE Tumbleweed package metadata: doggo from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/doggo
```

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

- winget (92%):

```sh
winget install --id MrKaran.Doggo -e
```

  证据: Windows Package Manager source index: MrKaran.Doggo from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:doggo
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/doggo>
- **版本:** 1.2.0
- **来源摘要:** Command-line DNS Client for Humans
- **主页:** <https://doggo.mrkaran.dev/>
- **仓库:** <https://github.com/mr-karan/doggo>
- **上游文档:** <https://doggo.mrkaran.dev/>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://github.com/mr-karan/doggo/archive/refs/tags/v1.2.0.tar.gz>
- **最后更新:** 2026-07-28T14:10:42+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- doggo (cli)
- doggo (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.2.0
- 管理器更新时间: 2026-07-28
- 本地数据: OK
- 上游仓库: https://github.com/mr-karan/doggo
- 检测到的最新版本: v1.2.0 (当前)
## 项目历史与用法

doggo is a Go DNS lookup client built as a human-friendly alternative to dig and as a from-scratch response to the Rust dog project.

### 项目历史

The doggo repository was created in December 2020. Its README says the project was inspired by ogham/dog: the author wanted to add features, did not know Rust, and used that as a reason to write a DNS client from scratch in Go.

doggo grew from a clean DNS lookup command into a broader resolver toolkit. The README documents DoH, DoT, DoQ, DNSCrypt, TCP, UDP, EDNS features, JSON output, reverse lookups, shell completions, a web interface, and Globalping-assisted lookups.

### 采用历史

doggo has unusually broad CLI packaging for a DNS utility. The official README lists Homebrew, MacPorts, Arch Linux, Mise, Nix, Scoop, Winget, Eget, Go install, binary releases, and Docker images. That packaging spread, plus thousands of GitHub stars, made it one of the more visible post-dog DNS clients.

### 使用方式

Typical usage mirrors dig but with shorter, friendlier output: querying records, choosing resolvers with @server syntax, sending DNS-over-HTTPS requests to endpoint URLs, doing reverse DNS lookups, and piping JSON output into tools like jq.

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

doggo is package-nerd catnip because it packages a polished network diagnostic CLI across nearly every mainstream distribution channel while staying a single-purpose command. It is also a neat example of a rewrite that became an ecosystem object in its own right rather than just a clone.

### 时间线

- 2020: Repository created and v0.1.0 released.
- 2020: README framed the project as dog plus Go, written from scratch.
- 2026: v1.2.0 released, with the repository still active shortly before this batch.

### Related projects

- doggo is explicitly inspired by ogham/dog. It overlaps with dig, drill, doge, curl/doh, and other DNS diagnostic CLIs, but distinguishes itself with Go distribution, modern encrypted DNS protocols, and JSON-friendly output.

### 来源

- <https://github.com/mr-karan/doggo#readme>
- <https://api.github.com/repos/mr-karan/doggo>
- <https://github.com/mr-karan/doggo/releases/tag/v0.1.0>
- <https://github.com/mr-karan/doggo/releases/tag/v1.2.0>


## 安全说明

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


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** doggo
- **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 - doggo: normalized package name match | nixpkgs package indexes: pkgs/by-name/do/doggo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - doggo - 1.1.5-r4: normalized package name match | Alpine Linux edge package indexes: doggo from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Modern command-line DNS client, with DoH, DoT and DNSCrypt support | https://github.com/mr-karan/doggo
- apk - doggo-bash-completion - 1.1.5-r4: normalized package name match | Alpine Linux edge package indexes: doggo-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for doggo | https://github.com/mr-karan/doggo
- apk - doggo-fish-completion - 1.1.5-r4: normalized package name match | Alpine Linux edge package indexes: doggo-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for doggo | https://github.com/mr-karan/doggo
- apk - doggo-zsh-completion - 1.1.5-r4: normalized package name match | Alpine Linux edge package indexes: doggo-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for doggo | https://github.com/mr-karan/doggo
- pacman - doggo - 1.2.0-1: normalized package name match | Arch Linux sync databases: doggo from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Command-line DNS Client for Humans | https://github.com/mr-karan/doggo
- zypper - doggo - 1.2.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: doggo from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | CLI tool and API server DNS client implemented in Go | https://github.com/mr-karan/doggo
- zypper - doggo-bash-completion - 1.2.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: doggo-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | bash completion for doggo | https://github.com/mr-karan/doggo
- zypper - doggo-fish-completion - 1.2.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: doggo-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | fish completion for doggo | https://github.com/mr-karan/doggo
- zypper - doggo-web - 1.2.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: doggo-web from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Web UI for doggo | https://github.com/mr-karan/doggo
- zypper - doggo-zsh-completion - 1.2.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: doggo-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | zsh completion for doggo | https://github.com/mr-karan/doggo
- MacPorts - doggo: normalized package name match | MacPorts ports tree: net/doggo/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/doggo: normalized package name match | Scoop official bucket manifest trees: bucket/doggo.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - MrKaran.Doggo: normalized package name match | Windows Package Manager source index: MrKaran.Doggo from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [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.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [doge](https://pkg.so/zh-hans/brew/doge/) - Shares pkgdb curated category or tags: cli, dns, dns-client, dns-over-https, networking.
- [coredns](https://pkg.so/zh-hans/brew/coredns/) - Shares pkgdb curated category or tags: cli, dns, go, networking.
- [sdns](https://pkg.so/zh-hans/brew/sdns/) - Shares pkgdb curated category or tags: cli, dns, go, networking.
- [doh](https://pkg.so/zh-hans/brew/doh/) - Shares pkgdb curated category or tags: cli, dns, dns-over-https, networking.
- [aliddns](https://pkg.so/zh-hans/brew/aliddns/) - Shares pkgdb curated category or tags: cli, dns, go, networking.
- [libidn2](https://pkg.so/zh-hans/brew/libidn2/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [libidn](https://pkg.so/zh-hans/brew/libidn/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [dnsmasq](https://pkg.so/zh-hans/brew/dnsmasq/) - Shares pkgdb curated category or tags: cli, dns, networking.
- [nextdns](https://pkg.so/zh-hans/brew/nextdns/) - Local package facts share a topical domain. Shared terms: cli, dns, dns-over-https, https, networking.

## Combined YAML source

View the package source record on GitHub. [combined/doggo.yml](https://github.com/mxcl/pkgdb/blob/main/combined/doggo.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
