TermBridge logo TermBridge Docs

Introduction

TermBridge lets you control and observe any terminal on your Mac from your iPhone or iPad — from anywhere in the world.

Quickstart

  1. Install the Mac appdownload the .dmg, drag it to Applications, launch it once.
  2. Get the iOS appTermBridge on the App Store.
  3. Open a new terminal on your Mac (the hook applies to new shells).
  4. Scan the QR from the Mac menu-bar popover with the phone app, and confirm the fingerprint.
  5. Tap a shell — you’re in.

Full detail: InstallationPairingSessions & terminals.


Unlike an SSH client, TermBridge doesn’t open a new shell. It attaches at the shell layer, so the exact terminal already running on your desk — the one with three hours of context and a half-finished diff — is the one that shows up on your phone. That works across every terminal app: iTerm2, Terminal.app, and the integrated terminals inside VS Code, Zed, and Cursor, plus tmux sessions.

Why it’s different

Most remote-terminal tools spawn their own session via forkpty() — they can only ever show you terminals they started. TermBridge installs a tiny, heavily-guarded hook that re-execs your interactive shell inside an agent-owned PTY (the same script(1) pattern that’s been in Unix forever). Because the hook sits below the terminal app, it mirrors whatever you’re already in.

What you get

  • Every live shell, one tap. A live-updating list of every open terminal across all your terminal apps.
  • Real terminals, full color. Raw VT bytes pass through untouched — 256-color, vim, tmux, htop, progress bars all render exactly as they do on your desk.
  • No lockout risk. The shell hook fails safe: a missing binary or dead agent gives you a completely normal shell, never a broken one.
  • No SSH, no open ports, no accounts. Your Mac holds one outbound encrypted connection to a relay. Nothing inbound is ever exposed.
  • End-to-end encrypted. Every frame is sealed with X25519 + AES-256-GCM. The relay only ever routes ciphertext.

How it fits together

TermBridge has four parts. You only ever install two of them (the Mac app and the iOS app); the rest is internal.

PartWhat it isWhere it runs
Menu-bar appThe thing you download. Installs the agent + shell hook, shows the pairing QR.Your Mac
AgentA small background daemon that owns the PTYs and holds one outbound connection to the relay.Your Mac (launchd)
RelayPairs phone ↔ Mac and routes sealed frames. Never sees plaintext.Cloud (Cloudflare)
iOS appScans the QR, lists your shells, attaches to one.Your iPhone / iPad

Ready? Head to Installation.