Claude CodeTutorialMobileSetup

How to Use Claude Code on Your iPhone: Complete Setup Guide

T
Termly Team
Engineering
5 min read
Share:

Claude Code has revolutionized AI-assisted development, but until now, it's been strictly a desktop experience. With Termly, you can access your Claude Code sessions from anywhere: on your iPhone, iPad, or Android device.

Why Access Claude Code on Mobile?

Mobile access to Claude Code opens up entirely new workflows:

  • Review AI-generated code during your commute - Check Claude's suggestions on the train or bus
  • Respond to urgent code reviews - Handle critical issues even when you're away from your desk
  • Use voice input for coding prompts - Dictate what you want Claude to build hands-free
  • Maintain context across devices - Switch seamlessly between desktop and mobile without losing your place

Prerequisites

Before starting, make sure you have:

  • Claude Code installed on your desktop (Mac, Windows, or Linux)
  • Node.js 18 or later installed
  • An iPhone running iOS 15+ or Android device
  • Active internet connection on both devices

Step 1: Install Termly CLI

Open your terminal and install the Termly CLI globally:

npm install -g @termly-dev/cli

This installs the termly command that bridges your desktop Claude Code session to mobile.

Step 2: Launch Claude Code Through Termly

Navigate to your project directory and start Claude Code via Termly:

cd /path/to/your/project
termly start --ai claude-code

Alternatively, if Claude Code is your default AI tool, simply run:

termly start

Termly will auto-detect Claude Code and launch it. Within seconds, you'll see a QR code appear in your terminal.

Step 3: Connect Your Mobile Device

  1. Download the Termly app from the App Store (Android coming soon)
  2. Open the app and tap the "+" button or "New Session"
  3. Scan the QR code displayed in your terminal
  4. Your Claude Code session appears instantly on your phone

That's it! You're now running Claude Code on mobile.

How It Works: Security First

Termly uses end-to-end encryption with AES-256-GCM and Diffie-Hellman key exchange. Your code never touches our servers in unencrypted form.

Here's the flow:

  1. Desktop encrypts - Your machine encrypts all data before sending
  2. Server relays - Termly's backend acts as a zero-knowledge relay (we can't read your data)
  3. Mobile decrypts - Your phone decrypts and displays the session

This architecture ensures your proprietary code remains private—even from us.

Pro Tips for Mobile Claude Code

Use Voice Input

Tap the microphone icon in Termly to dictate prompts to Claude. Perfect for:

  • Describing features you want built
  • Requesting code refactoring
  • Asking questions about your codebase

Review Before Approving

When Claude suggests changes, review them carefully on mobile before telling Claude to proceed. The larger iPhone or iPad screen makes code review easier than you'd expect.

Bookmark Common Prompts

Save frequently-used prompts (like "add comprehensive error handling" or "write unit tests for this module") for quick access on mobile.

Use Split Screen on iPad

On iPad, run Termly alongside Safari or Slack in Split View. Review documentation while prompting Claude or coordinate with teammates while coding.

Troubleshooting

QR Code Not Scanning?

  • Ensure your phone's camera has permission to access the camera
  • Try increasing terminal font size to make QR code larger
  • Check that both devices are on the same network (or use mobile data if firewall blocks)

Session Disconnecting?

  • Keep your desktop awake and the terminal window open
  • Check your internet connection stability
  • Verify firewall isn't blocking WebSocket connections

Can't See Claude's Responses?

  • Ensure you're running the latest version of Termly CLI: npm update -g @termly-dev/cli
  • Restart the Termly session with termly start

What's Next?

Now that you have Claude Code on mobile, try these workflows:

  • Code during your morning coffee at a cafe
  • Review and approve Claude's suggestions during lunch breaks
  • Handle urgent bug fixes while away from your desk
  • Use voice input to describe features while walking

Conclusion

Mobile access to Claude Code isn't just convenient, it fundamentally changes how you can work with AI coding assistants. With Termly, your AI-powered development environment follows you everywhere.

Try it today: Download Termly for iOS

Questions? Join our Discord community or email us at hello@termly.dev.

T
Written by
Termly Team
Engineering
Share:
Termly - Universal AI Coding Assistant on Mobile