Skip to main content
Gemini CLI is Google’s terminal agent. It calls the Gemini REST API (/v1beta), which Triw implements, and it accepts a base-URL override.

Requirements

Install

Configure

Or persist both in the user settings file:
~/.gemini/settings.json
settings.json also supports environment substitution ("$MY_VAR"), which keeps the key out of the file:

Pick a model

Only gemini-* ids are meaningful for this CLI. Other families are reachable through the OpenAI-compatible route instead.

Verify

Run one prompt, then check Logs in the Triw console. An empty log means the CLI still talks to Google — the base URL variable did not reach the process.

Troubleshooting