// docs
Two minutes to your first mobile session.
No account, no daemon config, no reverse proxy. If tmux runs, mtmux attaches.
Install
Requires Node 20+ for the npm install, and tmux 3.3a or newer. Works on macOS 13+, any glibc/musl Linux, and WSL2. The client needs a browser with WebSocket and (for push) service worker support — iOS 16.4+, Android Chrome 108+.
Quickstart
1
Start the daemon next to your tmux server
$ mtmux up # add --detach to run in the background
2
Open the printed URL on your phone and enter the pair code
open https://m.mtmux.com/9F4-2KD # or scan the QR in the terminal
3
Add to home screen, allow notifications, watch your agents
$ mtmux watch --agents # auto-detects claude, codex, gemini, aider
note — Run mtmux up --lan to skip the relay entirely and serve on your local network at https://<host>.local:7442, with a self-signed cert you pin once.
agents.toml
Presets live in ~/.mtmux/agents.toml. Override any field, or add your own block for a tool mtmux hasn't met.
CLI reference
Self-hosting the relay
The relay is a dumb pipe: it forwards sealed frames between daemon and device. Run your own if you'd rather not depend on ours.
Troubleshooting
Still stuck? GitHub Discussions or [email protected].