Dive

Getting started

Installation

Release binaries and the container image

Dive ships as a single binary and a container image — grab whichever fits. Current release: v0.21.0.

Release binaries

Tagged releases publish binaries for macOS (arm64) and Linux (x86_64) with SHA-256 checksums.

Or from the command line:

curl -fsSLO "https://github.com/loon-rocks/dive/releases/download/v0.21.0/dive-v0.21.0-macos-arm64.tar.gz"
tar xzf dive-*.tar.gz && install -m 0755 dive ~/.local/bin/
dive --help

On macOS, the first run of a freshly downloaded binary pauses ~1s while Gatekeeper scans it. Every run after that is instant.

Container image

Each release also publishes ghcr.io/loon-rocks/dive with git, gh, jq, curl and python3 installed, ready to use in CI:

docker run --rm \
           -e ANTHROPIC_API_KEY \
           -e DIVE_STORAGE=memory \
           -v "$PWD:/work" \
           -w /work \
           ghcr.io/loon-rocks/dive:v0.21.0 plan list

Requirements

RequirementNotes
macOS (arm64) or Linux (x86_64)the platforms release binaries are published for
An LLM provider keye.g. ANTHROPIC_API_KEY — see Quickstart

First-run notes

  • Dive creates its data directory at ~/.local/share/dive/ on first use (configurable via [settings] data_dir).
  • State is plain files under the data directory, safe under concurrent runs. Use DIVE_STORAGE=memory for ephemeral runs that should leave nothing behind.

Upgrading from graph

Dive was called graph until v0.17.0. Dive still reads graph's files and settings, so an existing setup keeps working:

graphDiveRead when
./.graph/./.dive/the project has no ./.dive/
~/.config/graph/~/.config/dive/there is no ~/.config/dive/
~/.local/share/graph/~/.local/share/dive/there is no ~/.local/share/dive/
GRAPH_* variablesDIVE_* variablesthe DIVE_ name is unset
credential store service graphservice divea name has no value under dive
requires.graph in pack.tomlrequires.divethe manifest is version 1

Each run that falls back to an old name prints a warning on stderr saying what to rename. Dive never moves, rewrites or deletes the old files. Rename the directories yourself, set the DIVE_ variables, and store secrets again with dive secret set to clear the warnings. dive secret rm removes a name under both services. Exec tools in packs get both DIVE_PACK_DIR and GRAPH_PACK_DIR.

Support for the graph names ends at v1.0.

On this page