Run Gemini CLI on iPad over SSH
You can use Gemini CLI from an iPad or iPhone with Kodo Editor. Install it on a computer you control, connect from Kodo over SSH and use tmux so you can reattach the terminal session.
How to get started
- On a supported computer, install Gemini CLI using its official instructions. Complete the CLI’s sign-in or provider setup on that host. [source: Gemini CLI]
- Make the computer reachable from your iPad. Use the local network or the private network you already use for SSH.
- Open the SSH connection in Kodo, change into the project directory on the host and start a named tmux session.
- Check the official documentation for your account’s supported sign-in method and plan before trying it from a headless host.
- After a disconnect, connect to the same host and reattach the tmux session. Check the changed files and run your project’s tests there.
cd /path/to/your-project
tmux new -As mobile-dev
geminiLimits to know
The CLI, files and shell run on your host. Kodo is the SSH client. Keep the host available and check any network, billing and authentication requirements with the agent provider.
Frequently asked questions
Does Gemini CLI run inside Kodo on iPad?
This workflow runs it on your remote computer. Use Kodo’s local AI workflow if you need offline inference. [source: Gemini CLI]
Do I need a hosted workspace subscription?
You can use a server you already manage. The CLI’s provider may have separate account or billing terms. [source: Gemini CLI]
Can I reconnect after losing Wi-Fi?
Yes, if the host and tmux session are still active. Reconnect over SSH and attach by name. [source: tmux]
Can I use an iPhone?
Yes. Use the same host and tmux session. For a long review, a larger screen or a physical keyboard may be more comfortable. [source: App Store]