How to Run Claude Code From Your Phone
Five ways to run Claude Code from a phone — SSH apps, tmux, a web tunnel, a Telegram bot, and managed remote control — with the trade-offs of each.
Claude Code lives in your terminal, but the work doesn’t stop when you leave your desk. Here are the five realistic ways to drive it from a phone, from most manual to most managed.
1. SSH from a mobile terminal app
Apps like Blink Shell (iOS) or Termius (iOS/Android) give you a real SSH session into your machine. Combined with tmux, you get the full Claude Code TUI on your phone.
- Good: full fidelity, nothing to build.
- Rough: typing in a terminal on a phone, managing SSH keys, and your machine needs to be reachable (open port, VPN, or tunnel).
2. tmux + a persistent session
tmux keeps Claude Code alive between connections so you can detach on your laptop and re-attach from your phone mid-task. It’s the backbone of almost every remote setup — but on its own it still needs SSH access to reach.
3. A web tunnel to a terminal
Tools like ttyd or gotty expose a terminal in the browser; pair with a tunnel (Cloudflare Tunnel, Tailscale) so no port is open to the public internet. You get Claude Code in a mobile browser tab.
- Good: no terminal app, works on any phone.
- Rough: you’re publishing a shell to the web — authentication and tunnel hygiene are non-negotiable.
4. The native Telegram channel (or Remote Control)
Claude Code’s built-in Channels plugin bridges Telegram straight into a running session, and Remote Control drives a session from the Claude app. See the full walkthrough in How to Connect Claude Code to Telegram.
- Good: official, chat UX, nothing to build.
- Rough: the session must stay open, it’s Claude-only, and you can’t approve permission prompts from Telegram.
5. Managed remote control (Chatcode)
Chatcode runs Claude Code, Codex, Gemini, or OpenCode on a server you own and makes the session reachable from a browser terminal and Telegram — always on, with a per-session sandbox toggle and no inbound ports. It’s the fastest path from “idea on the bus” to “agent already working.” Full setup: Claude Code in Telegram with Chatcode.
Which should you pick?
- Want maximum control and don’t mind a terminal? SSH + tmux.
- Want the official, free option for quick pings? Native Channels.
- Want it always-on and Telegram-first, with Codex too? Chatcode.