* Returns platform-specific tmux installation instructions.
()
| 257 | * Returns platform-specific tmux installation instructions. |
| 258 | */ |
| 259 | function getTmuxInstallInstructions(): string { |
| 260 | const platform = getPlatform() |
| 261 | |
| 262 | switch (platform) { |
| 263 | case 'macos': |
| 264 | return `To use agent swarms, install tmux: |
| 265 | brew install tmux |
| 266 | Then start a tmux session with: tmux new-session -s claude` |
| 267 | |
| 268 | case 'linux': |
| 269 | case 'wsl': |
| 270 | return `To use agent swarms, install tmux: |
| 271 | sudo apt install tmux # Ubuntu/Debian |
| 272 | sudo dnf install tmux # Fedora/RHEL |
| 273 | Then start a tmux session with: tmux new-session -s claude` |
| 274 | |
| 275 | case 'windows': |
| 276 | return `To use agent swarms, you need tmux which requires WSL (Windows Subsystem for Linux). |
| 277 | Install WSL first, then inside WSL run: |
| 278 | sudo apt install tmux |
| 279 | Then start a tmux session with: tmux new-session -s claude` |
| 280 | |
| 281 | default: |
| 282 | return `To use agent swarms, install tmux using your system's package manager. |
| 283 | Then start a tmux session with: tmux new-session -s claude` |
| 284 | } |
| 285 | } |
| 286 | |
| 287 | /** |
| 288 | * Gets a backend by explicit type selection. |
no test coverage detected