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
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.