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

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
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.
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.Bashnpm install -g @google/gemini-cliSet your Cloud project and start Gemini
In macOS or Linux, replace
YOUR_PROJECT_IDwith the ID from your administrator. These are the work-license commands from Google’s repository.Bashexport GOOGLE_CLOUD_PROJECT="YOUR_PROJECT_ID" geminiIn Windows PowerShell, set the project with
$env:GOOGLE_CLOUD_PROJECT="YOUR_PROJECT_ID", then rungemini.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.

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.
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.
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.

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









