Gemini CLI
Requirements
Setup
gemini auth logingemini "hello"Configuration
Setting
Value
Notes
Notes
Windows
Troubleshooting
Related Pages
Last updated
Gemini CLI is useful for large-context cloud analysis and agent-style workflows.
gemini CLI installed.
Authentication completed with gemini auth login.
Install/verify the CLI from the official docs.
Authenticate:
gemini auth loginVerify locally:
gemini "hello"Configure in AI Backend settings tab.
Preferred Backend
Gemini CLI
Gemini CLI Command
gemini --output-format text --model gemini-2.5-flash --yolo
--yolo is used by default to avoid interactive approval prompts that can block embedded MCP workflows.
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.
command not found: use full executable path if needed.
Windows: npm shim paths are resolved automatically. If auto-resolution fails, use the full .cmd path: C:\\Users\\<you>\\AppData\\Roaming\\npm\\gemini.cmd.
ModelNotFoundError / RESOURCE_EXHAUSTED: choose available model and update --model.
Auth errors: re-run gemini auth login.
Last updated
