Development

Mobile Vibe Coding Setup with Claude and SSH

Guide to remote mobile coding using VPS, Claude Code, tmux, and Termius SSH client for on-the-go development.

February 23, 2026
7 min read
By ClawList Team

Mobile Vibe Coding with Claude Code: How to Code Anywhere Using VPS, tmux, and Termius

By the ClawList.io Editorial Team | Category: Development


Have you ever had a brilliant idea while commuting, lying in bed, or waiting for your coffee order — only to realize your laptop isn't with you? What if your smartphone could become a fully functional AI-powered development environment? Thanks to a clever setup combining a VPS, Claude Code, tmux, and Termius, that's exactly what one developer figured out — and it's changing the way we think about mobile coding.

This technique, which the developer community is calling "Vibe Coding on mobile," lets you run Claude Code sessions persistently in the cloud and connect to them from your phone anytime, anywhere. It's lightweight, powerful, and surprisingly easy to set up.


What Is Mobile Vibe Coding — And Why Does It Matter?

"Vibe Coding" is the practice of coding in a fluid, conversational, AI-assisted flow — where you describe what you want and let tools like Claude Code do the heavy lifting. Traditionally, this experience has been tied to a desktop or laptop. But the setup we're covering today breaks that constraint entirely.

The core idea is simple:

  • A VPS (Virtual Private Server) acts as your always-on, always-connected cloud machine
  • Claude Code runs persistently inside a tmux session on that VPS, keeping your AI coding session alive even when you disconnect
  • Termius, a polished SSH client for iOS and Android, lets you securely connect to your VPS from your phone with a great mobile UX

The result? You can pick up exactly where you left off — mid-conversation with Claude, mid-refactor, mid-build — from your phone, on a train, at a café, or from your couch. No sync issues, no context loss, no friction.

This isn't just a novelty. For solo developers, indie hackers, and AI engineers who want maximum flexibility, this setup is a genuine productivity unlock.


How to Set Up Your Mobile AI Coding Environment

Let's walk through the full setup step by step. The entire stack is open, affordable, and takes under an hour to configure.

Step 1: Spin Up a VPS

Choose any VPS provider you prefer. Popular options include:

  • DigitalOcean (Droplets starting at $6/month)
  • Vultr or Linode / Akamai Cloud
  • Hetzner (excellent value for EU-based developers)

For Claude Code workloads, a 2 vCPU / 2GB RAM instance running Ubuntu 22.04 LTS is a solid starting point. Make sure SSH access is enabled and your public key is added during provisioning.

Step 2: Install Claude Code on Your VPS

SSH into your server and install Claude Code via npm:

# Update your system
sudo apt update && sudo apt upgrade -y

# Install Node.js (v18+ recommended)
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt install -y nodejs

# Install Claude Code globally
npm install -g @anthropic-ai/claude-code

# Authenticate with your Anthropic API key
claude login

Once authenticated, run a quick test to confirm everything is working:

claude --version
claude "Hello! Can you confirm you're running on my VPS?"

Step 3: Install and Configure tmux

tmux is the secret weapon here. It's a terminal multiplexer that keeps your sessions alive on the server even after you disconnect your SSH connection. Without tmux, closing Termius on your phone would kill your Claude Code session.

# Install tmux
sudo apt install -y tmux

# Start a named session for your coding work
tmux new-session -s vibe-coding

# Inside the tmux session, start Claude Code
claude

Now, even if you close Termius and walk away, your Claude session keeps running on the VPS. When you reconnect, you simply re-attach:

# Reconnect to your existing session
tmux attach -t vibe-coding

Some useful tmux shortcuts to know:

  • Ctrl+B, D — Detach from session (session keeps running)
  • Ctrl+B, C — Create a new window
  • Ctrl+B, [ — Enter scroll mode (great for reading Claude's output on mobile)
  • Ctrl+B, % — Split pane vertically

Step 4: Set Up Termius on Your Phone

Download Termius from the App Store or Google Play. It's free for basic use and offers a clean, mobile-friendly SSH experience.

  1. Open Termius → New Host
  2. Enter your VPS IP address and SSH port (default: 22)
  3. Add your SSH private key in the Keychain section
  4. Save and connect

Once connected, you'll drop straight into your VPS shell. From there:

tmux attach -t vibe-coding

And just like that — you're back in your Claude Code session, exactly where you left off.

Pro tip: In Termius settings, increase the font size and enable haptic feedback for a much more comfortable mobile coding experience. The app also supports swipe gestures for tab switching, which is handy when you have multiple tmux windows open.


Real-World Use Cases for This Setup

This isn't just a cool tech trick — there are genuine, practical workflows where mobile Vibe Coding shines:

1. Reviewing and iterating on code during commutes You can ask Claude to refactor a module, then review the output on your phone, give feedback, and continue the iteration loop — all without touching a laptop.

2. Running long AI-assisted builds or scripts overnight Start a complex Claude Code task on your VPS before bed, detach from tmux, and check back in the morning from your phone. The process ran uninterrupted all night.

3. Emergency hotfixes on the go Got paged about a bug while you're out? SSH into your VPS, use Claude Code to diagnose and patch the issue, and push the fix — all from your phone.

4. AI-assisted learning and exploration Use Claude Code as an interactive tutor while you're away from your desk. Explore a new API, experiment with a library, or prototype a feature — all in a persistent, stateful session.

5. Pair programming with yourself across devices Start a session on your laptop, detach, continue from your phone, then re-attach on your laptop when you're back. Seamless context, zero friction.


Conclusion: Your Phone Is Now a Development Environment

The combination of VPS + Claude Code + tmux + Termius is one of those setups that feels almost too simple for how powerful it is. With just a few hours of configuration, your smartphone becomes a gateway to a persistent, AI-powered coding environment that's always on, always available, and always in context.

For developers who want to embrace the AI-assisted coding workflow without being chained to a desk, this is the stack to build. The total cost? As low as $6–10/month for a capable VPS. The time to set up? Under an hour. The productivity upside? Potentially enormous.

Hat tip to @discountifu for sharing this elegant mobile coding workflow — a perfect reminder that the best developer setups are often the simplest ones.


Keywords: mobile coding, Claude Code, tmux, Termius, VPS setup, SSH mobile development, vibe coding, AI coding on mobile, remote development, AI-assisted coding

Related Posts on ClawList.io:

  • Getting Started with Claude Code for Automated Development
  • Best VPS Providers for AI Engineering Workloads
  • OpenClaw Skills for Mobile Development Automation

Tags

#claude#mobile-development#remote-ssh#vps#coding-workflow

Related Articles