# Gemini CLI: how to install it, and who can still use it

Gemini CLI now needs a paid API key, Vertex AI or a company license; personal accounts moved to Antigravity CLI. Inside: install steps and costs for both.

Tool: Gemini. By Julien Lieben. Updated 2026-11-28. Source: https://coldiq.com/university/gemini/gemini-cli

## In short

- Gemini CLI is Google’s open source AI agent for the terminal (the window where you type commands). Its code is public under the Apache 2.0 license.
- Since June 18, 2026, Gemini CLI no longer serves personal accounts: the free tier, Google AI Pro and Google AI Ultra. Google moved them to Antigravity CLI.
- Gemini CLI still works with a paid Gemini API key, with Vertex AI (Google Cloud), or with a company license of Gemini Code Assist Standard or Enterprise.
- Antigravity CLI is installed with one command and started by typing agy. Its Individual plan costs $0, with a quota that refreshes every week.
- Google says Gemini CLI is not tuned for its Gemini 4 models, so use Antigravity CLI for those.

## Steps

1. Personal Google account: install Antigravity CLI, then type agy.
2. Paid API key, Vertex AI or company license: install Gemini CLI, then type gemini.
3. Open a test folder and ask for one small task.

## What is Gemini CLI?

A CLI (command line interface) is a program you use by typing. Gemini CLI puts Gemini in that window. It can read the files of a folder, change them, and run commands for you.

It was built for developers. Yet it is handy for anyone with a messy folder: exports to clean, notes to sort, a small web page to fix.

It has a plan mode (read only), extensions, skills, subagents, hooks (your own scripts that run at set moments) and MCP servers (a common way to plug outside tools into an AI).


## Can you still use Gemini CLI for free?

Not with your Google login. Google announced the change on May 19, 2026, and on June 18, 2026 Gemini CLI stopped answering personal accounts. That covers the free tier, Google AI Pro and Google AI Ultra. “Login with Google” fails for these accounts.

If a tutorial promises 1,000 free requests a day with your Google account, it was written before that date. Some tables in Google’s own docs still show those old numbers, under a notice that says the tool was replaced for these users.

- Personal account, free or Google AI plan: use Antigravity CLI.
- Paid Gemini API key: Gemini CLI works, and usage is billed by the API.
- Vertex AI on Google Cloud: Gemini CLI works, paid by use.
- Company license (Code Assist Standard or Enterprise): Gemini CLI works as before.


## How do you install Antigravity CLI?

This is the path for most readers. The command is agy.

1. On Mac or Linux, open the terminal and paste: curl -fsSL https://antigravity.google/cli/install.sh | bash
2. On Windows, open PowerShell and paste: irm https://antigravity.google/cli/install.ps1 | iex
3. Open a new terminal window and type agy --version. A number means it worked.
4. Create a test folder, move into it, and type agy.
5. Sign in with your Google account in the browser page that opens.
6. Pick a color scheme, and confirm that you trust the folder.
7. Type your task. Press Y to approve a file, and /diff to see the changes.

Tip: These installers come from antigravity.google. Copy the command from Google’s own page, because look-alike installers exist for every popular tool.


## How do you install Gemini CLI?

You need Node.js 20 or later (a free program that runs JavaScript tools). Google lists macOS 15 or later, Windows 11 24H2 or later, or Ubuntu 20.04 or later, with 4 GB of memory for light use.

- With npm: npm install -g @google/gemini-cli
- With Homebrew, on Mac or Linux: brew install gemini-cli
- To try it without installing: npx @google/gemini-cli
- To update: npm install -g @google/gemini-cli@latest
- Then create a key in Google AI Studio and set it: export GEMINI_API_KEY="YOUR_KEY" on Mac and Linux, or $env:GEMINI_API_KEY="YOUR_KEY" in PowerShell.
- Type gemini, then choose “Use Gemini API key”, or Vertex AI if your company uses Google Cloud.

Tip: An API key is a password that can spend money. Never paste it in a chat or a shared file. Set a spend cap in AI Studio before you start.


## How much does Gemini CLI cost?

The program is free. You pay for the model that answers, and the price depends on how you sign in. Prices are as of November 2026.

- Gemini API key, free tier: one Google page lists 250 requests per day on Flash models, but Google’s announcement speaks of paid keys. Do not plan on it.
- Gemini API key, paid: per token (a piece of a word), at the API prices. For example, gemini-3.8-flash costs $0.75 per million tokens in and $3.75 out.
- Code Assist Standard or Enterprise: a fixed price per seat, with 1,500 or 2,000 requests per user per day.
- Antigravity CLI, Individual plan: $0, with a baseline quota refreshed weekly.
- Antigravity CLI with Google AI Pro ($19.99 a month) or Ultra (from $99.99): higher quotas, refreshed every 5 hours, up to a weekly limit.
- Antigravity for a company: $0 seat fee with pay as you go, or from $30 per seat a month.


## How do you move from Gemini CLI to Antigravity CLI?

Start agy once. It finds your old setup and offers to convert it. You can also run agy plugin import gemini yourself.

- Your GEMINI.md and AGENTS.md files (standing instructions) need no change.
- Move the skills of a project from .gemini/skills/ to .agents/skills/, or the agent will not see them.
- Move MCP servers out of settings.json into mcp_config.json.
- For remote MCP servers, rename the url or httpUrl key to serverUrl.
- Expect some gaps: Google says the two tools do not have the same features yet, and some themes do not carry over.


## What can a sales or marketing team do with it?

Give it a folder and a clear result. Work on a copy, and read the changes before you keep them.

- Merge three event exports, remove duplicates and flag missing emails.
- Turn 30 call notes into one table: company, problem, next step.
- Rename 200 product photos by a rule.
- Build a one-page site for an offer and open it in the browser.
- Plug in a data source by MCP. ColdIQ has a server (https://mcp.coldiq.com/mcp) that brings leads and verified emails into the session.


## Command

```
curl -fsSL https://antigravity.google/cli/install.sh | bash
```

## What to say

> Read the CSV files in this folder. Merge them into one file called leads-clean.csv, remove duplicates by email, fix the capital letters in names, and tell me how many rows you removed and why. Do not change the original files.

## Sources

- [Transitioning Gemini CLI to Antigravity CLI](https://developers.googleblog.com/an-important-update-transitioning-gemini-cli-to-antigravity-cli/)
- [Gemini CLI repository](https://github.com/google-gemini/gemini-cli)
- [Gemini CLI: installation](https://geminicli.com/docs/get-started/installation/)
- [Gemini CLI: quotas and pricing](https://geminicli.com/docs/resources/quota-and-pricing/)
- [Antigravity: get started](https://antigravity.google/docs/getting-started?tab=cli)
- [Antigravity: migrate from Gemini CLI](https://antigravity.google/docs/cli/gcli-migration)
- [Antigravity pricing](https://antigravity.google/pricing)
- [Gemini API pricing](https://aistudio.google.com/docs/pricing)

## Questions

**Is Gemini CLI discontinued?** For personal accounts, yes, since June 18, 2026. It continues for company licenses, paid API keys and Vertex AI.

**What replaced Gemini CLI?** Antigravity CLI, started with the command agy. It shares its engine with Google’s Antigravity desktop app.

**Does Gemini CLI work with Google AI Pro?** No longer. Google AI Pro and Ultra subscribers use Antigravity CLI instead, with higher quotas than the free plan.

**Is Gemini CLI open source?** Yes, under the Apache 2.0 license, at github.com/google-gemini/gemini-cli.

**Does Google Workspace include Gemini CLI?** Gemini for Workspace plans cover Google’s web products, not the API behind Gemini CLI. Workspace AI Ultra Access is the one Workspace tier Google lists for it. Companies use a Code Assist license, an API key or Vertex AI.


## Related

- [How to get a Gemini API key](https://coldiq.com/university/gemini/gemini-api-key)

## Try ColdIQ free

ColdIQ gives new accounts up to 1,450 free credits as they get started, no credit card required.
One subscription covers 40+ B2B data providers for finding, enriching and verifying
contacts and companies, through the web app, the API or the MCP server for AI agents.

1. Create an account: https://coldiq.com/marketplace/sign-up?utm_source=ai-assistant&utm_medium=markdown&utm_content=university
2. Run a first search on your own market with the free credits.
3. Connect the MCP server to Claude, ChatGPT or Cursor: https://coldiq.com/mcp
