# 使用 Homebrew, Nix 安装 dtop

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

## 安装

```sh
sudo av install brew:dtop
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dtop
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#dtop
```

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

## 软件包事实

- **软件包键:** brew:dtop
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/dtop>
- **版本:** 0.7.11
- **来源摘要:** Terminal dashboard for Docker monitoring across multiple hosts
- **主页:** <https://dtop.dev/>
- **仓库:** <https://github.com/amir20/dtop>
- **上游文档:** <https://dtop.dev/>
- **许可证:** MIT
- **源码归档:** <https://github.com/amir20/dtop/archive/refs/tags/v0.7.11.tar.gz>
- **最后更新:** 2026-07-27T18:28:47Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- dtop (cli)
- dtop (别名)

## 构建依赖

- rust

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.7.11
- 管理器更新时间: 2026-07-27
- 本地数据: OK
- 上游仓库: https://github.com/amir20/dtop
- 检测到的最新版本: v0.7.11 (当前)
## 项目历史与用法

dtop is a Rust terminal dashboard for Docker container monitoring. It focuses on real-time CPU, memory, network, status, and log visibility across local and remote Docker hosts.

### 项目历史

The public repository was created in 2025 by Amir Salihefendic, the same developer behind Dozzle. The README positions dtop as a terminal companion to Docker operations, with multi-host support over local sockets, SSH, TCP, and TLS, plus integration points for Dozzle log views.

### 采用历史

dtop is young, but it entered several distribution channels quickly: Homebrew, GitHub release installers, Docker images, Nix, and Cargo. The README explicitly recommends Homebrew for macOS or Linux because the project is in active development with frequent updates.

### 使用方式

A typical user runs `dtop` against the local Docker daemon or passes one or more `--host` values for remote hosts. The optional YAML config lets users persist hosts, Dozzle URLs, filters, icon mode, and display preferences.

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

dtop matters to package nerds as part of the current wave of single-binary Rust TUIs: it overlaps with Docker dashboards, log viewers, and terminal observability tools, while still being distributed through classic package managers and container images.

### 时间线

- 2025: Public amir20/dtop repository created.
- 2025: Crates.io package metadata records the `dtop` crate.
- 2025-2026: Homebrew formula distributes tagged upstream releases.

### Related projects

- The README explicitly connects dtop to Docker and Dozzle. Its feature set also overlaps with terminal monitor dashboards and container log viewers.

### 来源

- <https://github.com/amir20/dtop>
- <https://dtop.dev/>
- <https://github.com/amir20/dtop/blob/master/README.md>
- <https://crates.io/api/v1/crates/dtop>
- <https://formulae.brew.sh/api/formula/dtop.json>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ./config.yaml, ./config.yml, ./.dtop.yaml, ./.dtop.yml, ~/.config/dtop/config.yaml, ~/.config/dtop/config.yml, ~/.dtop.yaml, ~/.dtop.yml
## 源数据库详情

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


## 相关链接

- [Cloud CLI packages](https://pkg.so/zh-hans/cloud-clis/) - Belongs to a cloud or infrastructure 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.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [colima](https://pkg.so/zh-hans/brew/colima/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers, docker.
- [mintoolkit](https://pkg.so/zh-hans/brew/mintoolkit/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers, docker.
- [container-canary](https://pkg.so/zh-hans/brew/container-canary/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers, docker.
- [dcp](https://pkg.so/zh-hans/brew/dcp/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers, docker.
- [oras](https://pkg.so/zh-hans/brew/oras/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers.
- [skopeo](https://pkg.so/zh-hans/brew/skopeo/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers.
- [container](https://pkg.so/zh-hans/brew/container/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers.
- [crane](https://pkg.so/zh-hans/brew/crane/) - Shares pkgdb curated category or tags: cli, cloud-infrastructure, containers.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
