BobRouter
Gemini CLI

INTEGRATION

Gemini CLI

The launcher-only Bash and Windows PowerShell helpers pin the reviewed Gemini CLI 0.55.1 contract and default to gpt-5.6-sol. With GOOGLE_GEMINI_BASE_URL set, Gemini CLI selects gateway auth and sends x-goog-api-key to the native Google GenAI v1beta REST/SSE routes; this is not OpenAI-compatible translation. The helper uses GEMINI_MODEL and the real Gemini state directory only in the child process. BobRouter backend schema, SSE, countTokens, and tool-call compatibility remain unverified.

Compatibility: ReviewedDefault model: gpt-5.6-solReviewed 2026-08-16

Requirements

  • Gemini CLI 0.55.1
  • Node.js 20 or newer
  • PowerShell 7 for the Windows helper
  • An API key only when running

Install

Select your operating system and run the one-line installer. The installer verifies the helper, then shows Install, Rollback, Uninstall, Status, and Exit.

BashRun this terminal command.
CODE
bash <(curl -fsSL https://bobrouter.com/downloads/integrations/gemini-cli/install.sh)

Command explanations

    Verify

    Dry-run writes nothing. Run requires BOBROUTER_API_KEY in the current process. The helper refuses unreviewed Gemini CLI versions unless version drift is deliberately accepted.

    Bash: 95e1f30d71c3181c61d2c4516d360a1cc3df40dd344e1a67c41b6ce636521203PowerShell: 0c0a16cf7c523ea99f7b58e11d56c85cf0eab3d8bc4d0681553a24672a68f34b

    Roll back

    Use the helper's rollback action and the backup path printed during apply. Rollback refuses unrelated or conflicting changes where the helper supports conflict detection.

    Uninstall

    Use the helper's uninstall action to remove only BobRouter-managed settings. Keep unrelated client configuration unchanged.

    Read the reviewed upstream documentation