Gemini CLI: Who Can Use It and How to Start

Check which accounts still work with Gemini CLI, which models Google supports, and how to install the terminal agent or move a project to Antigravity CLI.

Published

Gemini CLI: Who Can Use It and How to Start

If you use Gemini through a personal Google account, start with Antigravity CLI. Google moved free individual access and Google AI Pro and Ultra subscribers there on June 18, 2026. Gemini CLI, Google's open-source terminal coding agent, still serves developers with an existing Gemini Code Assist license or a supported paid API key.

Gemini CLI vs Antigravity CLI: which account do you have?

Open Gemini CLI in a project folder and give it a task in plain language. It can read the files, run a shell command, inspect the result and use what it learns to make an edit. For example, when you ask where a failing test gets its sample data, the agent can follow references through the repository. You can use it locally or in Google Cloud Shell. Google Cloud’s Gemini CLI guide

Gemini CLI homepage with Google's notice for individual users
Gemini CLI

With a work account, ask your administrator whether you have an assigned Gemini Code Assist Standard or Enterprise license and which Google Cloud project to use. A company email address alone tells you neither. Google also preserved access for organizations using Gemini Code Assist for GitHub through Google Cloud and for developers already using paid Gemini API or Vertex AI credentials. Google’s account transition announcement

With a personal account, install Antigravity CLI and launch it with agy. Reinstalling gemini can give you a working command on your laptop, but it cannot restore the individual account’s access to the service. If you’re deciding which personal subscription to use, see the Antigravity plan breakdown.

For a new team, there’s a second cutoff. As verified on November 26, 2026, Google stopped selling new Code Assist Standard and Enterprise subscriptions on October 9. Existing contracts continue through their terms. Annual customers can auto-renew through January 31, 2027, and monthly customers through December 31, 2027. If your access comes bundled with an existing Gemini Enterprise subscription, its Code Assist entitlement lasts through March 31, 2027. Check which agreement your administrator holds before planning a rollout. Google Cloud’s subscription and renewal notice

Gemini CLI is included with eligible Code Assist licenses (an existing Standard seat is $19 per month on an annual commitment), and paid API keys are billed by usage. Google Cloud license pricing · API billing for Gemini CLI

How to install Gemini CLI and start in your project

Suppose you’ve joined a team with Code Assist and want to understand its application before changing anything. Open your terminal in the application’s repository. The folder selects the code the agent starts with. The Google Cloud project ID identifies the project you use for access.

  1. Check Node.js and install the command

    Google’s installation guide lists Node.js 20.0.0 or later. Check yours with node --version. Then install Google’s package with npm, the package manager for Node.js.

    Bash
    npm install -g @google/gemini-cli
  2. Set your Cloud project and start Gemini

    In macOS or Linux, replace YOUR_PROJECT_ID with the ID from your administrator. These are the work-license commands from Google’s repository.

    Bash
    export GOOGLE_CLOUD_PROJECT="YOUR_PROJECT_ID"
    gemini

    In Windows PowerShell, set the project with $env:GOOGLE_CLOUD_PROJECT="YOUR_PROJECT_ID", then run gemini.

  3. Use the account that holds the license

    Select Sign in with Google and finish in the browser with your licensed work account. If you opened the repository with a personal Google profile active in your browser, check the account shown before continuing. Google documents the paid-key and Vertex AI paths separately in its authentication guide.

Two stone steps engraved with npm install -g @google/gemini-cli and gemini
Install the package once. Start the agent from the folder you want it to read.

For a first task, try the repository’s own example from your shell after authentication. The -p flag sends a single prompt. An architecture question gives you an answer to check against the files before you ask the agent to change them.

Bash
gemini -p "Explain the architecture of this codebase"

Gemini CLI Plan Mode

When an explanation leads to an edit, type /plan followed by your goal inside the interactive session. For a failing test, ask which files would change and how to verify the fix. Read the proposed steps before approving implementation. That gives you a chance to spot a plan that changes expected behavior when the sample data is what needs fixing. Google’s interactive planning guide

Which Gemini models can you use?

For Code Assist, Google limits support to the Gemini 3.x family. The older general-purpose model guide lists Auto options for Gemini 3 Pro and Flash preview models and for Gemini 2.5 Pro and Flash. Inside the agent, /model shows the choices available to your account. Treat that menu as a selector and the Cloud subscription notice as the support policy. Google’s model selection guide

For Gemini 4 Argon, Google directs developers to Antigravity. The Gemini CLI project says its coding tools and instructions haven’t been tuned for the Gemini 4 series, so timings or scores from this agent would make a poor benchmark for those models. Google also makes a similarly named tool for scripts. Gemini API CLI (gemini-api) sends individual API requests. Choose it when your script supplies the input and needs a model response. Choose a coding agent when you want it to investigate a project across several steps.

Moving a project to Antigravity CLI

Antigravity CLI install

On Google’s download page, find Antigravity CLI, select your operating system and use the installer shown for your shell. Windows has separate PowerShell and Command Prompt instructions. If you want a graphical editor as well, the Antigravity and Cursor comparison covers that decision.

Google’s product page for the Antigravity terminal agent
Antigravity CLI

Antigravity CLI command for the first launch

Run agy from your project. If Antigravity finds your old Gemini configuration, it opens a checklist where you can choose which extensions and global settings to bring over. To import legacy extensions manually as plugins, run agy plugin import gemini. Google’s configuration migration guide

Keep project instructions such as GEMINI.md and AGENTS.md in place. Check project-specific skills, the reusable procedures stored alongside the code. Antigravity looks for those under .agents/skills/, while Gemini CLI used .gemini/skills/. If a teammate’s instructions still work but a shared skill seems to have disappeared, check that folder before rewriting the skill.

A fixed GEMINI.md beam spans two rooms while a skills folder moves from .gemini/skills/ to .agents/skills/
Project instructions keep their names. Project skills have a new home.

Gemini CLI vs Claude Code and other questions

Is the Gemini CLI outdated?

Google still maintains it for existing Code Assist workflows. The setup advice that aged out is signing in with a free personal account. For a new personal project on Google’s models, start with Antigravity CLI.

Is Gemini CLI a good tool?

Yes, if you already have eligible access and need an agent to explain a repository, plan a change or edit files from your terminal. For a new team choosing a tool it can license today, start with the terminal coding assistant alternatives. For installation instructions for one of those alternatives, see the OpenCode guide.

What is better, Claude Code or Gemini CLI?

Choose Gemini CLI if your repository work already runs under a supported Code Assist license.
Choose Anthropic’s Claude Code if you want to start a terminal task and continue the session from your phone.
For the workflow tradeoffs, read the side-by-side terminal comparison.

Choosing a tool for your next repository? Compare the best AI coding assistants for your workflow.

Published
Category
Build
Related Articles
Open Source AI Platforms in 2026: Ollama, LibreChat, Dify and 7 More

Open Source AI Platforms in 2026: Ollama, LibreChat, Dify and 7 More

Compare Ollama, LibreChat, Dify and seven more by licence, hosting effort and model costs. Choose the right layer for your company’s AI stack.Nov 26, 2026Build
Claude PR Steward

Claude PR Steward

See what Claude PR Steward does to one pull request, how to start it manually, where to cap spend, and which GitHub rules protect your merge.Nov 25, 2026Build
LibreChat: What It Is, What It Costs, and How to Start

LibreChat: What It Is, What It Costs, and How to Start

See who maintains LibreChat, which models it connects to, where conversations go, and how to get from a local Docker install to your first reply.Nov 25, 2026Build
Google AI Studio Text to Speech: Make a Voice-Over and a Dialogue

Google AI Studio Text to Speech: Make a Voice-Over and a Dialogue

Make a one-minute narration and a two-speaker dialogue in the Speech Playground. Choose voices, direct the delivery and download the audio or save a WAV.Nov 25, 2026Build
OpenAI API Key for Your First App: ChatGPT Credits and Setup

OpenAI API Key for Your First App: ChatGPT Credits and Setup

Create a project key, check whether your ChatGPT plan includes API credits, and send a first Python request. Find the right fix for 401 and 429 errors.Nov 25, 2026Build
OpenCode: What It Is, What It Costs, and How to Start

OpenCode: What It Is, What It Costs, and How to Start

How OpenCode works in your repository, which models and subscriptions it accepts, and how to start a terminal session with a question about your code.Nov 25, 2026Build
Shirudo: Shield a Running Linux Service Before the Patch Lands

Shirudo: Shield a Running Linux Service Before the Patch Lands

OpenAI and Cisco's Shirudo loads signed eBPF shields into running Linux to block an exploit's path before the patch. How it works and how to try it.Nov 25, 2026Build
Claude Approvals: Who Has to Sign Off on a Pull Request?

Claude Approvals: Who Has to Sign Off on a Pull Request?

Start Claude Approvals in observe mode, read the check, keep automatic Code Reviews running, and require a human sign-off on sensitive changes.Nov 25, 2026Build
Newsletter

One letter, every Sunday.Working systems, not hot takes.

Weekly. No spam. Unsubscribe anytime.