Answer AI agents
Claude Code, Codex or Aider keep working while you're out. When one asks "Do you want to proceed?" your phone buzzes. Answer with one tap.
Free · Open source · macOS, Windows, Linux
Run commands, answer Claude Code, open localhost:3000. From your phone, from anywhere, even with the laptop shut in your bag. Direct and end-to-end encrypted.
npx pocket-terminalWhat you can do
Claude Code, Codex or Aider keep working while you're out. When one asks "Do you want to proceed?" your phone buzzes. Answer with one tap.
Long build, big download, model training: get a notification when it finishes or needs you. Sent straight from your computer, encrypted.
Run npm run dev on the laptop, open it on your phone from any network. No tunnels, no deploys.
On charger it answers instantly. On battery it sleeps and wakes every minute or two to check for you, then sleeps again.
Grab a file or a database backup from your computer. Upload a photo into a project folder.
Send a view-only link. A friend or teammate watches your terminal live and can't type a thing. It expires.
"Free up port 3000" or half a command you remember becomes the right command for your system, explained. Or just say it.
Phone on mobile data, laptop on college Wi-Fi. No router settings, no port forwarding, no account to sign up for.
On your phone



How it works
y to approve.Install
You need Node.js 18.20 or newer. Run the line again any time to update; your pairing stays.
Open Terminal and paste:
curl -fsSL https://pocket-terminal.utsavdoye.com/install.sh | bashbrew install node, or the installer from nodejs.org.Open PowerShell (no admin needed) and paste:
irm https://pocket-terminal.utsavdoye.com/install.ps1 | iexwinget install OpenJS.NodeJS.LTSOpen a terminal and paste:
curl -fsSL https://pocket-terminal.utsavdoye.com/install.sh | bashsudo apt install -y build-essential python3 (the installer tells you if they're missing).Same on every system:
npx pocket-terminalnpx pocket-terminal pair (another phone), list, remove 2, logs, uninstall.It finishes by showing a one-time QR code. Keep it open for step 2.
Pair inside the Home Screen app: iPhone keeps it separate from Safari. Notifications need iOS 16.4+.
Notifications work on Android 8 and newer.
Your phone and computer show the same 6-digit code.
If they match, type y on the computer.
Choose a PIN on the phone. Done: you're connected.
Security
Security never depends on the code being secret: it's all open source. Read the full threat model.
y next to a matching code.FAQ
Free and open source (MIT). There's no server you run or pay for, and none that can read your data. A free public message board passes a few encrypted "hello" notes so the two devices can find each other; your live terminal goes directly between them.
Those assume your computer is awake and reachable. Pocket Terminal is built around a laptop that's asleep in your bag: it wakes itself briefly to check for work, runs it, replies, and sleeps again. Nothing to set up on your router, no account.
Yes. While a program is still working, the computer stays awake (on battery too, above 20%, for up to 2 hours after you last used it). When the agent stops to ask, your phone buzzes with the question. Tap it and answer.
Each check-in is a few seconds awake. Overnight that's typically a few percent. It never stays awake below 20% and stops waking below 10%.
On your computer run npx pocket-terminal list, then npx pocket-terminal remove <number>. That phone is locked out within seconds, and its PIN-locked key is useless.
Computer: macOS, Windows 10/11, and Linux (laptops get the lid-closed features; servers simply stay awake). Phone: iPhone and Android, as an app you add to your home screen.