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 variable | Value |
|---|
GOOGLE_GEMINI_BASE_URL | https://studio.dataeyes.ai (do not append /v1) |
GEMINI_API_KEY | Your Model API key, starting with sk- |
GEMINI_MODEL | For example gemini-3.8-flash, gemini-4-argon, gemini-3.1-pro-preview |
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#
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#