DEV Community

Hân Nguyễn
Hân Nguyễn

Posted on

HiTerm: A Free Remote Terminal for AI Coding Agents (Claude Code, Codex, Gemini CLI)

The Problem

Claude Code, Codex, Gemini CLI, and other AI coding agents are powerful tools. But they have one limitation: you need to stay at your PC to monitor them.

What if you could:

  • Start a Claude Code task and grab coffee?
  • Get notified when your AI agent finishes?
  • Monitor your terminal from your phone?
  • Debug production issues from anywhere?

The Solution: HiTerm

HiTerm is a free, open-source remote terminal that syncs your PC to your phone in real-time.

Key Features

  • Real-time sync: Terminal content is identical on phone and PC
  • Free: No cost, no subscriptions, no hidden fees
  • Zero data loss: Your work survives disconnects, reboots, and network switches
  • No server: All data stays on your devices - nothing goes through our servers
  • Secure: TLS encrypted VPN via Tailscale, zero-trust network
  • Same experience: Your phone works exactly like your PC terminal

Works with ANY AI Agent

HiTerm works with:

  • Claude Code
  • Codex
  • Gemini CLI
  • Cursor
  • Windsurf
  • Aider
  • Any terminal-based AI tool

How It Works

  1. Install hiterm CLI on your PC
  2. Install Hi Term app on Android
  3. Scan QR code to pair
  4. Your phone now has a real-time remote terminal to your PC

Use Cases

Monitor Claude Code from Your Phone

Start a Claude Code task, grab coffee, get notified when it's done. No more screen-watching.

Debug Production Issues from Anywhere

SSH through the jump box to the production server from your phone. Mosh keeps the connection alive through signal fluctuations.

Manage Servers on the Go

Check logs, restart services, manage your infrastructure - all from your phone.

Tech Stack

  • CLI: Go
  • Android: Java (Termux fork)
  • Network: Tailscale (P2P, TLS encrypted)
  • Sessions: tmux (persistent)

Getting Started

  1. Install Tailscale: https://tailscale.com/download
  2. Install hiterm: curl -fsSL https://hiterm.yinbin.ink/install.sh | bash
  3. Install Hi Term: Download from https://hiterm.yinbin.ink/download/
  4. Pair your phone: hiterm pair

Links

Conclusion

HiTerm solves a simple problem: monitoring AI coding agents without being tied to your computer. It's free, secure, and works with any AI agent.

Give it a try and let me know what you think!

Top comments (0)