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.
macOS (arm64)
Download dive-v0.21.0-macos-arm64.tar.gz
Linux (x86_64)
Download dive-v0.21.0-linux-x86_64.tar.gz
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 --helpOn 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 listRequirements
| Requirement | Notes |
|---|---|
| macOS (arm64) or Linux (x86_64) | the platforms release binaries are published for |
| An LLM provider key | e.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=memoryfor 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:
| graph | Dive | Read 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_* variables | DIVE_* variables | the DIVE_ name is unset |
credential store service graph | service dive | a name has no value under dive |
requires.graph in pack.toml | requires.dive | the 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.