Infrastructure Commands
Commands for setting up Genie, launching the TUI and desktop app, managing services, diagnosing issues, updating, database management, and configuring terminal shortcuts.genie tui
Launch the interactive terminal UI (OpenTUI nav + tmux Claude Code).
| Flag | Description |
|---|---|
--dev | Development mode with auto-reload on file changes |
genie serve
Start, stop, and check status of all genie infrastructure services (pgserve, tmux, scheduler).
Subcommands
| Command | Description |
|---|---|
start | Start genie serve (pgserve, tmux, scheduler) |
stop | Stop genie serve and all services |
status | Show service health |
genie app
Launch the Genie desktop app (backend sidecar + views).
| Flag | Description |
|---|---|
--backend-only | Start only the backend sidecar (IPC on stdin/stdout) |
--tui | Fall back to terminal UI mode |
--dev | Development mode |
genie setup
Interactive wizard for configuring Genie settings.
Terminal
Options
| Flag | Description |
|---|---|
--quick | Skip interactive prompts, use defaults |
--shortcuts | Only configure terminal shortcuts |
--codex | Only configure Codex integration |
--terminal | Only configure terminal settings |
--session | Only configure session naming |
--reset | Reset all settings to defaults |
--show | Show current configuration |
Terminal
genie doctor
Diagnose the Genie installation and environment.
| Flag | Description |
|---|---|
--fix | Auto-fix: kill zombie postgres, clean shared memory, restart daemon |
Terminal
genie update
Update Genie to the latest version.
| Flag | Description |
|---|---|
--next | Switch to dev builds (npm @next tag) |
--stable | Switch to stable releases (npm @latest tag) |
Terminal
genie uninstall
Remove Genie from the system. Cleans up global state, configuration, and the CLI binary.
Terminal
genie db
Database management commands for the embedded PostgreSQL instance.
genie db status
Show pgserve health, port, data directory, and table counts.
Terminal
genie db migrate
Run pending database migrations.
Terminal
genie db query
Execute arbitrary SQL and print results.
Terminal
genie shortcuts
Configure Warp-like keyboard shortcuts for tmux.
Subcommands
| Command | Description |
|---|---|
show | Show available shortcuts and installation status |
install | Install shortcuts to config files (~/.tmux.conf, shell rc) |
uninstall | Remove shortcuts from config files |
| Platform | Config | Shortcuts |
|---|---|---|
| tmux | ~/.tmux.conf | Ctrl+T (new tab), Ctrl+S (vertical split), Ctrl+Shift+S (horizontal split) |
| Termux | ~/.termux/termux.properties | F1 (new tab), F2 (vsplit), F3 (hsplit) |
| Shell | ~/.bashrc / ~/.zshrc | Helper functions + disable Ctrl+S flow control |
Terminal