# Gemini CLI

> Google's coding agent for the terminal. Now it is mostly for teams that pay.

**Field:** Artificial Intelligence  
**Category:** AI Tools & Platforms  
**Also known as:** Google Gemini CLI, gemini command

## Think of it like

It is like a helper in your terminal. You type what you want, and it does the typing.

## Definition

Gemini CLI is Google's open source coding agent for the terminal. You start it by typing gemini in a project folder. It reads your files, edits code and runs commands. In June 2026, Google moved free and home users to the Antigravity CLI. Now it is for teams on a paid Gemini Code Assist plan.

## Example

A bank's dev team runs gemini inside their repo. They ask it to explain an old module, and it reads the files and answers.

## Example code

```bash
npm install -g @google/gemini-cli
gemini
```

Install it once with npm, then type gemini in a project folder.

## Why it matters

It was one of the first big free coding agents, so many guides still mention it. Who it is for has changed.

## Common mistake

Using it at home today. Free users now get the newer agy tool instead.

## Three principles

- **In the terminal.** Type gemini in your project.
- **Open source.** The code is free to read.
- **For business teams.** Personal users moved to Antigravity.

## Related terms

- [Google Antigravity](https://learn.benibix.com/term/ai/google-antigravity)
- [OpenAI Codex](https://learn.benibix.com/term/ai/openai-codex)
- [Claude Code](https://learn.benibix.com/term/ai/claude-code)
- [Aider](https://learn.benibix.com/term/ai/aider)
- [Terminal](https://learn.benibix.com/term/infrastructure/terminal)

## Told apart from

- [Gemini CLI vs Google Antigravity](https://learn.benibix.com/compare/gemini-cli-vs-google-antigravity): People think Gemini CLI is how anyone codes with Gemini in a terminal, and it is not. Since June 2026, free and home users get the Antigravity CLI instead. Gemini CLI stays for teams that pay for Gemini Code Assist. Pick by your plan, not by the name.

## Taught in

- [Codex, Gemini CLI and Aider](https://learn.benibix.com/learn/ai-ai-tools/codex-gemini-cli-and-aider): AI Apps and Tools, 7/10

![Three columns. Left: a whole code editor built around AI, with Cursor, Devin Desktop and Google Antigravity. Middle: a normal editor with an AI add-on in its side panel, with GitHub Copilot and Cline. Right: a terminal window where an agent edits files, with OpenAI Codex, Gemini CLI and Aider.](https://learn.benibix.com/diagrams/ai6-coding-tools.svg)

---

Source: https://learn.benibix.com/term/ai/gemini-cli
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
