Automic VaultAutomic Vault

brew

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

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install dive

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install dive

MacPorts ports tree · devel/dive/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add dive

Alpine Linux edge package indexes · dive · 来源: dl-cdn.alpinelinux.org

Nix已验证 · 92%
nix profile install nixpkgs#dive

nixpkgs package indexes · pkgs/by-name/di/dive/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S dive

Arch Linux sync databases · dive · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install dive

openSUSE Tumbleweed package metadata · dive · 来源: download.opensuse.org

Windows

Scoop已验证 · 92%
scoop install main/dive

Scoop official bucket manifest trees · bucket/dive.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id OpenAgentPlatform.Dive -e

Windows Package Manager source index · OpenAgentPlatform.Dive · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Tool for exploring each layer in a docker image

命令和别名

  • dive

历史

项目历史与用法

dive is a terminal UI for inspecting Docker and OCI image layers, file changes, and wasted space. Its sweet spot is the package-builder and container-maintainer workflow: after an image build, run `dive` to see which layer added what and whether a Dockerfile is leaving avoidable bytes behind.

项目历史

The official GitHub repository was created in May 2018 by wagoodman and describes dive as a tool for exploring Docker image contents, layer changes, and ways to shrink Docker or OCI images. The README pairs the interactive layer browser with a CI mode that bypasses the UI and returns pass/fail results from image-efficiency rules.

The release train shows the project moving from Docker-centered inspection toward broader container-engine support. Official release metadata records v0.9.0 in November 2019 with initial Podman support, and later releases continued through the 2020s.

采用历史

dive became widely packaged because it solves a common container-image problem without requiring a registry service or heavyweight scanner. The official README lists installation paths through Homebrew, MacPorts, Arch, Nix, Scoop, winget, Chocolatey, Docker images, and direct release packages, which matches its role as a small cross-platform CLI/TUI utility.

使用方式

Users typically run `dive image:tag`, `dive build -t tag .`, or a containerized `dive` invocation mounted to the Docker socket. In CI, setting `CI=true` lets teams enforce thresholds from a `.dive-ci` file for image efficiency and wasted bytes.

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

For package nerds, dive is notable because it turns opaque container layers back into a browsable filesystem history. It sits near Dockerfile linters, image scanners, and build-cache tools, but its adoption comes from being easy to install locally and immediately useful when a package or image grows unexpectedly.

时间线

  • 2018-05-13: Official GitHub repository created.
  • 2019-11-05: v0.9.0 release published with initial Podman support.
  • 2021-03-07: v0.10.0 release published.
  • 2025-03-29: v0.13.1 release published.

Related projects

  • Related tools include Docker and Podman for building and loading images, Trivy and Grype for vulnerability-focused image inspection, and Hadolint for Dockerfile linting before the image is built.

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:image

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
$XDG_CONFIG_HOME/dive/*.yaml$XDG_CONFIG_DIRS/dive/*.yaml~/.config/dive/*.yaml~/.dive.yaml.dive-ci

可执行文件

已安装的可执行文件

命令类型暴露范围备注
divecli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-07
管理器版本0.13.1
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v0.13.1

https://github.com/wagoodman/dive

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:dive
版本0.13.1
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/dive
主页https://github.com/wagoodman/dive
仓库https://github.com/wagoodman/dive
上游文档https://github.com/wagoodman/dive#readme
许可证MIT
源码归档https://github.com/wagoodman/dive/archive/refs/tags/v0.13.1.tar.gz
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namedive
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

dive

nix profile install nixpkgs#dive
  • normalized package name match
  • 匹配方式:Dive
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/di/dive/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

dive 0.13.1-r6

Tool for exploring each layer in a docker image

https://github.com/wagoodman/dive

sudo apk add dive
  • License: MIT
  • Architecture: x86_64
  • Source Package: dive
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Dive
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dive from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

dive 0.13.1-1

A tool for exploring layers in a docker image

https://github.com/wagoodman/dive

sudo pacman -S dive
  • License: MIT
  • Architecture: x86_64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Dive
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: dive from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

dive 0.13.1-1.4

Tool for exploring each layer in a docker image

https://github.com/wagoodman/dive

sudo zypper install dive
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: dive
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Dive
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: dive from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

dive

sudo port install dive
  • normalized package name match
  • 匹配方式:Dive
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/dive/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/dive

scoop install main/dive
  • normalized package name match
  • 匹配方式:Dive
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/dive.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

OpenAgentPlatform.Dive

winget install --id OpenAgentPlatform.Dive -e
  • normalized package name match
  • 匹配方式:Dive
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: OpenAgentPlatform.Dive from https://cdn.winget.microsoft.com/cache/source.msix
winget95%

wagoodman.dive

winget install --id wagoodman.dive -e
  • normalized package name match
  • 匹配方式:Dive
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: wagoodman.dive from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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