k9s-style TUI for managing Claude Code sessions with real-time monitoring, conversation history, and process-based session detection.
brew install seunggabi/tap/claude-dashboard
# Setup is automatic on first run, or run manually:
claude-dashboard setupcurl -fsSL https://raw.githubusercontent.com/seunggabi/claude-dashboard/main/install.sh | bash
# Setup is automatic on first run, or run manually:
claude-dashboard setupSetup includes:
- β
Installs helper scripts to
~/.local/bin/ - β
Configures
~/.tmux.conffor F12 mouse toggle and Ctrl+S history save - β Adds status bar with version info
- β Enables mouse mode by default
This deploys the binary to ~/.local/bin. For a custom binary name:
~/.local/bin/claude-dashboardcurl -fsSL https://raw.githubusercontent.com/seunggabi/claude-dashboard/main/install.sh | bash -s -- --name <your-binary-name>go install github.com/seunggabi/claude-dashboard/cmd/claude-dashboard@latestgit clone https://github.com/seunggabi/claude-dashboard.git
cd claude-dashboard
make installFirst run:
claude-dashboard # Launch the TUI dashboardType just cdn instead of claude-dashboard new - save time with every session!
# One-line setup (add to your ~/.zshrc or ~/.bashrc for permanent use)
source <(curl -fsSL https://raw.githubusercontent.com/seunggabi/claude-dashboard/main/alias.sh)Example:
# Before: claude-dashboard new my-project --path ~/code/foo
# After: cdn my-project --path ~/code/foo β‘οΈ
# Resume or continue conversations instantly
cdn -r # Resume (interactive picker)
cdn -c # Continue most recent conversation
cdn my-project -r # Resume with session nameKeep claude-dashboard up to date with the latest features:
# Homebrew
brew update
brew upgrade claude-dashboard
# Manual installation
curl -fsSL https://raw.githubusercontent.com/seunggabi/claude-dashboard/main/install.sh | bash
# Go
go install github.com/seunggabi/claude-dashboard/cmd/claude-dashboard@latestAfter upgrading, run setup to apply new configurations:
claude-dashboard setupRunning multiple Claude Code sessions across different projects quickly becomes unmanageable:
- Lost sessions - Terminal closed? Session gone. What was Claude doing?
- No overview - Which session is active? How long has it been running? What are resource usage patterns?
- Context switching - Constantly hunting through terminal tabs, tmux windows, and scattered
.jsonllogs. - Session discovery - Sessions hidden in tmux, terminal tabs, or started by other tools.
claude-dashboard gives you a single pane of glass for all your Claude Code sessions:
- Unified session detection - Finds Claude sessions in tmux, terminal tabs, and anywhere in the process tree
- Conversation history - View Claude's past interactions directly from the dashboard
- Real-time monitoring - CPU, memory, status, and uptime at a glance
- Session persistence - Sessions keep running in tmux; detach anytime and come back
- Single binary - One
brew installand you're done
Sessions run inside tmux - close your terminal, shut your laptop, and come back anytime. k9s-style vim navigation with real-time CPU/memory monitoring.
| Key | Action |
|---|---|
β / k |
Move cursor up |
β / j |
Move cursor down |
enter |
Attach to session |
n |
Create new session |
K |
Kill session (with confirmation) |
Ctrl+K |
Kill all idle sessions (with confirmation) |
l |
View session logs |
Ctrl+S |
Save entire pane history to file (in attached session) |
d |
Session detail view |
/ |
Filter / search sessions |
r |
Manual refresh |
? |
Help overlay |
esc |
Go back / cancel |
q |
Quit |
| Key | Action |
|---|---|
β / k |
Scroll up |
β / j |
Scroll down |
PgUp / PgDn |
Page up / down (macOS: Fn+β / Fn+β) |
esc |
Back to dashboard |
q |
Quit |
- Session Dashboard - All Claude sessions in one table with real-time status, CPU/memory, and uptime (auto-refreshes every 2s). Detects managed sessions, tmux sessions, process tree, and terminal tabs.
- Conversation Log Viewer (
l) - Browse conversation history from~/.claude/projects/.jsonlfiles. Read-only, no attachment needed. - Attach / Detach (
enter/Ctrl+B d) - Attach to tmux sessions; terminal sessions are read-only.
| Action | How |
|---|---|
| Copy text (macOS) | Hold Option (β₯) + drag, then Cmd+C |
| Copy text (Linux) | Hold Shift + drag, then Ctrl+Shift+C |
| Scroll history | Ctrl+B [ to enter copy mode, q to exit |
| Toggle mouse | F12 (ON: scroll with mouse, OFF: easy text select) |
| Save pane history | Ctrl+S in attached session (saves to ~/Desktop/) |
TUI: Press n to create interactively. CLI:
claude-dashboard new # Auto-name from current directory
claude-dashboard new my-project # Explicit name
claude-dashboard new --path ~/project # Specify directory
claude-dashboard new --args "--model opus"Flags not recognized by claude-dashboard (--path, --args) are forwarded to claude:
| Flag | Description |
|---|---|
-r, --resume |
Resume a conversation by session ID, or open interactive picker |
-c, --continue |
Continue the most recent conversation in the current directory |
--model <model> |
Specify model (e.g., opus, sonnet) |
claude-dashboard new my-project -c
claude-dashboard new my-project --path ~/code/foo -rIf a session with the same name already exists, it automatically attaches instead.
| Status | Indicator | Description |
|---|---|---|
β active |
Green | Output is streaming |
β idle |
Gray | Prompt visible, no activity |
β waiting |
Amber | Input prompt or Y/n question |
β terminal |
Blue | Claude in terminal tab (read-only) |
~/.claude-dashboard/config.yaml:
refresh_interval: 2s # Auto-refresh interval
session_prefix: "cd-" # Prefix for managed sessions
default_dir: "" # Default project directory for new sessions
log_history: 1000 # Number of log lines to capture- tmux (session backend)
- Go 1.25+ (only for building from source)
# macOS
brew install tmux
# Ubuntu/Debian
sudo apt install tmuxclaude-dashboard # Launch TUI dashboard
claude-dashboard new [name] # Create session (auto-name if omitted)
claude-dashboard attach <session> # Attach directly (skip TUI)
claude-dashboard setup # Install helper scripts & configure tmux
claude-dashboard --version # Show version
claude-dashboard --help # Show helpclaude-dashboard/
βββ cmd/claude-dashboard/main.go # CLI entry point
βββ internal/
β βββ app/ # Bubble Tea application
β β βββ app.go # Main model, Update, View
β β βββ keys.go # Keybinding definitions
β βββ session/ # Session management
β β βββ session.go # Session data model
β β βββ detector.go # Discover sessions from tmux/terminal/processes
β β βββ manager.go # CRUD operations
β βββ tmux/ # tmux integration
β β βββ client.go # Command wrapper
β β βββ parser.go # Output parser
β βββ conversation/ # Conversation history
β β βββ reader.go # Parse .jsonl files from ~/.claude/projects/
β βββ ui/ # View components
β β βββ dashboard.go # Session table
β β βββ logs.go # Log viewer (viewport)
β β βββ detail.go # Detail view
β β βββ create.go # New session form
β β βββ help.go # Help overlay
β β βββ statusbar.go # Status bar
β βββ monitor/ # Resource monitoring
β β βββ process.go # CPU/memory via ps, process tree BFS
β β βββ ticker.go # Periodic refresh
β βββ config/config.go # YAML configuration
β βββ styles/styles.go # Lipgloss styles
βββ LICENSE # MIT
βββ Makefile # build, install, clean
βββ .goreleaser.yml # Release automation
- Bubble Tea - Elm architecture TUI framework
- Bubbles - TUI components (table, viewport, textinput)
- Lipgloss - Style definitions
- tmux - Terminal multiplexer for session persistence
Contributions are welcome! Please open an issue or submit a pull request.
