Automic VaultAutomic Vault

brew

Install dive with Homebrew, apk, MacPorts, Nix, pacman, scoop, winget, zypper

Tool for exploring each layer in a docker image. Version 0.13.1 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install dive

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install dive

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

Linux

Alpine Linux apkverified · 92%
sudo apk add dive

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

Nixverified · 92%
nix profile install nixpkgs#dive

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

Arch Linux pacmanverified · 92%
sudo pacman -S dive

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

openSUSE zypperverified · 92%
sudo zypper install dive

openSUSE Tumbleweed package metadata · dive · source: download.opensuse.org

Windows

Scoopverified · 92%
scoop install main/dive

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

Windows Package Managerverified · 92%
winget install --id OpenAgentPlatform.Dive -e

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

overview

Package summary

Tool for exploring each layer in a docker image

Commands and aliases

  • dive

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: blue

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

Risk classifier

blue risk · medium confidence · tool

Why

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

Signals

  • text:image

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

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

executables

Installed executables

CommandKindExposureNote
divecliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.13.1
manager updated
local dataok
upstreamcurrent
latest detectedv0.13.1

https://github.com/wagoodman/dive

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:dive
Version0.13.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/dive
Homepagehttps://github.com/wagoodman/dive
Repositoryhttps://github.com/wagoodman/dive
Upstream docshttps://github.com/wagoodman/dive#readme
LicenseMIT
Source archivehttps://github.com/wagoodman/dive/archive/refs/tags/v0.13.1.tar.gz
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

dive

nix profile install nixpkgs#dive
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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
  • Matched by: 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
  • Matched by: 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
  • Matched by: 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
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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