Skip to content

Claude Code Remote - Access Claude Code sessions from any device πŸ“±πŸ’»

Notifications You must be signed in to change notification settings

yazinsai/claude-code-remote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

81 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Claude Code Remote - Manage your Claude Code instances from your phone

npx claude-code-remote

That's it. Scan the QR code and you're in.


What You Get

πŸ–₯️ Full Terminal Access β€” Not a chat wrapper. A real terminal running on your machine. Read files, run commands, access your .env β€” everything works.

πŸ“‚ Any Project, Any Directory β€” Open projects from anywhere on your machine. Just type the path (with autocomplete) and you're there.

πŸ—‚οΈ Unlimited Sessions β€” Open as many tabs as you want. Different projects, different conversations, all running in parallel.

πŸ’Ύ Session Persistence β€” Start a session, put your phone down, come back hours later. Your work is right where you left it.

🌐 Dev Server Preview β€” Building a UI? Preview your local dev server right in the app. Hot reload and all.

✨ Zero Config Remote Access β€” Uses Cloudflare Tunnel automatically. No port forwarding, no firewall headaches, no ngrok fees.


Getting Started

npx claude-code-remote

Or install globally:

npm install -g claude-code-remote
claude-remote

You'll see:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Claude Code Remote                        β”‚
β”‚  ─────────────────                         β”‚
β”‚  Local:  http://localhost:3456             β”‚
β”‚  Remote: https://abc123.trycloudflare.com  β”‚
β”‚                                            β”‚
β”‚         β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„β–„                    β”‚
β”‚         β–ˆ β–„β–„β–„β–„β–„ β–ˆ β–€ β–ˆ β–ˆ                    β”‚
β”‚         β–ˆ β–ˆ   β–ˆ β–ˆβ–€ β–„β–€β–ˆβ–ˆ                    β”‚
β”‚         β–ˆ β–ˆβ–„β–„β–„β–ˆ β–ˆβ–€β–€β–„β–„β–ˆβ–ˆ                    β”‚
β”‚         β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€                    β”‚
β”‚                                            β”‚
β”‚  Scan to connect                           β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Scan the QR code. Done.


Requirements

  • Node.js 18+
  • cloudflared (optional, for remote access)

Installing cloudflared

macOS:

brew install cloudflared

Linux:

# See https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/installation/

Without cloudflared, you can still use it locally or set up your own tunnel (ngrok, Tailscale, etc).

Linux build dependencies

Linux may require build tools to compile the native terminal module:

sudo apt install -y build-essential python3

License

MIT

About

Claude Code Remote - Access Claude Code sessions from any device πŸ“±πŸ’»

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •