# Claude Code Remote: How to Run Claude Code From Your Phone or Anywhere

There are four ways to run Claude Code remote from your laptop: cloud sessions at claude.ai/code (also the Code tab in the Claude mobile app), Remote Control (your local session, driven from a phone or browser), SSH with tmux or mosh into a machine you own, and a Slack-driven agent. As of November 2026, cloud sessions and Remote Control both need a paid Claude plan, starting with Pro at $20 a month. The right choice depends on one question: should the code run on your own machine or on someone else's?

This guide walks through each option, what it needs, and where it breaks.

## Claude Code remote options at a glance

| Option | Where the code runs | Machine must stay on? | Works from a phone | Plan needed |
|---|---|---|---|---|
| Cloud sessions (claude.ai/code) | Anthropic-managed cloud VM | No | Yes, Code tab in the Claude app | Pro, Max, Ultra, Team or Enterprise |
| Remote Control | Your own machine | Yes | Yes, Claude app or browser | Pro, Max, Ultra, Team or Enterprise |
| SSH + tmux or mosh | A server you own | The server, yes | Yes, with any SSH app | Any way you sign in to Claude Code |
| Slack-driven agent | The agent vendor's machine | No | Yes, Slack mobile app | Depends on vendor |

The first two are Anthropic features documented in [Claude Code on the web](https://code.claude.com/docs/en/claude-code-on-the-web) and [Remote Control](https://code.claude.com/docs/en/remote-control). The third is plain Unix and works with any terminal tool. The fourth moves the work into a chat tool your team already has open.

## Option 1: Claude Code on the web and the mobile app

Cloud sessions run Claude Code on an isolated, Anthropic-managed virtual machine. You start one from claude.ai/code in a browser, from the desktop app, or from the Code tab in the Claude iOS and Android app. There is no separate "Claude Code app" to install: Anthropic's [mobile docs](https://code.claude.com/docs/en/mobile) describe the Code tab in the regular Claude app as the client for cloud sessions and Remote Control.

You can also send work to the cloud from your terminal and pull it back later:

```bash
# Start a cloud session from the CLI (--remote is the older alias)
claude --cloud "Fix the flaky test in tests/auth.spec.ts"

# Pull a cloud session into your local terminal
claude --teleport
```

What to know before relying on it:

- **Plans.** Cloud sessions are available on Pro, Max, Ultra, Team and Enterprise. There is no separate charge for the VM, but the work counts toward your plan's [usage limits](/blog/claude-code-usage-limits).
- **Git host.** Cloning repos and opening pull requests requires GitHub, per the [cloud environment docs](https://code.claude.com/docs/en/cloud-environments). GitHub Enterprise Server is supported on Team and Enterprise.
- **Sign-in.** You need a claude.ai account. API keys and Bedrock credentials do not work for cloud sessions.
- **Permissions on mobile.** From the phone you can choose Accept edits, Plan or Auto, but not Bypass permissions.

This is the best fit when you want to start a task from the couch and have it keep going after you put the phone away.

## Option 2: Remote Control for your local session

Remote Control keeps Claude Code running on your own computer and turns claude.ai/code and the Claude app into a window onto it. Your files, local tools, MCP servers and project config stay available because nothing leaves your machine except the transcript.

```bash
# Server mode: waits for connections, press space for a QR code
claude remote-control

# Start an interactive session that is also reachable remotely
claude --remote-control "auth refactor"
```

Inside an existing session, type `/remote-control` (or `/rc`) to connect it. If the Claude app isn't on your phone yet, `/mobile` shows a QR code that opens the right app store. Server mode accepts `--spawn worktree` so each new remote session gets its own git worktree.

The limits, from [Anthropic's docs](https://code.claude.com/docs/en/remote-control):

- The local `claude` process has to keep running. Close the terminal and the session goes offline.
- It reconnects after your laptop sleeps or the network drops, but your computer has to come back for work to continue.
- It needs a Pro, Max, Ultra, Team or Enterprise plan. On Team and Enterprise, an Owner must turn it on. API keys, Bedrock, Vertex and custom base URLs are not supported.
- Some local-only commands, like `/plugin` and `/resume`, don't work from the phone.

Push notifications are available, so Claude can tell your phone when it needs an answer.

## Option 3: SSH, tmux and mosh to a machine you own

The oldest method still works well: run Claude Code on a server, a home desktop or a cloud VM, and connect to it over SSH. The trick is to run it inside a terminal multiplexer so the session survives when your connection drops. Anthropic's own Remote Control docs recommend this for remote boxes: start `claude` "inside `tmux` or `screen` to keep the session running after you disconnect from SSH."

```bash
# On the server
tmux new -s claude
claude

# Detach with Ctrl-b then d. Later, from any device:
ssh you@your-server
tmux attach -t claude
```

On a phone, the network changes constantly as you move between Wi-Fi and cellular. Mosh handles that better than SSH because it keeps the session alive across IP changes:

```bash
mosh you@your-server -- tmux attach -t claude
```

Typing long prompts on a phone keyboard into a full terminal UI is clumsy, though. A common pattern is to combine this with Option 2: run `claude remote-control` inside tmux on the server, then use the Claude app instead of a terminal app.

The trade-off is maintenance. You own the server, the updates, the credentials on disk and the bill for keeping it on. If you plan to run with `--dangerously-skip-permissions`, read the [Claude Code sandbox guide](/blog/claude-code-sandbox) first.

## Option 4: Claude Code on your phone through Slack

A phone already has Slack on it, and a Slack thread is a natural place to hand off a task, check progress and let a teammate weigh in.

Anthropic's earlier Claude Code in Slack app is retired. Its [Slack docs](https://code.claude.com/docs/en/slack) now point to Claude Tag, which is in public beta for Team and Enterprise plans only. Pro, Max and Ultra users are directed to cloud sessions instead. See the full breakdown in [Claude Code in Slack](/blog/claude-code-in-slack) and [Claude Tag](/blog/claude-tag).

Other vendors run coding agents from Slack too. The [cloud coding agents comparison](/blog/cloud-coding-agents-compared) covers Cursor and Codex options.

## Run Claude Code from Slack with OpenComputer

OpenComputer runs Claude Code (and Codex on the hosted version) on a cloud Linux machine for your Slack workspace. You mention @Computer in a thread, from the desktop or the Slack mobile app, and it does the work there. Each thread gets its own git worktree and branch, so several tasks can run at once without colliding, and the workspace machine resumes warm.

When a change is ready, it opens a GitHub pull request saying what changed, why, and how it was checked, with screenshots or video and a preview URL for UI changes. Anyone in the thread can see what it is doing and steer it mid-turn, which a private phone session cannot offer.

You can bring your own Claude subscription or API key, or use OpenComputer tokens at API prices. Pricing is per workspace on work minutes: a 3-day trial with 600 minutes and $10 of tokens, Pro at $20 a month for 2,000 minutes, and Max at $200 a month for 25,000 minutes, with extra minutes at $0.01. It is [open source](https://github.com/diggerhq/opencomputer) and self-hostable. See [OpenComputer vs Claude Code](/compare/opencomputer-vs-claude-code) for a direct comparison.

## Which option should you pick?

- **You want to start tasks from your phone and walk away:** cloud sessions. Nothing of yours needs to stay on.
- **The work needs your local tools, data or MCP servers:** Remote Control, with the laptop left on and plugged in.
- **You already run a dev server or home box:** SSH with tmux, plus Remote Control for phone use.
- **Your team wants to share and steer the work in chat:** a Slack-driven agent.

Usage limits are the same across the Anthropic options because they share one plan. If remote sessions run out of headroom, see [Claude Code pricing](/blog/claude-code-pricing) for what each plan includes.

## FAQ

### Is there a Claude Code mobile app?

Not as a separate app. Claude Code on mobile is the Code tab inside the regular Claude app for iOS and Android. From there you can start and follow cloud sessions and connect to a Remote Control session running on your own computer.

### Can I use Claude Code on my phone for free?

No. Cloud sessions and Remote Control both require a paid Claude plan, starting with Pro at $20 a month as of November 2026. An SSH setup works with any Claude Code login, but you still need a paid plan or API credits for Claude Code itself.

### Does Remote Control keep working when my laptop is closed?

Only if the computer stays awake. Remote Control runs on your machine, so if it sleeps or the claude process stops, the session goes offline. It reconnects automatically once the machine is back, but no work happens in between.

### What is the difference between claude --cloud and Remote Control?

The cloud flag starts a session on an Anthropic-managed virtual machine that keeps running without your computer. Remote Control keeps the session on your own machine and only mirrors it to the browser or phone, so your local files and tools stay available.

### Why use tmux when running Claude Code over SSH?

Without tmux or screen, the Claude Code process is tied to your SSH connection and dies when it drops. Inside tmux, the session keeps running on the server and you can reattach from any device, which matters on flaky mobile networks.

## Sources

- [Claude Code on the web](https://code.claude.com/docs/en/claude-code-on-the-web)
- [Remote Control](https://code.claude.com/docs/en/remote-control)
- [Claude Code on mobile](https://code.claude.com/docs/en/mobile)
- [Cloud environments](https://code.claude.com/docs/en/cloud-environments)
- [Claude Code in Slack](https://code.claude.com/docs/en/slack)
- [Claude pricing](https://claude.com/pricing)
