google-gemini/gemini-cli
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.
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.
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.
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.
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.