Skip to content

gemini-cli

Open source terminal coding agent for Google Cloud teams with Gemini Code Assist

Permissive (OSI) · Apache-2.0 AI-native

Listed by , founder & editor

72

Health

Active

Overview

Stars

109,045

Last commit

today

Nov 2026

Repository age

1 year

since Apr 2025

Latest version

v0.71.1

Nov 2026

Contributors

–

13 active in 90 days

Releases

7

last 12 months

Language

TypeScript

Gemini CLI is a terminal agent for working on code with Google Gemini models. You can use it to query and edit large codebases, and to generate apps from PDFs, images or sketches. It is written in TypeScript, licensed under Apache 2.0, and supports MCP.

The project is now aimed at organizations with Gemini Code Assist Standard or Enterprise licenses, or Code Assist for GitHub, on Google Cloud. Free individual access and Google AI Pro and Ultra plans have moved to Antigravity CLI. It is not tuned for the Gemini 4 series.

Install it with npx, npm, Homebrew, MacPorts or Conda. Preview, stable and nightly channels are available through npm tags.

It is a direct alternative to OpenAI Codex, but it works only with Google models and has no cloud background agents.

Who it's for

Google Cloud organizations with Code Assist licenses

The tool is maintained for those licenses and workflows.

Skip if: You use a free or Google AI Pro account, since those moved to Antigravity CLI.

Developers who work in the terminal

It can query and edit large codebases from the command line.

Skip if: You want to use models from other vendors.

The problem it solves

You want an AI agent that works on your code from the terminal, with source you can read. This one fits Google Cloud setups.

Strengths

  • Apache 2.0 license
  • Installs through npm, Homebrew, MacPorts, Conda or npx
  • Weekly preview and stable releases, plus nightly builds
  • MCP support
  • Active development with 14 contributors in 90 days

Trade-offs

  • Limited to Google Gemini models
  • Aimed at Code Assist enterprise licenses
  • No free tier or Google AI plan access
  • No cloud background agents

Self-host gemini-cli

Self-hostable
No (desktop or local app)

Quick start

npm install -g @google/gemini-cli

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is Gemini CLI free?

The code is Apache 2.0, but free individual access is no longer offered. Use requires a Code Assist license or a legacy paid API or Vertex key.

Can I self-host it?

No. It is a client for Google's models, not a self-hosted service.

How do I install it?

Use npx, npm, Homebrew, MacPorts or Conda.

Does it work with Gemini 4?

It is not tuned for the Gemini 4 series.

Similar tools in AI coding assistants

screenshot-to-code

AI coding assistants

AI tool that turns screenshots, mockups and recordings into HTML, React or Vue code

81k 10k 8 days ago Active MIT

FauxPilot

AI coding assistants

15k 635 3 years ago Dormant MIT

Happy

AI coding assistants

25k 2.1k yesterday Active MIT

mistral-vibe

AI coding assistants

5.5k 811 3 days ago Thriving Apache-2.0

Dyad

AI coding assistants

Desktop AI app builder that runs locally with your own API keys, for developers

22k 2.8k today Thriving Apache-2.0

Replaces Lovable