google-gemini/gemini-cli

Published on Oct 3, 2026
★ 108.7k TypeScript Apache-2.0

Pipe shell commands and codebase context directly into Gemini

Stop copying terminal logs into web browser AI chats.

Switching to browser AI chats breaks your command line focus.

First, tab-switching to browser windows to analyze logs or format JSON files breaks your terminal workflow and leaks sensitive session context.

Browser context switching · Disconnected from shell pipes

Pipe command output straight into Gemini for instant explanation and debugging.

Second, Gemini CLI treats AI as a standard Unix pipe. Feed build failures, log streams, or git diffs directly through standard in.

Unix pipe interface · Standard stream processing

Leverage a massive one-million token window to analyze entire project repos.

Third, with Gemini's massive 1 million token context window, you can ingest entire architectural documents, schemas, and test suites in a single prompt.

1M token context window · Full repository ingestion

Format responses into markdown, streaming shell commands, or JSON data.

Fourth, pipe responses directly into other terminal utilities like jq or bat, generating automated migrations and shell scripts on the fly.

Pipeline integration · Direct JSON and shell piping

Over one hundred thousand stars. Open source under Apache 2.0.

Gemini CLI has over 100,000 stars on GitHub, completely open source under the Apache 2.0 license.

gemini-cli · Apache-2.0 · 105k stars · TypeScript