Start at Your Desk, Continue From Anywhere

Nothing about how you launch Claude Code changes. You only gain a way back into the session when you are away from the keyboard.

1

Start a task at your desk

Open a terminal on your computer and run claude as usual. Give it the long task you would normally babysit — a refactor, a test run, a migration across many files.

2

Walk away

The agent keeps working in the terminal session on your computer. Lock your desk, catch your train, head to lunch — nothing pauses when you leave.

3

Open the same session from your phone

Launch CLIAnywhere on iOS, Android, or the Web App and connect. You are looking at the live terminal where Claude Code is running: streaming output, full scrollback, current prompt.

4

Watch, answer, continue

Check progress, read diffs and test results as they print, and answer the agent's questions by typing on your phone. Back at your desk, the same session is still open on your monitor.

claude — 80x24
~/api-server $ claude
> migrate auth/ to async and make tests pass
● Reading src/auth/legacy.py (412 lines)
● Planning changes across 6 files
✻ Thinking…
● Edited src/auth/session.py (+48 −23)
● Ran tests — 34 passed, 2 failed
> fix the two failing tests
● Edited tests/test_auth.py
● Ran tests — 36 passed
>

Illustrative session: Claude Code output shown in a terminal accessed from the CLIAnywhere mobile app.

Why Persistent Sessions Matter for Agent Runs

AI coding agents do their work over minutes, not seconds. The weakest link is usually the connection between you and the terminal — CLIAnywhere removes it.

Agent tasks outlive your attention

A refactor across a dozen files or a full test suite can run for many minutes. You should not have to keep a terminal window open — or a laptop awake in front of you — to see it through.

Disconnects don't end the run

The session runs on your computer, not on your phone. Locking your phone, closing the app, or dropping from Wi-Fi to cellular changes nothing — reconnect and the output is still there, with full scrollback.

No SSH-plus-tmux rig required

Many developers keep long jobs alive with tmux or screen and reconnect over SSH. CLIAnywhere gives you the same session continuity across desktop and mobile without configuring any of it.

What CLIAnywhere does and doesn't do: CLIAnywhere does not modify Claude Code, host it, or integrate with it, and it cannot keep the agent running if your computer shuts down, reboots, or sleeps. Claude Code is a terminal application that runs on your computer; CLIAnywhere provides remote access to that terminal session. CLIAnywhere is an independent product and is not affiliated with or endorsed by Anthropic.

A Refactor That Survives Lunch

One pass through the workflow, from first prompt at the desk to review back home.

Say you want Claude Code to migrate an aging auth module to the new API surface and make the whole test suite pass. At your desk, you open a terminal, run claude, and describe the task. The agent starts reading files and planning edits — clearly a job that will take a while, and clearly a job you have seen before.

  1. You leave. The terminal session — and the agent inside it — keeps running on your computer while you head out.
  2. You check in from your phone. On the train, you open CLIAnywhere, connect to that session, and watch the test output scroll. Scrollback shows every file the agent has touched so far.
  3. The agent asks a question. It wants to know whether deprecated call sites should be updated too. You type the answer on your phone; the run continues.
  4. You review at your desk. Back home, the same session is open on your monitor with everything intact, and you inspect the final diff locally.

Need the logs on your phone? The built-in file browser can pull any file from the computer — test reports, changed sources, or agent output — over the same encrypted channel.

Your Agent Session, Encrypted End-to-End

Every keystroke you send and every line of agent output you receive is encrypted end-to-end: a SPAKE2 key agreement between your devices derives the keys, and payloads are sealed with AES-256-GCM, so the relay — used only when a direct peer-to-peer path isn't possible — only ever sees ciphertext. Each computer is protected by a Security Code that is generated locally on that machine and never uploaded. See the security overview for details.

What CLIAnywhere Supports

Platform and capability facts for this use case, all verified against the shipping product.

Windows hostYes
macOS hostYes (signed and notarized, distributed via GitHub Releases)
Linux hostYes (desktop UI or headless CLI build)
iOS clientAvailable on the App Store — see the download page
Android clientGoogle Play
Web clientwebapp.clianywhere.com
Shellsbash, zsh, fish, sh, cmd, pwsh, powershell
Persistent sessionsYes
Desktop↔mobile session switchingYes
File browser + downloadYes
P2P direct (DTLS)Yes
Encrypted relay fallback (WSS)Yes
End-to-end encryptionSPAKE2 + AES-256-GCM
Port forwarding / public IPNot required
Open-source daemongithub.com/CLIAnywhere/clianywhere_daemon

Frequently Asked Questions

Yes. Claude Code keeps running in a terminal on your computer, and CLIAnywhere lets you view and type into that terminal from an iPhone, Android device, or web browser. You see the same scrollback and the same session state, because your phone is just another window onto the session running on your machine. CLIAnywhere does not run Claude Code itself and does not change how Claude Code behaves; it provides remote access to the terminal session where Claude Code is running.
Install the CLIAnywhere daemon on the computer where Claude Code runs, start Claude Code in a normal terminal as usual, then open the CLIAnywhere app on your phone and connect. No port forwarding, public IP address, or SSH key setup is required: connections use direct peer-to-peer DTLS when possible and fall back to an encrypted relay otherwise. Once connected, you can watch output and send input from anywhere.
Open the CLIAnywhere app and select the terminal where Claude Code is running. You see its live output, you can scroll back through everything it did while you were away, and you can read the results and file changes it prints, all from your phone. If it stops to ask a question, you answer from the phone and the task continues. Monitoring is read-write, so you choose when to watch and when to step in.
Leave Claude Code running on your computer and connect from your phone. The session is persistent: it survives your phone locking, the app closing, or the mobile network dropping, because the process runs on your computer the whole time. When you get back to your desk, the same session is still open with its full scrollback, and you can review everything locally.
Just reconnect. Because the Claude Code process lives in a terminal session on your computer, closing the app on your phone does not end it. Reopening CLIAnywhere on your phone, tablet, or in the browser-based Web App drops you back into the same session with all scrollback intact, and you can keep typing where you left off. Switching back to the desktop works the same way.

Keep Reading

Check on your next agent run from anywhere

Free download, one-minute setup, and the same terminal session on every device.

Download App Setup Guide