CLI reference¶
The installed console command and python -m vmux call the same entry point.
Flags¶
| Flag | Meaning |
|---|---|
-c PATH, --config PATH |
Load YAML from PATH. |
--host HOST |
Override server.host. Default: 127.0.0.1. |
--port PORT |
Override server.port. Default: 8787. |
--token TOKEN |
Override server.token. |
--include-shells |
Include ordinary shell panes for this run. |
--version |
Print vmux <version> and exit. |
-h, --help |
Print help and exit. |
CLI values are applied after YAML and the Settings overlay. --include-shells
can only enable shell visibility; use configuration or Settings to disable an
overlay that already enables it.
Startup checks¶
Before serving, vmux:
- verifies tmux is on
PATH - loads and validates configuration
- refuses an empty token on a non-loopback bind
- tries to disable tmux automatic rename when configured
- warns if no panes are currently present, but still starts
A non-loopback bind prints a warning that the listener is plain HTTP and that public exposure requires TLS termination.
Exit behavior¶
| Outcome | Exit status |
|---|---|
| Help or version requested | 0 |
| Normal server shutdown | 0 |
| argparse usage error | 2 |
| tmux executable missing | 2 |
| Missing/invalid config or unsafe bind | Non-zero |
Automation should rely on zero versus non-zero and may distinguish the documented preflight status 2. Human-readable startup lines are diagnostics, not a machine-readable protocol.