# 使用 Homebrew, dnf, MacPorts, Nix, pacman 安装 doge

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

## 安装

```sh
sudo av install brew:doge
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install doge
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install doge
```

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

### Linux

- dnf (92%):

```sh
sudo dnf install doge
```

  证据: Fedora Rawhide package metadata: doge from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#doge
```

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

- pacman (92%):

```sh
sudo pacman -S doge
```

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

## 软件包事实

- **软件包键:** brew:doge
- **软件包管理器:** Homebrew
- **版本:** 0.2.9
- **来源摘要:** Command-line DNS client
- **主页:** <https://dog.ramfield.net/>
- **仓库:** <https://github.com/Dj-Codeman/dog_community>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- doge (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

doge is a community-maintained continuation of the Rust DNS lookup tool dog, keeping the short, colorful CLI style while adding packaging and maintenance around a new executable name.

### 项目历史

The current doge repository was created in February 2024 and describes itself as reviving a command-line DNS client forked from ogham/dog. Its README keeps the original dog-like usage model: quick hostname queries, record-type arguments, named resolvers, JSON output, and optional DNS-over-TLS or DNS-over-HTTPS transports.

The first GitHub release in the revived repository was v0.2.1-beta in February 2024, labeled as a return of the project, followed by stable-looking 0.2.x releases through v0.2.9 in August 2025.

### 采用历史

doge is a small package-manager preservation story rather than a broad ecosystem tool. Its official README lists Homebrew, Cargo, and Arch-style installation routes, and the GitHub repository remains modest in size compared with its better-known predecessor dog and the Go reimplementation doggo.

### 使用方式

Users reach for doge as a friendlier dig-style DNS client: short command forms for A, MX, and other records, explicit nameserver selection, TCP/UDP/TLS/HTTPS transport switches, and JSON output for scripts.

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

doge matters mostly because it shows how beloved CLI tools survive after upstream momentum slows: a renamed fork, package-manager formulas, and a tiny maintenance community keep a useful command installable.

### 时间线

- 2024: doge repository created as a revival/fork of ogham/dog.
- 2024: v0.2.1-beta published as the first GitHub release in the revived repository.
- 2025: v0.2.9 published, continuing the 0.2.x maintenance line.

### Related projects

- doge is directly related to ogham/dog, the Rust DNS client it forked from, and overlaps in purpose with doggo, dig, drill, and curl/doh.

### 来源

- <https://github.com/Dj-Codeman/dog_community#readme>
- <https://api.github.com/repos/Dj-Codeman/dog_community>
- <https://github.com/Dj-Codeman/dog_community/releases/tag/v0.2.1-beta>
- <https://github.com/Dj-Codeman/dog_community/releases/tag/v0.2.9>


## 安全说明

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

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

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

- Nix - doge: normalized package name match | nixpkgs package indexes: pkgs/by-name/do/doge/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - doge - 3.6.0-26.fc45: normalized package name match | Fedora Rawhide package metadata: doge from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | MOTD script based on the doge meme | https://github.com/thiderman/doge
- pacman - doge - 3.8.0-2: normalized package name match | Arch Linux sync databases: doge from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | doge meme motd script | https://github.com/thiderman/doge
- MacPorts - doge: normalized package name match | MacPorts ports tree: net/doge/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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