TermOnMac app icon — remote Mac terminal for iPhone

TermOnMac

Vibe code from your iPhone and iPad.

Run Claude Code, Codex, or any AI agent on your Mac — control it from your phone or tablet. E2E encrypted, zero setup.

Download on the App Store

Compatibility

Your Mac runs the terminal. Your iPhone or iPad controls it — from anywhere.

📱 iPhone iOS 17+
📲 iPad iPadOS 17+
🖥 Mac macOS 14+
Host runs your shell, tools, and AI agents
Client controls the terminal remotely

One app replaces three tools

No more juggling Tailscale + tmux + Termius just to reach your Mac.

The old way
Tailscale + tmux + Termius
~15 min to set up 3 tools
$10/mo Termius Pro alone
TermOnMac
TermOnMac — zero-config alternative to Tailscale + tmux + Termius TermOnMac
50 sec install → connect
$0.99/mo Pro plan

Built on Cloudflare's global network

Your relay runs on Cloudflare — 300+ cities worldwide. Each connection gets a dedicated server created near your Mac for lowest latency. Auto-scaling, automatic failover, built-in DDoS protection. No self-hosted infrastructure to maintain.

Curve25519 key exchange, AES-256-GCM encryption, Cloudflare's global edge network. No custom crypto, no self-hosted servers — every layer is an industry standard.

Everything you need to work remotely

>_

Remote Terminal

Full terminal access from your iPhone or iPad. 256-color support, scrollback buffer, and responsive touch input.

How the iOS terminal is built →
QR

QR Code Pairing

Scan and connect instantly. No SSH keys, no port forwarding, no complex network setup required.

How QR pairing works →
🔒

End-to-End Encrypted

Curve25519 key exchange + AES-256-GCM encryption. Zero-knowledge relay — we never see your data.

Inside the key exchange →
🛠

Xcode Build & Deploy

Build, archive, and upload to App Store Connect — all from your iPhone, anywhere.

🔄

Session Handoff

Start on iPhone, continue on Mac. Detach and it flows back. One session, seamless between devices.

The attach/detach model →
⌨️

Terminal Keyboard

Touch toolbar with Ctrl, Esc, Tab, and modifier toggles. 16 hardware keyboard shortcuts on iPad.

Full shortcut reference →

Always Connected

Auto-reconnect through network switches, device sleep, and tunnels. 256KB ring buffer replays missed output instantly.

How the replay buffer works →

Want the full picture? See how it all fits together or browse the engineering notes.

NEW

Built for Parallel Workflows

Run multiple tasks in isolated branches, merge results, and ship — all from your iPhone or iPad.

⌨️

Shortkey Sync

Save key combos or frequent commands as one-tap shortcuts on your iPhone. Build your own mobile developer toolbar.

🌿

Worktree Spawn

Spin up isolated git worktrees on the fly. Run parallel tasks in separate branches without conflicts.

🔀

Quick Merge

Review diffs and merge worktree branches back to main, all from your phone. No context switching needed.

📑

Multi-Tab Sessions

Open multiple terminal tabs simultaneously. Monitor builds, test runs, and long-running processes at a glance.

Get started in 3 steps

1

Install CLI on your Mac

One command to get started:

$ brew install termonmac/tap/termonmac
View source on GitHub →
2

Scan QR code with iPhone

Open the app and scan the QR code displayed in your terminal. Secure pairing is instant.

3

You're connected

Start typing. Your Mac terminal is now in your pocket — fully encrypted, fully responsive.

See it in action

How to Initialize (on Mac)

How to Connect to Mac (on iPhone)

Curious what's happening under the hood? Read the architecture overview →

Choose your plan

Free

Free
  • 4 Mac connections
  • Full terminal with scrollback
  • QR code pairing
  • End-to-end encryption
  • Relay server (1,000 tokens/5h)
  • Xcode build
  • Shortcut sync
  • Parallel multi-session

Pro

$0.99 /month
  • 32 Mac connections
  • Full terminal with scrollback
  • QR code pairing
  • End-to-end encryption
  • Relay server (10,000 tokens/5h)
  • Xcode build
  • Shortcut sync
  • Parallel multi-session

Premium

$2.99 /month
  • 32 Mac connections
  • Full terminal with scrollback
  • QR code pairing
  • End-to-end encryption
  • Relay server (50,000 tokens/5h)
  • Xcode build
  • Shortcut sync
  • Parallel multi-session