Skip to content

Code From Phone: 5 Steps to build a AI Coding Server in 1 hour.

Published:
2 min read

The Workflow

Phone → SSH → VPS → AI agent builds code → Push to GitHub → Pull on laptop

The Setup

1. Rent a VPS

Digital Ocean (I used Digital ocean) or Hetzner

2. Install Termius

Termius - iOS/Android app (free)

3. Install your favourite AI Coding Agents

apt update && apt install npm -y
npm install -g @anthropic-ai/claude-code
npm install -g @openai/codex

4. Setup GitHub Sync

git config --global user.name "Your Name"
git config --global user.email "your@email.com"
ssh-keygen -t ed25519 -C "your@email.com"
cat ~/.ssh/id_ed25519.pub

Add the SSH key to your GitHub account.

5. Start Coding

mkdir ~/projects && cd ~/projects
codex  # or claude
# Build something
git init && git add . && git commit -m "built from phone"
git remote add origin git@github.com:you/repo.git
git push -u origin main

Result

Coding from mobile anywhere anytime…

Screenshot showing code development interface on mobile phone via Termius

Subscribe for new posts to land in your inbox. No spam, ever.