Gemini CLI is Google’s official command-line AI tool, allowing you to interact with Gemini models directly from your terminal. By configuring the OpenAI-compatible mode, you can easily connect it to ePhone AI.Documentation Index
Fetch the complete documentation index at: https://docs.rixapi.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Installation
Make sure you have Python 3.9+ installed:Configuration & Launch
Gemini CLI can be configured via environment variables.Mac / Linux (zsh)
Mac / Linux (zsh)
Windows (PowerShell)
Windows (PowerShell)
Start Interactive Mode
Key Features
| Feature | Description |
|---|---|
| Interactive Chat | Enter questions directly in the terminal, and Gemini CLI will return real-time answers |
| Pipeline Input | Supports piping code or logs to Gemini CLI for analysis |
| File Reading | Can read local file contents as context |
Usage Examples
Analyze a Code File
Quick Query
Gemini CLI defaults to the Google official API. By setting the
OPENAI_API_BASE environment variable, it seamlessly switches to ePhone AI’s compatible interface.