Skip to main content

Setup Wizard

Genie includes an interactive setup wizard that configures your environment step by step. Run it with:
genie setup
Or skip interactive prompts with sensible defaults:
genie setup --quick

What Setup Configures

The wizard walks through several sections, each configurable independently:

1. System Check

Before configuration, setup verifies prerequisites:
RequirementCheck
tmuxBinary in PATH (required for agent spawn)
gitBinary in PATH (required for worktrees)
Claude Codeclaude binary available
Codexcodex binary available (optional)
tmux is required — there is no fallback. If tmux is not installed, agent spawning will fail.

2. Session Configuration

Configure the default tmux session:
SettingDefaultPurpose
session.namegenietmux session name
session.defaultWindowshellDefault window name
session.autoCreatetrueAuto-create session if missing

3. Terminal Configuration

Configure terminal behavior:
SettingDefaultPurpose
terminal.execTimeout120000 (2 min)tmux command execution timeout
terminal.readLines100Lines to capture from pane
terminal.worktreeBase~/.genie/worktreesBase directory for team worktrees

4. Codex Integration

If Codex is detected, setup configures the OpenTelemetry bridge:
genie setup --codex
This writes the Codex OTel config to enable structured log output that Genie’s transcript system can parse.

5. Keyboard Shortcuts

Install tmux and shell shortcuts for quick access:
genie setup --shortcuts
ShortcutAction
Ctrl+G (tmux)Open Genie TUI
genie (shell)Launch Genie session

Section-Specific Setup

Run only the section you need:
genie setup --shortcuts  # Only install shortcuts
genie setup --codex      # Only configure Codex
genie setup --terminal   # Only terminal settings
genie setup --session    # Only session settings

Showing Current Config

View the current configuration without making changes:
genie setup --show

Resetting Configuration

Reset all settings to defaults:
genie setup --reset
This deletes ~/.genie/config.json and re-creates it with default values.

Post-Setup Verification

After setup, verify your installation with the doctor command:
genie doctor
Doctor checks:
  • All required binaries are available
  • tmux server is running
  • Configuration file is valid
  • pgserve can start
  • Git hooks are installed (if applicable)

Config File Location

Setup creates and manages ~/.genie/config.json. See Configuration Files for the full schema.