← Back to registry

Gemini CLI ai

Google's AI assistant in your terminal

Gemini CLI brings Google’s Gemini AI models to the command line. Send prompts, have interactive chats, and generate content directly from your terminal.

Features

Install

npm: npm install -g @anthropic-ai/gemini-cli
npx: npx @google/gemini-cli

Commands

CommandSyntaxDescription
prompt gemini 'your prompt here' Send a one-off prompt to Gemini
chat gemini chat Start an interactive chat session
generate gemini generate --type code 'build a REST API' Generate content with type hints

Links

Agent Usage Example

Use cases:

Example workflow:

cat README.md | gemini 'Summarize this project in 3 bullet points'