~ tmux
tmux on your phone
moshterm is a free terminal for iPhone, iPad and Android that works with tmux, Zellij and Herdr on your own computer. When you connect, it lists the host's sessions; pick one and you're in. Mosh keeps the session going when the network changes, and if iOS or Android ends the app, opening it again returns you to the session you left. No account.
Set up the host
Install tmux on the computer you connect to. Add mosh if you want a connection that roams between Wi-Fi and cellular; moshterm also connects over Eternal Terminal or plain SSH.
brew install mosh tmuxsudo apt install mosh tmuxStart a named session at your desk, then pick it up from the phone:
tmux new -s apiPick a session when you connect
- On connect, moshterm lists the host's tmux, Zellij and Herdr sessions. Pick one to attach.
- Jump To moves between windows and tabs. In tmux it moves only your phone's client, so the screen at your desk stays where you left it.
- Auto tries Mosh, then Eternal Terminal, then SSH, so each host gets the best connection it can take.
Typing tmux keys on a phone
The key bar has Esc, Tab, Ctrl and arrows, plus the running agent's own keys. Add your own shortcuts, or plug in a hardware keyboard.
Coding agents in tmux
Run Claude Code, Codex or another agent in a tmux pane on your computer. With the moshterm companion installed, its permission prompts reach your phone, and the Inbox shows every session that needs you.
Questions
Can I use tmux on an iPhone?
Yes. tmux runs on your computer, and moshterm connects to it over Mosh, Eternal Terminal or SSH and lists its sessions when you connect. It is free, with no account.
Is there a tmux app for Android?
moshterm for Android works the same way: it connects to tmux, Zellij or Herdr on your computer and lists their sessions on connect. Free, no account.
Does it work with Zellij and Herdr?
Yes. The session list on connect shows tmux, Zellij and Herdr sessions, and Jump To moves between their windows and tabs.
What happens when my phone loses signal?
Over Mosh the session roams across networks. If iOS or Android ends the app, opening it again returns you to the session you left.
Is it free?
Yes. Mosh, Eternal Terminal, SSH, unlimited hosts and tmux, Zellij and Herdr reattach are free. The optional moshterm Pro subscription only adds live previews and Smart notices.
