All apps/Gemini CLI

Gemini CLI

gemini-cli

Gemini CLI brings the power of Gemini models directly to your terminal.

Runs as gemini|macOS, Linux, Windows|github.com

Command form

ai-draft · 2 tasks · 4 fields

Start Gemini CLI interactively or send a single prompt non-interactively. Sandbox, approval and extension options are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui gemini-cli
Run GeminiExample values, fixed in this page — nothing here reaches a terminal
Basic
Prompt (non-interactive)*
string
Model
string
Output format
2 choicesenum
TasksEach one presets the form for one job
Ask once
promptmodeloutput_format
Interactive session
modelinclude_directories
ParametersOnly these flags are editable in the form
Prompt (non-interactive)
Run once with this prompt and exit. Leave empty for the interactive session.
string
-p
Model
string
-mgemini-2.5-flash
Output format
Used with a prompt for scripting.
enum
--output-formatjsonstream-json
Extra directories
Comma-separated directories to include in the workspace.
string
--include-directories
SourcesEvery flag above is checked against these
readme
gemini --include-directories ../lib,../docs gemini -m gemini-2.5-flash gemini -p "Explain the architecture of this codebase" gemini -p "Explain the architecture of this codebase" --output-format json gemini -p "Run tests and deploy" --output-format stream-json
help2026-10-27

github.com

Before it fills your prompt, Otty checks the installed gemini against its version. A form that does not match your version is not offered.