DataEyesAI
Official SiteConsoleDocs HomeGetting StartedDeveloper Tools
AI Models APITerms & Policies
Official SiteConsoleDocs HomeGetting StartedDeveloper Tools
AI Models APITerms & Policies
  1. Developer Tools
  • Claude Code
  • Claude Code for VS Code
  • Codex
  • OpenClaw
  • OpenCode
  • Cline
  • Gemini CLI
  • Grok CLI
  • n8n
  • AutoClaw
  • Other tools
  • Claude Code 400 troubleshooting
  1. Developer Tools

Gemini CLI

Gemini CLI is Google's AI tool for the terminal. Point its requests at DataEyesAI with environment variables to use the Gemini models on our platform.

Before you begin#

Environment variableValue
GOOGLE_GEMINI_BASE_URLhttps://studio.dataeyes.ai (do not append /v1)
GEMINI_API_KEYYour Model API key, starting with sk-
GEMINI_MODELFor example gemini-3.8-flash, gemini-4-argon, gemini-3.1-pro-preview
NOTE
Gemini CLI uses the native Gemini protocol and can only call Gemini models.

1. Install#

Requires Node.js 20 or later.

2. Set environment variables#

macOS / Linux
Windows (PowerShell)
Windows (CMD)
These commands apply only to the current window. To make them permanent, add them to your system environment variables, or to ~/.zshrc or ~/.bashrc.

3. Start and verify#

Run the following in the same terminal window:
Because GEMINI_API_KEY is set, Gemini CLI skips Google account sign-in and opens the chat directly. Send "Hello, please introduce yourself"; a normal reply means the setup works.
You can also run a quick non-interactive test:

FAQ#

Invalid URL error (path contains /v1/v1beta)
Still asked to choose a sign-in method
Model not found
Previous
Cline
Next
Grok CLI