Setup guide

Create anywhere, continue anywhere

Your Mac stays on and holds all the work. Your laptop and phone are windows onto it. Most of this is one setting; the rest is making sure the Mac is still awake, online, and running when you come back to it.

Setup an hour or two Needs an always-on Mac Updated August 2026
The always-on Mac holds every session; laptop and phone reach it A desktop Mac on the left is labelled as the always-on machine where sessions live. Activity flows continuously from it out to a laptop and a phone on the right. ALWAYS ON Your desktop Mac the app, your files, every session Laptop the same sessions, anywhere Phone the Claude app
One machine does the work. The laptop and phone just look at it.
Reach

Solved by the setting

Any device can see and drive a running session. Nothing to install, no VPN, no file sync, no scripts.

Persistence

Solved by the Mac staying up

A session lives only while its process is running and the Mac is awake and online. Quit the app, or lose the network for about ten minutes, and it ends.

Before you start

What you need in hand

01

Set up the primary Mac

This machine does everything. It runs the app, holds your files, and keeps every session alive. The other two devices need almost nothing by comparison.

Get Claude Code running

Download the Claude desktop app from claude.ai/download, install it, and sign in. Claude Code comes with it, so there is nothing separate to install.

Open the Code tab and start a session using the Local environment. Not Cloud, and not SSH: those run somewhere else, and every setting below would be applied to the wrong machine. Point it at a real project folder, something like ~/Projects/test rather than your home folder, and accept the trust prompt when it appears. Remote Control will not start in a folder you have not trusted.

Paste into Claude Code
This is a brand new Mac. Check whether the Xcode command line tools and git are installed, and install them if they are missing. If you hit a password prompt or a dialog you cannot dismiss, stop and tell me exactly what to click, because those are mine to do. Then confirm you can read and write a file in this folder.

Turn on Remote Control

Paste into Claude Code
Add "remoteControlAtStartup": true at the top level of my ~/.claude/settings.json. Read the file first and preserve everything already in it, then confirm the result is valid JSON and show me what you changed.

Restart Claude Code so it picks the setting up. Then check that it actually worked, before going any further: start a session on the Mac and open claude.ai/code in a browser. The session should be listed, with a computer icon and a green dot.

Valid JSON is not proof. A plan, an organization policy, a sign-in problem, or an untrusted folder will each leave the session local-only, and nothing on the Mac will tell you. If it is not listed, work through the troubleshooting section at the end of this page.

Stop it sleeping

Five changes, all by hand. You will need your administrator password. Do them in this order, because the last one depends on the first.

  1. Privacy & Security › FileVault. Turn it off. Automatic login is unavailable while FileVault is on, and with it on the Mac is unreachable after any reboot until someone unlocks it in person.
  2. Energy. Turn on: prevent automatic sleeping when the display is off, and wake for network access. Then set it to come back after a power cut. Depending on your macOS version this is either a switch called Start up automatically after a power failure or a menu called Start up when power is connected, where you choose After power failure or Always.
  3. Terminal. Run sudo pmset -a sleep 0 disksleep 0 womp 1 autorestart 1 and enter your password.
  4. Users & Groups. Set “Automatically log in as” to your account.
  5. General › Login Items & Extensions. Add Claude so the app launches itself after a restart.

If the automatic-login menu is greyed out even with FileVault off, your Mac is managed by your employer or your account signs in with an Apple Account password. Neither can be worked around here; the Mac will need someone present after a reboot.

This does not restore your sessions. It gets the Mac back to a logged-in desktop with Claude running. Remote Control only registers sessions that are open, so after any restart you still have to reopen the ones you want reachable, and nothing will remind you to.

Memory: 16GB minimum, 24GB better.

02

Set up the laptop

Install the Claude desktop app and sign in with the same account. That on its own is enough: the Mac’s sessions appear in the sidebar grouped by folder, and they are fully interactive, so you are typing into a session executing on the other machine.

Optionally, turn the same setting on here as well. It does nothing for the Mac’s sessions. It exposes sessions hosted on the laptop, which is only useful if you sometimes start something here and want to reach it from your phone.

Optional, on the laptop
Add "remoteControlAtStartup": true at the top level of my ~/.claude/settings.json. Read the file first and preserve everything already in it, then confirm the result is valid JSON and show me what you changed.

Sessions you start on the laptop go unreachable the moment you close the lid, and come back when it wakes. They end for good when you shut down or restart. Either way you cannot reach them from your phone while the laptop is shut, which is the whole reason to keep work on the Mac.

03

Set up the phone

Almost nothing to do here, because the phone runs no sessions of its own.

  1. Install the Claude app from the App Store or Play Store.
  2. Sign in with the same account you use on the Mac.
  3. Open your Code sessions. Everything running on the Mac is listed and can be driven from the phone.

Starting a new session from the phone is a different thing. It asks you to connect GitHub and install the Claude Code app into your repositories, then runs in the cloud from a fresh clone on its own claude/session-… branch. That works fine, and the session appears on your laptop too, so you can carry on there. Just know it is not touching your Mac: anything uncommitted, or outside that repository, will not be there.

The phone is for steering rather than building: read what happened, answer a question, approve a direction, then pick it back up at a real keyboard.

04

Keep your history longer

The Mac keeps the files it needs to reopen a past session for 30 days, then deletes them. Raise that on the Mac:

Paste into Claude Code on the Mac
Set "cleanupPeriodDays": 365 at the top level of my ~/.claude/settings.json so the local session files on this Mac are kept for a year instead of 30 days. Read the file first, preserve everything already in it, and confirm the result is valid JSON.

This covers the resume files on this Mac only. It does not change what Anthropic keeps on its own servers, so it is not a guarantee that a year-old session will still open from your phone. Do it early regardless: the old files are swept when Claude Code starts, so anything already expired may disappear the next time you launch it.

05

Optional: reach the Mac’s files from the laptop

Sessions do not need this. It is for the times you want the files themselves from the laptop, or a dev server running on the Mac. Tailscale puts both machines on a private network with no ports opened to the internet.

On both machines, and all by hand, because every step needs an approval only you can give:

  1. Download Tailscale for macOS from tailscale.com/download and install it.
  2. Open it. macOS will ask you to allow a system extension, but the alert only sends you to System Settings; it does not contain the switch. Choose Open System Settings, find the network extensions list under General › Login Items & Extensions, and enable the Tailscale entry there. Then choose Allow for the VPN configuration when that appears. Both need your administrator password.
  3. Sign in from the Tailscale icon in the menu bar. Use the same Tailscale account on both machines.
  4. In the Tailscale admin console, turn on MagicDNS so machines get names instead of IP addresses, and disable key expiry for the Mac so it never quietly drops off.

Then, on the Mac only, turn on System Settings › General › Sharing › File Sharing. To find the Mac’s name on the network:

Paste into Claude Code on the Mac
Find the Tailscale command line tool on this Mac. It is usually inside the app bundle rather than on my PATH, so give me the full path if it isn't found directly. Then run its status command and tell me this machine's name on the tailnet.

Now connect from the laptop. In Finder choose Go › Connect to Server, enter smb:// followed by that name, and when Finder asks how to connect choose Registered User. The name and password it wants are the Mac’s own macOS account, not your Claude or Tailscale login. Then pick the folder or volume you want.

A dev server only answers over Tailscale if it listens on all interfaces rather than just 127.0.0.1; then reach it at http://<mac-name>:<port>. Tailscale also has iPhone and Android apps, but the phone does not need to be on the network. It reaches your sessions through Claude, not through the Mac.


Before you rely on it

Four things that will bite you

A closed laptop takes its sessions with it

Close the lid and anything hosted there is unreachable until it wakes; shut down and it is gone. Anything you want to pick up from another device should be started on the Mac.

Never sync the config folder

Keep ~/.claude out of Syncthing, Dropbox, and iCloud. Its session logs are append-only and its registry is keyed by process ID, so two machines writing produces conflicts and nonsense.

A restart stops sessions without losing them

An overnight OS update ends anything mid-run. The conversations survive and reopen from the sidebar where they left off, but they are not reachable from your other devices again until you do reopen them.

Nothing tells you it broke

The usual failure is discovering the Mac is unreachable at the worst moment. A daily reachability check turns that into something you fixed on Tuesday.

If it will not connect

Settings that quietly block Remote Control

On your machine

  • ANTHROPIC_API_KEY is set. Remote Control needs a claude.ai login, not an API key. Unset it, then sign out and back in from the Claude menu in the desktop app.
  • You signed in with a long-lived token from claude setup-token or CLAUDE_CODE_OAUTH_TOKEN. Those can only make model requests. Sign out and back in properly.
  • ANTHROPIC_BASE_URL points anywhere other than api.anthropic.com, such as a gateway or proxy. Unset it.
  • You are on Bedrock, Vertex, or Foundry. Not supported. Check CLAUDE_CODE_USE_BEDROCK and CLAUDE_CODE_USE_VERTEX.
  • DISABLE_TELEMETRY, DO_NOT_TRACK, CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC, or DISABLE_GROWTHBOOK is set. Each one disables the check that decides whether Remote Control is available to you.
  • Any of the above can be hiding in the env block of a settings.json file, not just your shell.
  • You never accepted the trust prompt in that folder, or you started the session in your home folder, where trust is not saved. Open a real project folder and accept the prompt.

Commands like claude auth login only exist if you also installed the terminal CLI separately. The desktop app does not put a claude command on your PATH.

On Team or Enterprise

None of this applies on Pro or Max. There is no organization console on those plans, so the admin link below will tell you that you do not have access to organization settings. That is expected, and nothing needs enabling.

  • Remote Control is off for the whole organization by default. An Owner turns it on at claude.ai/admin-settings/claude-code.
  • That toggle is greyed out when the organization has a data retention or compliance setting that is incompatible. It cannot be changed in the admin panel; contact Anthropic support.
  • IT can disable it per-device with disableRemoteControl in managed settings, separately from the organization toggle. The error names the setting.
  • Trusted Devices may be on. Each browser, phone, and desktop app has to enrol once, and sign-ins older than 18 hours need a Face ID, Touch ID, Windows Hello, or passkey confirmation.
  • A personal workspace on the same email address will not show your organization’s sessions. Check which workspace each device is in.
The settingOne line, on the Mac
Minimum RAM16GB, 24GB better
By handInstalls and approvals
The ruleStart it on the Mac

Anything shown as a prompt can be pasted straight into Claude Code, which will make the change for you. Everything else needs an administrator password, a System Settings toggle, or an approval dialog that no tool can click on your behalf.