Starting & Session

Action Shortcut
Install Antigravity CLI curl -fsSL https://antigravity.google/cli/install.sh | bashirm https://antigravity.google/cli/install.ps1 | iexcurl -fsSL https://antigravity.google/cli/install.sh | bash
Start Antigravity CLI in the current project agyagyagy
Send the current message EnterEnterEnter
Quit Antigravity CLI (press twice) CtrlDCtrlDCtrlD

Shell, Tools & Help

Action Shortcut
Toggle shell mode (run terminal commands) !!!
Exit shell mode EscEscEsc
Expand tool execution details CtrlOCtrlOCtrlO
Move between the /help overlay tabs TabTabTab

Slash Commands

Action Shortcut
Open the help overlay (general, commands, shortcuts tabs) /help/help/help
Choose the active model /model/model/model
Open configuration areas /config/config/config
Open settings /settings/settings/settings
Review a generated artifact /artifact/artifact/artifact
Exit the CLI /quit/quit/quit
No shortcuts found. Try a different search term.

Frequently Asked Questions

What is Antigravity CLI?
Antigravity CLI is Google's terminal coding agent, run with the agy command. Powered by Google's Gemini models, it reasons across your project, edits multiple files, spawns subagents, and calls tools from a lightweight terminal UI. Google announced it in May 2026 as the successor to Gemini CLI.
Is Antigravity CLI the same as Gemini CLI? I'm migrating from Gemini CLI.
They're different tools. On June 18, 2026, Google discontinued Gemini CLI (and the Gemini Code Assist IDE extensions) for free, Google AI Pro, and Ultra users, and pointed them to Antigravity CLI (agy) as the replacement. It isn't a 1:1 drop-in, but Google kept the most critical features — Agent Skills, Hooks, Subagents, and Extensions (now Antigravity plugins). Gemini Code Assist Standard and Enterprise licences keep working with Gemini CLI.
How do I install and start Antigravity CLI?
On macOS or Linux, run curl -fsSL https://antigravity.google/cli/install.sh | bash; on Windows, run irm https://antigravity.google/cli/install.ps1 | iex. That installs the agy binary. Type agy in your project to start it — the first run opens a Google Sign-In flow in your browser.
How do I exit Antigravity CLI?
Press Ctrl+D twice, or type /quit and press Enter. The double Ctrl+D is a safety step so you don't quit by accident.
How do I run a shell command in Antigravity CLI?
Press ! to toggle shell mode, then type your terminal command. Press ! again or press Esc to leave shell mode and go back to talking to the agent.
Where do I find the full list of Antigravity CLI shortcuts?
Type /help inside agy — it opens an overlay with three tabs (general, commands, and shortcuts); press Tab to move between them. Because Antigravity CLI is new and its keybindings are customizable, the in-tool /help is the authoritative, always-current list. This page covers the shortcuts Google documents publicly.