Petit Panda resource

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.

  1. 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+.
  2. Install Claude Code

    Open a terminal and run the official installer for your system, then check the version and launch it.

    macOS, Linux, WSL
    curl -fsSL https://claude.ai/install.sh | bash
    Windows (PowerShell)
    irm https://claude.ai/install.ps1 | iex
    Or with npm (Node.js 22 or later)
    npm install -g @anthropic-ai/claude-code
    Check, then launch
    claude --version
    claude

    Commands as published by Anthropic in the Claude Code quickstart and setup pages, linked at the bottom.

  3. 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.

  4. 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 session
    claude --dangerously-skip-permissions
    By 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.

  5. 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
    /rc
    Name the session
    /rename My Project
    Always on: open settings
    /config

    The session goes offline if you close the terminal or stop the claude process.

  6. 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 in
    powercfg /change standby-timeout-ac 0
    powercfg /change hibernate-timeout-ac 0
    macOS, plugged in
    sudo pmset -c sleep 0
    # or, for as long as this command runs:
    caffeinate -s

    If you reach the machine over SSH, start claude inside tmux or screen so the session survives the disconnect.

  7. 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

Made by Petit Panda

Create, schedule and publish your social media content with your AI agent.

Create an account