Subcommand reference
gwm <subcommand> is the scriptable face of gwm. Every command exits with a meaningful code (0 ok, 1 warning, 2 failure) so you can wire gwm doctor into CI without parsing stdout.
Bare gwm (no subcommand) opens the TUI on the current repo.

- Setup and configuration
- Worktree lifecycle
- Issues, pull requests and reviews
- Fleet chores and workspace
- Shell and multiplexers
- Diagnostics and services
- History, undo and trust
- Customisation
- Other commands
Exit codes
Section titled “Exit codes”| Code | Meaning |
|---|---|
0 |
success, also “all green” for gwm doctor |
1 |
recoverable failure: fuzzy miss, ambiguous match, doctor Warning |
2 |
hard failure: bootstrap ✗, doctor Failure, unrecoverable git error |