Claude Code’s agent teams feature lets you spin up multiple Claude instances that work in parallel, each in its own visible terminal pane. On Windows, visualizing this properly requires WSL2 and tmux — here’s how to set it up from scratch.
Prerequisites
- Windows 10/11 with WSL2 available
- A Claude Code subscription (Pro or Max) with Opus 4.6 access
- Your repos somewhere accessible (e.g.
C:\dev\github\reponame)
Step 1 — Enable WSL2 and Install Ubuntu
Open an elevated PowerShell and run:
|
|
Reboot when prompted. Ubuntu will finish its setup on first launch — create your Linux username and password when asked.
If you already have WSL1, upgrade to WSL2:
|
|
Step 2 — Install Dependencies Inside WSL
Open your Ubuntu terminal:
|
|
Step 3 — Install Claude Code
|
|
Step 4 — Configure tmux
Create ~/.tmux.conf with settings optimized for agent teams:
|
|
Note: Don’t try to
tmux source-file ~/.tmux.confat this point — that command only works inside a running tmux session. The config will be picked up automatically when you start tmux in Step 6.
Step 5 — Symlink Your Windows .claude Config to WSL
Claude Code stores agents, skills, teams, and settings in ~/.claude. Rather than
maintaining two separate configs, symlink WSL’s ~/.claude to your Windows one so both
environments share the same setup.
|
|
Replace YourWindowsUsername with your actual Windows username (e.g. Steve).
Step 6 — Enable Agent Teams in Claude Code
Agent teams are experimental and disabled by default. Enable them by editing
~/.claude/settings.json:
|
|
Add the env block if it isn’t there already:
|
|
Step 7 — Launch Claude Inside tmux
Start a named tmux session pointed at your project. You can either cd first or pass
the path directly:
|
|
Performance tip: WSL accessing files through
/mnt/c/is slower than native Linux paths for file-heavy operations. For intensive agent team tasks you may eventually want to clone repos directly into the WSL filesystem (e.g.~/dev/reponame). For getting started it’s fine either way.
Once inside the tmux session, start Claude Code:
|
|
Claude Code detects that it’s running inside tmux and will automatically use split-pane mode when agent teams are spawned — no extra configuration needed.