Two steps: install the widget, then point Claude Code at the lifecycle hook.
1. Install the widget
On Windows, download the installer from the Releases page and run it. On macOS, install with Homebrew or use the DMG.
Windows
- File:
Claude Code Dashboard_<version>_x64-setup.exe - Requirements: Windows 10 version 1803 or newer.
- WebView2 is fetched automatically during install if missing.
- On first launch SmartScreen shows “Windows protected your PC” — click More info → Run anyway.
macOS
Requirements: macOS 11+ on Apple Silicon.
The easiest route is Homebrew:
brew install --cask AnotherSava/tap/claude-code-dashboard
That installs the widget with no Gatekeeper prompt, and brew upgrade --cask picks up later releases. Because the build isn’t notarized by Apple, the cask removes the quarantine attribute for you — the same step the manual install below asks you to do by hand. If you’d rather macOS check the app itself, use the DMG.
Already installed the DMG? Quit the widget from the tray icon and delete /Applications/Claude Code Dashboard.app before the first brew install, or Homebrew will refuse to overwrite it.
Manual install: download Claude.Code.Dashboard_<version>_aarch64.dmg from the Releases page and drag the app to Applications. On first launch macOS will say “damaged and can’t be opened” — open System Settings → Privacy & Security, scroll to the blocked-app notice, and click Open Anyway. Power users can instead run xattr -dr com.apple.quarantine "/Applications/Claude Code Dashboard.app" in Terminal once after install.
After install, the widget lives in the system tray — left-click the tray icon to show or hide it. Until you wire the hook in step 2, no sessions will appear.
2. Wire the Claude Code hook
The dashboard integrates via Claude Code lifecycle hooks — Claude Code fires named events at specific moments during a session, and a small Python script (claude_hook.py) turns each event into a status update for the widget. You don’t need to clone this repo: the widget ships the script inside the binary and writes a fresh copy to its app-data folder on every launch.
Copy the snippet from the widget (recommended)
Until it receives its first event, the widget shows an Instructions to connect Claude Code panel. It contains the exact ~/.claude/settings.json snippet with the hook path and Python launcher already filled in for your setup.
- Launch the widget (left-click the tray icon if it’s hidden).
- In the instructions panel, click Copy.
- Open
~/.claude/settings.json(create it if missing) and paste the snippet in. If the file already has a"hooks"block, merge the entries rather than overwriting. - Restart Claude Code, then start a session.
The panel disappears automatically once the dashboard receives its first event. Prefer to let Claude Code do the wiring? Ask it to follow the steps in the panel — it can edit settings.json for you.
What the snippet looks like
For reference, the copied snippet has this shape (your copy substitutes the real absolute path to claude_hook.py in your app-data folder, and python vs python3 for your platform):
{
"hooks": {
"SessionStart": [{"hooks": [{"type": "command", "command": "python3 \"<app-data>/claude_hook.py\""}]}],
"UserPromptSubmit": [{"hooks": [{"type": "command", "command": "python3 \"<app-data>/claude_hook.py\""}]}],
"UserPromptExpansion": [{"hooks": [{"type": "command", "command": "python3 \"<app-data>/claude_hook.py\""}]}],
"Notification": [{"hooks": [{"type": "command", "command": "python3 \"<app-data>/claude_hook.py\""}]}],
"Stop": [{"hooks": [{"type": "command", "command": "python3 \"<app-data>/claude_hook.py\""}]}],
"StopFailure": [{"hooks": [{"type": "command", "command": "python3 \"<app-data>/claude_hook.py\""}]}],
"PermissionRequest": [{"hooks": [{"type": "command", "command": "python3 \"<app-data>/claude_hook.py\""}]}],
"Elicitation": [{"hooks": [{"type": "command", "command": "python3 \"<app-data>/claude_hook.py\""}]}],
"ElicitationResult": [{"hooks": [{"type": "command", "command": "python3 \"<app-data>/claude_hook.py\""}]}],
"PreCompact": [{"hooks": [{"type": "command", "command": "python3 \"<app-data>/claude_hook.py\""}]}],
"SubagentStop": [{"hooks": [{"type": "command", "command": "python3 \"<app-data>/claude_hook.py\""}]}],
"SessionEnd": [{"hooks": [{"type": "command", "command": "python3 \"<app-data>/claude_hook.py\""}]}],
"PostModelSwitch": [{"hooks": [{"type": "command", "command": "python3 \"<app-data>/claude_hook.py\""}]}],
"PreToolUse": [{
"matcher": "^(AskUserQuestion|ExitPlanMode)$",
"hooks": [{"type": "command", "command": "python3 \"<app-data>/claude_hook.py\""}]
}]
}
}
The app-data folder is %APPDATA%\com.anothersava.claude-code-dashboard\ on Windows and ~/Library/Application Support/com.anothersava.claude-code-dashboard/ on macOS. The instructions panel’s Hook script line links straight to it.
The PreToolUse matcher restricts the hook to user-gating tools (AskUserQuestion, ExitPlanMode). Nothing in the transcript says such a call is waiting on your answer, so without this hook the dashboard can’t show it as blocked. The matcher also avoids per-Bash/Read/Grep fork overhead an unfiltered PreToolUse would incur.
Optional tweaks
projects_rootinconfig.json— set to the folder your projects live under, so session ids become short folder-relative names instead of bare folder basenames. See Features → session identity.TAURI_DASHBOARD_URLenvironment variable — to use a non-default port or host, export e.g.TAURI_DASHBOARD_URL=http://127.0.0.1:9100before launching Claude Code. The hook resolves its URL from this variable, falling back tohttp://127.0.0.1:9077.
Optional: multi-device sync
To see sessions from your other computers in every dashboard (see Features → multi-device sync):
- Repeat steps 1–2 on each computer.
- Make the computers reachable from each other by address. On the same home network the machine names usually work as-is; across different networks the simplest option is a VPN like Tailscale — install it on each computer and use the names it assigns.
-
In each computer’s
config.json, fill in thesyncblock: set"listen": true, list the other computers inpeers, and put the sametoken(any long random string) on every device:"sync": { "listen": true, "peers": ["http://my-laptop:9078"], "token": "pick-a-long-random-string" } - Restart the widget on each computer (the
listensetting needs a restart, likeserver_port).
Each device’s sessions now appear on the others, tagged with a badge showing the device’s name. See Settings → multi-device sync for all fields.
Uninstalling
Remove the app the same way you installed it — brew uninstall --cask claude-code-dashboard on macOS if you used Homebrew, otherwise drag it to the Trash or run the Windows uninstaller.
Then open ~/.claude/settings.json and delete the claude_hook.py entries you added in step 2. Nothing else removes them, and Claude Code will report an error on every lifecycle event once the script they point at is gone.
If you used Keep awake with the lid closed on macOS, see Settings → undoing the one-time setup — that feature installs two system files that a normal uninstall leaves behind.
Next
See Features for what each row shows once sessions start flowing in, and Settings for the full config.json reference.