Powerful Google Gemini & Antigravity AI Command Line Interface
Fast • Intelligent • Coding Agent • Slash Commands • MCP Support
Report Bug | Discussions
Antigravity CLI is a fast, lightweight, and powerful command-line interface for Google Gemini and Antigravity AI models. Designed for developers and power users who want a highly efficient AI assistant directly in the terminal.
Important
Requires a valid Google API Key.
| Feature | Antigravity CLI | Antigravity 2.0 |
|---|---|---|
| Primary Focus | Speed, keyboard efficiency, low overhead | Comprehensiveness, visual orchestration, project management |
| Interface | Terminal User Interface (TUI) | Full Rich GUI Application |
| Workflows | SSH/Remote sessions, keyboard-first | Local workspaces, heavy orchestration |
| Agent Engine | Shared Core Agent Engine | Shared Core Agent Engine |
- Shared Agent Engine: Both interfaces run on the same core agent engine. Improvements automatically apply to both.
- Shared Settings: Preferences and permissions sync bidirectionally.
- Session Export: Export terminal sessions to the Antigravity 2.0 GUI to continue working.
curl -fsSL https://antigravity.google/cli/install.sh | bashirm https://antigravity.google/cli/install.ps1 | iexcurl -fsSL https://antigravity.google/cli/install.cmd -o install.cmd && install.cmd && del install.cmdThe CLI authenticates via the system keyring, falling back to Google Sign-In if no active session exists.
- Local: Automatically opens your default browser.
- Remote / SSH: Detects SSH sessions and prints an authorization URL to complete login locally.
- Sign Out: Run
/logoutto clear saved credentials.
Note
For enterprise access, connect your GCP project during onboarding. See the Enterprise page for details.
Warning
AI coding agents are known to have certain security risks, including autonomous code execution, data exfiltration, prompt injection, and supply chain risks. Ensure that you monitor and verify all actions taken by the agent.
By using Antigravity CLI, you agree to help improve the product by allowing Google to collect and use your Interactions data, subject to the Google Terms of Service and Google Privacy Policy. You can choose to opt out at any time via your settings.
- Terms of Service: antigravity.google/terms
- Privacy Policy: policies.google.com/privacy