Skip to content

Run Forge (forgecode) CLI on Your Phone

Forge has no iPhone or Android app, but the forgecode CLI installs with npm in Cosyra's cloud Linux workspace and runs from the phone. On Android, Forge also ships a native build for Termux.

Updated 3 min read Cosyra team

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.

Forge provider list in a Cosyra terminal on iPhone, 46 of 46 providers, including Anthropic, ClaudeCode, Codex, GithubCopilot, OpenRouter and Ollama

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.

Cosyra terminal quick-keys menu on iPhone: Paste, Ctrl+C, Ctrl+D, New line, Shift+Tab, F12, Ctrl+A and Ctrl+E

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
Checked against Forge's GitHub releases, README and npm on 2026-11-07. Model costs are extra on every path.

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.

Run Forge from your phone. Install Cosyra, open a terminal and type npm install -g forgecode.

See pricing