Skip to content

Gemini CLI

Gemini CLI is an open source command line AI agent from Google, released under the Apache 2.0 license. On 18 June 2026 Google replaced it with Antigravity CLI for free tier, Google AI Pro and Google AI Ultra users. Enterprise customers and people with paid Gemini API keys keep access, and the repository stays public.

By GoogleOpen sourceSince 2025AI Coding Tools

Facts checked on against the sources listed at the end of this page.

Newer version available. Google announced on 19 May 2026 that Gemini CLI would transition to Antigravity CLI. From 18 June 2026 free tier, Google AI Pro and Google AI Ultra users and Gemini Code Assist IDE extension users lost access. Enterprise Code Assist licenses, Google Cloud projects and paid API keys still work. See Google Antigravity.

Pricing
Open sourceFree plan: No longer for consumers: free tier access ended on 18 June 2026.
Open source
YesApache-2.0
GitHub stars
108,555
npm downloads a week
448kup 2% on the week before
Releases in 90 days
1about 1 a month

A good fit for

  • Enterprise teams with Gemini Code Assist Standard or Enterprise licenses
  • Developers with a paid Gemini API key who want an open source terminal agent
  • Anyone who wants to fork or study an Apache 2.0 terminal agent

Not a good fit for

  • Free tier users: access ended on 18 June 2026
  • Google AI Pro and Ultra subscribers: they were moved to Antigravity CLI
  • Teams that want active feature development: Google's focus is on Antigravity CLI, which is closed source

Gemini CLI pricing

The software is free and open source. Access to models depends on your account: free tier and Google AI Pro and Ultra access ended on 18 June 2026, and paid Gemini API keys or enterprise licenses still work. Check the Google plans page for current terms.

PlanPriceWhat you get
Free tier (ended)Ended 18 June 2026The README listed 60 requests a minute and 1,000 requests a day with Google sign-in before the transition.
Paid Gemini API key or enterprise licenseVaries by planContinued access for enterprise Gemini Code Assist licenses, Google Cloud projects and paid API keys.

Prices in USD, checked on 6 October 2026. Current prices on geminicli.com.

Main features

Google Search grounding
Built-in tool that grounds answers in web search results.
File and shell tools
Reads and edits files, runs shell commands and fetches web pages.
MCP extensibility
Connects to Model Context Protocol servers.
Multimodal input
Works with code, images and PDFs.
Checkpointing and caching
Saves conversation checkpoints and supports token caching.
GitHub Action
A companion Action automates GitHub workflows.

About Gemini CLI

Gemini CLI is a terminal-first agent that connects to Gemini models. It has built-in tools for Google Search grounding, file operations, shell commands and web fetching, supports MCP servers, and handles code, images and PDFs.

In an announcement posted on 19 May 2026, Google said it is unifying its agent-first development tools under the Antigravity platform. The new Antigravity CLI is built in Go and is proprietary, while the Gemini CLI repository remains public under Apache 2.0.

Per that announcement, Google will keep maintaining Gemini CLI with updates for enterprise customers, though development focus has moved to Antigravity.

Made by
Google
Launched
2025
Free plan
No longer for consumers: free tier access ended on 18 June 2026.
Available on
Command line

Usage and activity

Weekly npm downloads of @google/gemini-cli, last 12 months.

200k400k600k800k1MSepNovJanMarMayJulOct24 September 2025: 772,855 downloads a week1 October 2025: 231,684 downloads a week8 October 2025: 240,310 downloads a week15 October 2025: 262,942 downloads a week22 October 2025: 228,568 downloads a week29 October 2025: 265,641 downloads a week5 November 2025: 348,310 downloads a week12 November 2025: 307,198 downloads a week19 November 2025: 467,381 downloads a week26 November 2025: 457,602 downloads a week3 December 2025: 354,008 downloads a week10 December 2025: 408,734 downloads a week17 December 2025: 394,242 downloads a week24 December 2025: 406,328 downloads a week31 December 2025: 294,530 downloads a week7 January 2026: 307,054 downloads a week14 January 2026: 376,948 downloads a week21 January 2026: 536,490 downloads a week28 January 2026: 587,102 downloads a week4 February 2026: 530,671 downloads a week11 February 2026: 748,926 downloads a week18 February 2026: 560,593 downloads a week25 February 2026: 797,591 downloads a week4 March 2026: 727,847 downloads a week11 March 2026: 633,252 downloads a week18 March 2026: 833,712 downloads a week25 March 2026: 648,396 downloads a week1 April 2026: 769,350 downloads a week8 April 2026: 631,723 downloads a week15 April 2026: 890,168 downloads a week22 April 2026: 840,385 downloads a week29 April 2026: 882,631 downloads a week6 May 2026: 798,042 downloads a week13 May 2026: 797,427 downloads a week20 May 2026: 652,185 downloads a week27 May 2026: 653,369 downloads a week3 June 2026: 769,028 downloads a week10 June 2026: 789,842 downloads a week17 June 2026: 578,096 downloads a week24 June 2026: 557,008 downloads a week1 July 2026: 433,141 downloads a week8 July 2026: 418,851 downloads a week22 July 2026: 494,450 downloads a week29 July 2026: 488,996 downloads a week5 August 2026: 382,271 downloads a week12 August 2026: 410,574 downloads a week26 August 2026: 422,080 downloads a week2 September 2026: 403,436 downloads a week28 September 2026: 437,794 downloads a week5 October 2026: 448,493 downloads a week

Recent releases

Gemini CLI alternatives

Getting started

  1. Install with npm (works only with an account type that still has access).

    npm install -g @google/gemini-cli

Questions about Gemini CLI

Is Gemini CLI shutting down?

Not entirely. Google replaced it with Antigravity CLI for free tier, Google AI Pro and Ultra users on 18 June 2026. The open source repository remains and enterprise and paid API key users keep access.

What replaced Gemini CLI?

Antigravity CLI, a Go-based proprietary command line agent under Google's Antigravity platform.

Is Gemini CLI still open source?

Yes. The repository remains public under the Apache 2.0 license.

Is Gemini CLI free?

The software is free, but the free model access tier ended for individual users on 18 June 2026.

Who can still use Gemini CLI?

Enterprise customers with Gemini Code Assist Standard or Enterprise licenses, organizations using Google Cloud projects and users with paid Gemini API keys.

Sources and links

Work on Gemini CLI? Claim this listing. Something wrong or out of date? Suggest a correction. Stats come from the public GitHub and npm APIs and update every day.

Gemini CLI: pricing, features and alternatives (2026) | ScratchDB