Gemini CLI
Maintained by Google
Google's open source terminal agent for Gemini models, now maintained for organisations using Gemini Code Assist on Google Cloud.
Note
Catalogue only
Overview
Gemini CLI is an open source, Apache 2.0 licensed terminal agent from Google that brings Gemini models into the command line. It can query and edit large codebases, run shell commands, read and write files, fetch and search the web, and use multimodal input such as images and PDFs. It reads persistent project context from GEMINI.md files, can be extended with MCP servers, and can run non-interactively in scripts. Its role changed on 18 June 2026: Google now maintains Gemini CLI for organisations with Gemini Code Assist Standard or Enterprise licences or Code Assist for GitHub on Google Cloud, plus existing paid Gemini API and Vertex AI keys. Free individual access and Google AI Pro and Ultra subscribers moved to Google's Antigravity CLI, and Google states that Gemini CLI is not tuned for the Gemini 4 model series. Check that your account type is still supported before choosing it.
What it does
- Queries and edits large codebases from natural-language prompts in the terminal.
- Uses built-in tools for file operations, shell commands, web fetch and web search.
- Reads persistent project context from GEMINI.md files.
- Connects to MCP servers for additional tools.
- Accepts multimodal input such as images, PDFs and sketches.
- Runs non-interactively in scripts for workflow automation.
Suitable use cases
- Terminal-based coding assistance in organisations licensed for Gemini Code Assist
- Automating repository tasks such as querying pull requests or working through rebases
- Studying how a terminal agent uses tools, context files and MCP servers
Prerequisites
- A Gemini Code Assist Standard or Enterprise licence or Code Assist for GitHub on Google Cloud, a paid Gemini API key, or Vertex AI access
- Node.js 20 or later
- macOS 15 or later, Windows 11 24H2 or later, or Ubuntu 20.04 or later, with at least 4 GB of RAM
- An internet connection, from a location Gemini Code Assist supports
Limitations
- Since 18 June 2026, free individual users and Google AI Pro and Ultra subscribers are directed to Antigravity CLI instead.
- Google states it is not tuned for the Gemini 4 model series or later generations.
- Code, prompts and command output are sent to Google for processing.
- It can edit files and run shell commands, so its changes need human review.
Authentication
You sign in inside the tool. Code Crushers never sees these credentials.
- Sign in with an account or plan at a model provider
- Use a model-provider API key
Sign in with a Google account, which for a paid Code Assist licence from an organisation also needs a Google Cloud project. Alternatively use a Gemini API key from Google AI Studio, or Vertex AI with Google Cloud application default credentials, a service account key or a Google Cloud API key. Free and Google One accounts are directed to Antigravity CLI. Code Crushers never collects or stores these credentials.
Model usage
Charged separately from Code Crushers credits
Model usage is billed by Google: through your organisation's Gemini Code Assist licence, your Gemini API account, or your Google Cloud billing account for Vertex AI. Code Crushers credits pay only for lab infrastructure and never pay for model usage.
