Turn your PC into a Claude Code server.
One machine that stays on, Claude Code running on it, and everything driven from your phone. No VPS. Every command below comes from the official documentation.
Pick your machine
One computer that stays on. Claude Code runs on it, and your phone is the remote.
- Best: a desktop PC. Mine is a gaming PC.
- Also works: an old laptop or MacBook you no longer use. It becomes a dedicated machine.
- Claude Code needs 4 GB of RAM or more, and macOS 13+, Windows 10 1809+, Ubuntu 20.04+, Debian 10+ or Alpine 3.19+.
Install Claude Code
Open a terminal and run the official installer for your system, then check the version and launch it.
macOS, Linux, WSLcurl -fsSL https://claude.ai/install.sh | bashWindows (PowerShell)irm https://claude.ai/install.ps1 | iexOr with npm (Node.js 22 or later)npm install -g @anthropic-ai/claude-codeCheck, then launchclaude --version claudeCommands as published by Anthropic in the Claude Code quickstart and setup pages, linked at the bottom.
Log in with a subscription
At first launch, Claude Code asks you to log in. Use your Claude subscription.
- Accepted accounts: Claude Pro, Max, Ultra, Team and Enterprise. The free claude.ai plan does not include Claude Code.
- A subscription has a fixed monthly price. A Console account uses pre-paid API credits instead.
- Remote Control (step 5) needs a subscription login. API keys are not supported.
Plans and prices change: check claude.com/pricing.
Turn on Bypass Permissions
By default, Claude Code asks before each edit and each command. Bypass Permissions turns those prompts off, so a long task runs without you.
For one sessionclaude --dangerously-skip-permissionsBy default (settings.json){ "permissions": { "defaultMode": "bypassPermissions" } }What this mode allows
Bypass Permissions disables permission prompts and safety checks: tool calls run immediately, including writes to protected paths. Anthropic's documentation says it offers no protection against prompt injection and recommends isolated environments such as containers or VMs. That is why this setup uses a dedicated machine.
Turn on Remote Control
Remote Control connects the Claude app on your phone, and claude.ai/code, to a session running on your computer. The session keeps running on your machine: your phone is a window into it.
- Always on: in /config, set Enable Remote Control for all sessions to true.
- On your phone: open the Claude app, tap Code, and pick the session by name. A computer icon with a green dot means it is online.
In a running session/rcName the session/rename My ProjectAlways on: open settings/configThe session goes offline if you close the terminal or stop the claude process.
Keep the machine awake 24/7
Remote Control sessions run on your machine, so it has to stay on. Leave it plugged in and turn off sleep. That machine is now your own server.
Windows, plugged inpowercfg /change standby-timeout-ac 0 powercfg /change hibernate-timeout-ac 0macOS, plugged insudo pmset -c sleep 0 # or, for as long as this command runs: caffeinate -sIf you reach the machine over SSH, start claude inside tmux or screen so the session survives the disconnect.
One session that launches the others
With the Escadron skill, one Claude Code session acts as an orchestrator: it opens other sessions, each in its own window and connected to Remote Control, so you follow them all from your phone.
Get the Escadron skill
Sources
Every command on this page comes from these pages. If one has changed, they win.

Made by Petit Panda
Create, schedule and publish your social media content with your AI agent.