# 使用 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
- **版本:** 1.2.0
- **来源摘要:** Command-line DNS Client for Humans
- **主页:** <https://doggo.mrkaran.dev/>
- **仓库:** <https://github.com/mr-karan/doggo>
- **最后更新:** 2026-07-28T14:10:42+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- doggo (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.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。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


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

- 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


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