title: Quickstart description: Install the CLI, capture your first session, browse with dkod log and dkod show.
Quickstart
Get dkod running in under a minute.
Install the CLI
Choose your preferred method:
# Shell script (macOS / Linux)
curl -fsSL https://dkod.io/install.sh | sh
# Homebrew
brew install dkod
# Cargo
cargo install dkod-cliVerify the installation:
dkod --versionInitialize a repo
cd your-project
dkod initThis installs agent hooks and creates .dkod/config.toml with default settings (redaction on, all agents enabled).
Capture a session
Wrap any supported agent with dkod capture:
dkod capture claude-codeThe CLI wraps the agent invocation, captures the transcript and diff, and stores them as a git ref when the session ends.
Browse your sessions
List all sessions in the repo:
dkod logOutput:
s-a1b2c3 claude-code "refactor auth middleware" 3m ago 12 files
s-d4e5f6 codex "add rate limiting" 1h ago 4 files
View a specific session:
dkod show s-a1b2c3Push sessions to remote
Sessions ride on git push — no separate command:
git push origin mainSession refs under refs/dkod/ are pushed alongside your branch.
View in the desktop app
Download dkod App and open your repo folder. The app reads session refs locally and shows a timeline with replay.
Next steps
- Session Storage — understand the ref layout
- Redaction — configure what gets stripped from transcripts
- Configuration —
.dkod/config.tomlreference