Run Forge on a phone
Commands and screenshots from a Cosyra workspace on iPhone, current as of 2026-11-07.
Step 1
Install and start Forge
Open a terminal in Cosyra and run:
npm install -g forgecode
forge npm installed forge 2.13.21. The first run opens the provider list: 46 providers, including Anthropic, OpenRouter and Ollama. Skip the README's curl installer; its URL returns 404.
Step 2
Add a provider
Run the login flow and pick a provider:
forge provider login
Paste the API key from the terminal's quick-keys menu. The old
.env setup is deprecated.
Step 3
Run a task
Type forge for the interactive agent, or give it one task:
forge -p "explain what src/main.rs does"
forge list model Step 4
Write a commit
The first command prints an AI commit message. The second generates it and commits.
forge commit --preview
forge commit Ways to run Forge from a phone
| Feature | Cosyra | SSH to your computer | Termux on Android |
|---|---|---|---|
| Works on iPhone | Yes iOS app | Yes Any SSH app | No Android only |
| Works on Android | Yes Android app | Yes Any SSH app | Yes Termux |
| Works with your computer off | Yes Cloud workspace | No Computer stays on | Yes Runs on the phone |
| Forge build | Linux x86_64 | Your OS | Android arm64 |
| Newest version | 2.13.21 from npm | 2.14.0 from GitHub | 2.14.0 from GitHub |
| Price | From $20/month | Free | Free |
More: OpenCode on a phone · Aider on a phone · Cosyra vs Termux · AI coding agents on mobile
Frequently asked questions
Does Forge have an iPhone or Android app?
No. Forge is a terminal agent only. Its v2.14.0 release ships Linux, macOS and Windows builds plus an Android build, forge-aarch64-linux-android, for Termux. There is no iOS build.
Why not use the curl installer in the README?
The README still leads with curl -fsSL https://forgecode.dev/cli | sh, and that URL returned 404 on 2026-11-07. npm install -g forgecode works and installs 2.13.21. The GitHub release v2.14.0, from 2026-10-01, is newer than the npm package.
What does Forge cost?
The CLI is free and open source, Apache-2.0 per its GitHub repo. You pay your model provider. forgecode.dev/pricing lists a hosted software factory from $0.20 per agent-hour, which is not a CLI plan. Cosyra Core is $20/month and Pro is $30/month.
Sources: Forge on GitHub, v2.14.0 release, npm, forgecode.dev pricing.
Run Forge from your phone. Install Cosyra, open a terminal
and type npm install -g forgecode.