This guide will walk through running Claude Code on your phone in under 5 minutes and 500 words. To get started, you'll need:
It's easiest to start on your laptop. First, head to this template and click Remix
Matt's Claude template
You'll see a prompt that secrets are missing in the bottom right, click it and you'll be taken to the Secrets pane.
Paste in `/home/runner/workspace/.claude-user` (no quotes) as the value for CLAUDE_CONFIG_DIR - don't forget to click “Add Secret”
Now, click the plus icon next to the “Secrets” tab and search for “Shell”
Search for the shell in tools
Open the Shell and type in “claude” - voila! Claude Code is running
Login with Anthropic - do not authorize at the clicked link, instead copy / paste the URL
Follow the authorization prompts, when a new window is opened and you're prompted to authorize, do not - instead, go back to the terminal and there will be a URL.
Copy / paste the URL, get the resulting code, and paste that in your terminal
Now the fun part.
Install the Replit mobile app on your phone.
Open it up and sign in. You will see your app from before - select it.
Click the “three rectangles” icon in the bottom right to open the tools
Search for “Shell” - tap it!
Now that you're logged in, we can open your phone!
Tap the Shell selector in the top left - you'll see our “claude” command from before
Open the shell on mobile
Boom! Claude Code is running on your phone... You might notice it's sync with the version on your desktop! (more on that below)