Gemini CLI
Gemini CLI is useful for large-context cloud analysis and agent-style workflows.
Requirements
geminiCLI installed.Authentication completed with
gemini auth login.
Setup
Install/verify the CLI from the official docs.
Authenticate:
gemini auth loginVerify locally:
gemini "hello"Configure in AI Backend settings tab.
Configuration
Setting
Value
Preferred Backend
gemini-cli
Gemini CLI Command
gemini --output-format text --model gemini-2.5-flash --yolo
Non-Interactive Mode
--yolo is used by default to avoid interactive approval prompts that can block embedded MCP workflows.
Windows
npm-installed CLI shims are resolved automatically on Windows. The extension detects .cmd siblings and uses them instead of shell script shims that Java cannot execute directly.
Troubleshooting
Related Pages
Last updated
