Installation¶
Prerequisites¶
Before installing wt, ensure you have:
- Git (2.17+) - for worktree support
- Tmux (3.0+) - for session management
- Beads - for task tracking (install beads)
Installation Methods¶
npm (Recommended for macOS)¶
The npm package is the easiest installation method and bypasses macOS Gatekeeper:
Go Install¶
If you have Go installed:
macOS Gatekeeper
If macOS blocks the binary, remove the quarantine attribute:
From Source¶
Clone and build from source:
Verify Installation¶
Check that wt is installed correctly:
You should see version information displayed.
Initial Setup¶
After installation, run the doctor command to check your setup:
This will verify that all dependencies are installed and configured correctly.
Claude Permissions¶
By default, wt launches Claude with --dangerously-skip-permissions. This flag:
- Skips permission prompts - Claude can read/write files, run commands, etc. without asking
- Enables autonomous operation - Workers can complete tasks without human intervention
- Required for automation - Features like
wt autodepend on unattended execution
Security Consideration
This flag gives Claude full access to your system within the session. Only use wt in trusted environments with code you trust.
Customizing the Editor Command¶
To use a different command or remove the flag:
wt config set editor_cmd "claude" # Interactive mode with permission prompts
wt config set editor_cmd "claude --dangerously-skip-permissions --model sonnet" # Custom flags
See Configuration Reference for all options.
Claude Code Skill Setup¶
This is the most important step. Most wt usage happens through Claude conversations, not direct CLI commands.
Install the wt Skill¶
Copy the skill to your Claude Code skills directory:
# Create skills directory if it doesn't exist
mkdir -p ~/.claude/skills
# Copy the wt skill
cp -r /path/to/wt/examples/claude-code-skill ~/.claude/skills/wt
Or if you installed via npm/go, download directly:
mkdir -p ~/.claude/skills
curl -sL https://raw.githubusercontent.com/badri/wt/main/examples/claude-code-skill/SKILL.md \
-o ~/.claude/skills/wt.md
Verify Skill Installation¶
In a Claude Code session, try:
Claude should recognize the wt skill and show session management capabilities.
How You'll Use wt¶
In practice, you interact with wt through Claude conversations:
You: "What workers are running?"
Claude: [runs wt, shows active sessions]
You: "Spawn a worker for wt-abc"
Claude: [runs wt new wt-abc, reports result]
You: "Check on toast"
Claude: [runs wt toast to switch to that session]
The skill teaches Claude the wt commands and workflows, so you don't need to remember CLI syntax.
Next Steps¶
- Quick Start - Create your first session
- Shell Integration - Set up completions and keybindings