Navigate:
Gemini CLI
~$GEMI1.2%

Gemini CLI: Terminal interface for Google Gemini API

CLI for Google Gemini AI with text, image, and multimodal interactions from terminal.

LIVE RANKINGS • 09:03 AM • STEADY
TOP 25TOP 25TOP 25TOP 25TOP 25TOP 25TOP 25TOP 25TOP 25TOP 25TOP 25TOP 25
OVERALL
#15
2
DEVELOPER TOOLS
#3
30 DAY RANKING TREND
ovr#15
·Devel#3
STARS
95.8K
FORKS
11.7K
7D STARS
+1.2K
7D FORKS
+488
See Repo:
Share:

Learn more about Gemini CLI

Gemini CLI is a command-line tool that provides direct access to Google's Gemini AI models through an efficient terminal interface. Built for developers who prefer working in the command line, it supports text generation, multimodal inputs including images and documents, streaming responses, and conversation history management. The CLI wraps the Gemini API with intelligent configuration management, supporting multiple API keys, custom model selection, and session persistence. It's designed for rapid prototyping, automation scripts, and integrating Gemini's capabilities into development workflows. The tool supports both interactive and non-interactive modes, making it suitable for shell scripting, pipeline integration, and interactive AI-assisted development tasks.

Gemini CLI

1

Native Terminal Experience

Interact with Gemini AI without leaving your terminal environment. The CLI provides a streamlined, keyboard-driven interface with syntax highlighting, streaming responses, and conversation history. Perfect for developers who live in the command line and want instant AI assistance without context switching to web browsers or separate applications.

2

Multimodal Input Support

Process text, images, PDFs, and other file formats directly from the command line. Simply reference files in your prompts and Gemini CLI handles the multimodal context automatically. This enables powerful use cases like analyzing screenshots, processing documents, reviewing code with visual diagrams, and combining multiple data sources in a single query.

3

Scriptable and Pipeable

Integrate Gemini AI into shell scripts, CI/CD pipelines, and automation workflows with full support for stdin/stdout piping and non-interactive batch processing. Chain commands together, process files in bulk, or create custom automation scripts that leverage Gemini's intelligence. Exit codes and output formatting are designed for reliable programmatic usage.


import { GeminiCore } from '@google/gemini-cli/core';

const core = new GeminiCore();
const fileContent = await core.executeTool('read_file', {
  path: './data/report.txt'
});
console.log(fileContent);


vv0.29.0-nightly.20260206.4ffc349c1

Nightly release with admin allowlists for MCP servers and enhanced plan mode functionality.

  • Implement admin allowlist for MCP server configurations
  • Add retry logic for transient SSL/TLS errors
  • Add support for /extensions config command
  • Correct docs as skills and hooks are stable
vv0.28.0-preview.5

Patch release fixing issues from the previous preview version.

  • Cherry-pick fix to patch version v0.28.0-preview.4
vv0.28.0-preview.4

Patch release fixing issues from the previous preview version.

  • Cherry-pick fix to patch version v0.28.0-preview.3

See how people are using Gemini CLI

Loading tweets...


[ EXPLORE MORE ]

Related Repositories

Discover similar tools and frameworks used by developers