Gemini CLI Is Gone: How to Move to Antigravity CLI
Who lost Gemini CLI, what carries over to Antigravity CLI, and the exact steps to move your skills, extensions and MCP servers.

Key takeaways
- Since June 18, 2026, Gemini CLI no longer serves Google AI Pro, Ultra or free Code Assist for individuals users.
- Business licences and paid Gemini API keys can keep using Gemini CLI.
- Antigravity CLI keeps skills, hooks, subagents and extensions (now plugins), but not every Gemini CLI feature.
- Install it, run agy, then agy plugin import gemini; move .gemini/skills to .agents/skills and check your MCP config.
Google has replaced Gemini CLI with Antigravity CLI. Since June 18, 2026, Gemini CLI no longer serves requests for people who sign in with Google AI Pro, Google AI Ultra or the free Gemini Code Assist for individuals. To keep working in the terminal, install Antigravity CLI, run agy, sign in with Google and import your old setup. Business licences and paid API keys are not affected.
Below: what changed, what carries over, the exact migration steps, and the alternatives if you would rather leave.
What changed and who it affects
Google announced the switch on May 19, 2026 in a post on the Google Developers Blog. The reason it gives: developers now run several agents that split up work, so Google is putting its terminal tool on the same agent engine as Antigravity 2.0, its desktop agent app.
- Google AI Pro and Ultra subscribers, and free Code Assist for individuals users: Gemini CLI and the Gemini Code Assist IDE extensions stopped serving requests on June 18, 2026.
- Gemini Code Assist for GitHub, outside Google Cloud: no new installs from June 18, and requests stop being served in the weeks after.
- Organizations on Gemini Code Assist Standard or Enterprise, or Code Assist for GitHub through Google Cloud: nothing changes. Google says it will keep updating Gemini CLI for them.
- Developers with a paid API key: Gemini CLI "will remain accessible via paid Gemini and Gemini Enterprise Agent Platform API keys".
What carries over, and what doesn't
Google's post is direct: "there won't be 1:1 feature parity right out of the gate". It names four features that made the move: Agent Skills, Hooks, Subagents and Extensions, with extensions now called Antigravity plugins. It also lists what is new:
- Written in Go, which Google says makes it faster and more responsive.
- Background agents. Several agents can work on a big refactor or research task without locking your terminal. Type
/agentsto watch them. - One engine and shared settings with Antigravity 2.0. Permissions you set in the desktop app apply in the CLI, and you can open a CLI conversation in the app from the
@conversationmenu.
What may not survive: the migration guide warns of "partial parity", and says custom terminal themes and experimental visual overlays may not carry over. It gives no file-for-file mapping for settings.json, and custom commands are converted into skills rather than kept as commands. Check your favourite workflows after the import.
How to install Antigravity CLI and sign in
The commands below are from Google's Antigravity CLI repository and codelab.
- Install it. On macOS or Linux:
On Windows PowerShell:curl -fsSL https://antigravity.google/cli/install.sh | bashirm https://antigravity.google/cli/install.ps1 | iex - Check it worked with
agy --version. The installer addsagyto your PATH, or tells you what to do if it can't. - Open a terminal in your project folder and run
agy. - Pick a sign-in method: Google sign-in in your browser, or a Google Cloud project. Over SSH, the CLI prints a link you open on your own computer.
- Choose a colour scheme, accept the terms and confirm that you trust the folder.
Which models you get depends on your plan. Google's launch posts list Gemini 4 Neon and Gemini 4 Hydrogen for paid Google AI Pro and Ultra subscribers in the app, the CLI and the IDE extensions, and Gemini 4 Carbon for Ultra. Antigravity's docs also describe a free tier. Check the Antigravity pricing page for current quotas.
Migrate GEMINI.md, extensions, skills and MCP servers
- Accept the first-run checklist. When
agyfinds an old Gemini CLI setup, it offers to convert extensions and global settings, move your sign-in into the system keyring, and map display settings to the new profile. - Import extensions as plugins. Run:
It scans your old folders and converts each extension. Extension commands become skills, and MCP server definitions move intoagy plugin import geminimcp_config.json. - Leave GEMINI.md alone. The agent still reads
GEMINI.mdandAGENTS.mdin your project and the global~/.gemini/GEMINI.md. - Move workspace skills. Rename or move each project's
.gemini/skills/folder to.agents/skills/. Global skills in~/.gemini/skills/keep working. - Check MCP servers. Global servers now live in
~/.gemini/config/mcp_config.jsonand project servers in.agents/mcp_config.json. For remote servers, rename the oldurlorhttpUrlkey toserverUrl:{ "mcpServers": { "docs": { "serverUrl": "https://example.com/mcp" } } } - Run a real task and type
/configto review tool permissions before you let it run unattended.
New to MCP? Our MCP explainer covers what those config entries do.
Alternatives if you don't want Antigravity
- Keep Gemini CLI with a paid API key. Google says this still works. You pay per token from your Google AI Studio or Google Cloud billing instead of a subscription.
- Use a Gemini API key in another tool. The Gemini API serves
gemini-4-carbon,gemini-4-neonandgemini-4-hydrogen, so any agent that accepts a Gemini key can use the newest models. - Claude Code. Anthropic's agent, included with paid Claude plans. Your
AGENTS.mdcarries over; see CLAUDE.md and AGENTS.md. - Codex. OpenAI's agent, included with ChatGPT plans, in the terminal, an IDE extension or the Codex app.
- Grok Build. xAI's agent, now merged with Cursor. Its terminal app can import Claude Code settings with
/import-claude; see how to use Grok Build.
Gemini in Ninja Builder
Ninja Builder is a desktop app that runs Gemini, Claude, ChatGPT, Grok, GitHub Copilot, Cursor and local models in one chat window. Gemini chats use an API key from Google AI Studio: open Settings › Accounts › Add account › Gemini, paste the key, click Test, then Save. Google doesn't let other apps use a Gemini plan through its sign-in, so a key is the only route, billed by Google to your AI Studio account.
A Gemini chat gets the same skills, playbooks, helper agents and safety checks as any other chat, and the app reads your project's GEMINI.md and AGENTS.md without any copying. If Gemini gets stuck, move the same chat to Claude or ChatGPT from the AI chip in the top bar. The Gemini chats docs have the details, and the demo shows the app:

Download Ninja Builder to try it: 14 days free, then $4.99 a month.
Frequently asked questions
Is Gemini CLI discontinued?
For individual users, yes. Since June 18, 2026 it stops serving requests for Google AI Pro, Google AI Ultra and free Gemini Code Assist for individuals. Code Assist Standard and Enterprise organizations and paid API keys can still use it.
What is the command for Antigravity CLI?
The command is agy. Install it with the script from antigravity.google, then run agy in your project folder and sign in with Google or a Google Cloud project.
Does Antigravity CLI read GEMINI.md?
Yes. The migration guide says it still reads GEMINI.md and AGENTS.md in your project and the global ~/.gemini/GEMINI.md, so no edits are needed.
How do I move my Gemini CLI extensions?
Run agy plugin import gemini. It converts each extension into an Antigravity plugin, turns extension commands into skills and moves MCP server definitions into mcp_config.json.
Can I still use Gemini models without Antigravity?
Yes. With a Gemini API key from Google AI Studio you can use Gemini models in Gemini CLI or any other tool that accepts a Gemini key. You pay Google per token instead of a subscription.
Keep reading

How to write CLAUDE.md and AGENTS.md files that agents follow
Write project instruction files that coding agents actually follow, with a copyable template and one setup for every tool.

What is MCP? The Model Context Protocol explained for developers
How the Model Context Protocol connects AI agents to your tools, how to add a server, and how to keep it safe.

Best AI Model for Coding in December 2026: Claude, GPT, Grok and Gemini Compared
Claude, GPT-6.2, Gemini 4 and Grok 4.7: which coding model to use for which job, and how to test them on your own repo.