Ninja Builder Sign in Get started

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.

By Ninja Builder team5 min read
Title card reading Gemini CLI is gone: move to Antigravity CLI

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".
Timeline: Antigravity CLI opened to everyone on May 19, 2026; Gemini CLI stopped serving Google AI Pro, Ultra and free users on June 18, 2026; business licences and paid API keys keep working
If you signed in to Gemini CLI with a personal Google account, this change applies to you.

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 /agents to 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 @conversation menu.

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.

  1. Install it. On macOS or Linux:
    curl -fsSL https://antigravity.google/cli/install.sh | bash
    On Windows PowerShell:
    irm https://antigravity.google/cli/install.ps1 | iex
  2. Check it worked with agy --version. The installer adds agy to your PATH, or tells you what to do if it can't.
  3. Open a terminal in your project folder and run agy.
  4. 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.
  5. 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

Migration map: GEMINI.md and AGENTS.md need no change; extensions become plugins with agy plugin import gemini; workspace skills move from .gemini/skills to .agents/skills; MCP servers move from settings.json to mcp_config.json
Most of the move is automatic. Workspace skills and remote MCP servers need a small manual edit.
  1. Accept the first-run checklist. When agy finds 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.
  2. Import extensions as plugins. Run:
    agy plugin import gemini
    It scans your old folders and converts each extension. Extension commands become skills, and MCP server definitions move into mcp_config.json.
  3. Leave GEMINI.md alone. The agent still reads GEMINI.md and AGENTS.md in your project and the global ~/.gemini/GEMINI.md.
  4. Move workspace skills. Rename or move each project's .gemini/skills/ folder to .agents/skills/. Global skills in ~/.gemini/skills/ keep working.
  5. Check MCP servers. Global servers now live in ~/.gemini/config/mcp_config.json and project servers in .agents/mcp_config.json. For remote servers, rename the old url or httpUrl key to serverUrl:
    {
      "mcpServers": {
        "docs": { "serverUrl": "https://example.com/mcp" }
      }
    }
  6. Run a real task and type /config to 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-neon and gemini-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.md carries 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:

Ninja Builder: AI Agent Desktop App for Claude Code, ChatGPT & Gemini

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