newspaperPress Guidelines
Pricing
Blog
Downloaddownload

Explore our next generation products

See overview

Products

antigravityAntigravity 2.0terminalAntigravity CLIcodeAntigravity IDEsdkAntigravity SDK

Built for developers in the agent-first era

See overview
EnterpriseFrontendFullstackScienceMarketer

Everything you need to stay up-to-date and get help

Documentationkeyboard_arrow_rightChangelogSupportPressReleases

Explore our next generation products

See overview

Products

antigravityAntigravity 2.0terminalAntigravity CLIcodeAntigravity IDEsdkAntigravity SDK

Built for developers in the agent-first era

See overview
EnterpriseFrontendFullstackScienceMarketer
Pricing
Blog

Everything you need to stay up-to-date and get help

Documentationkeyboard_arrow_rightChangelogSupportPressReleases
Home
Antigravity 2.0v2.3.1keyboard_arrow_right
Overview
Getting Started
Build with Google
Feature Overview
Models
Projects
Settingskeyboard_arrow_right
Overview
Agent Settings
Artifact Review
Customizationskeyboard_arrow_right
MCP
Skills
Rules
Plugins
Hooks
Sidecars
Agent Capabilitieskeyboard_arrow_right
Permissions
Subagents
Artifactskeyboard_arrow_right
Overview
Plan
Walkthrough
Screenshots
Antigravity CLIv1.1.5keyboard_arrow_right
Overview
Getting Started
Installation & Auth
Tutorial
Using AGY CLI
Features
Gemini Migration
Prompting
Artifactskeyboard_arrow_right
Overview
Conversations
Agent Capabilitieskeyboard_arrow_right
Choose an execution mode
Subagents
Sandbox
Permissions
Projects
Settingskeyboard_arrow_right
Overview
AI Credits
Customizationskeyboard_arrow_right
MCP
Plugins & Skills
Status Line
Window Title
Commandskeyboard_arrow_right
Agents (/agents)
Code Search (/codesearch)
AI Credits (/credits)
Diff (/diff)
Permissions (/permissions)
Resume (/resume)
Status Line (/statusline)
Window Title (/title)
Model Quotas (/usage, /quota)
Best Practices
Troubleshooting
Reference
Antigravity SDKv0.1.7keyboard_arrow_right
Overview + Quick Start
Customizationskeyboard_arrow_right
MCP
Antigravity IDEv2.1.1keyboard_arrow_right
Overview
Getting Started
Featureskeyboard_arrow_right
Tab
Side Panel
Review Changes
Artifactskeyboard_arrow_right
Plan
Walkthrough
Screenshots
Browser Recordings
Browserkeyboard_arrow_right
Overview
Allowlist / Denylist
Separate Chrome Profile
Customizationskeyboard_arrow_right
MCP
Skills
Rules
Workflows
Plugins
Hooks
Settings
Migrationkeyboard_arrow_right
Firebase Studio Migration
Enterprise
Plans
FAQ
  • side_navigation
  • Antigravity CLI
  • >
  • Using AGY CLI

Using AGY CLIlink

Settingslink

Antigravity CLI provides a flexible configuration system to customize workspace behavior, safety restrictions, editor preferences, visual style, and performance.
  • Configuration File: Stored in a plain JSON file ~/.gemini/antigravity-cli/settings.json.
  • Settings Panel: Type /config or /settings to open a full-screen overlay menu listing all available options.
  • Select a setting to open its list of options or a text input field.
  • Immediately save your selection to the disk and return to the main list.
  • Overrides: Certain settings can be overridden at launch via CLI flags (e.g., --sandbox or --dangerously-skip-permissions).
  • The settings menu will display an indicator showing where the override came from (e.g., Sandbox Mode on overridden by --sandbox).
  • You can still edit the persistent setting on disk, but the current session will enforce the command-line override until restarted.

Quick Tipslink

Action/FeatureTip/Command
Auto-complete to file paths@ will trigger path suggestions
Clear PromptType esc esc to clear your prompt box (when no streaming is active)
Terminal CommandsUse ! at the start of your prompt to run terminal commands directly
HelpType ? to get help and list all slash commands
Reduce Noise from Tool CallsSet verbosity to low in /config to minimize outputs from numerous tool calls
Manage PermissionsControl permissions via /config or /permissions
Go Back in ConversationUse /rewind or /undo to rewind the conversation history
Fork ConversationUse /fork to spin up a separate workspace and branch the conversation from an earlier point
Clear ConversationUse /clear to clear the prompt and start a new conversation session
Resume ConversationUse /resume to list and resume previous conversation logs
Auto-Save ResumeWhen you close the CLI, it automatically prints the exact command needed to resume that specific session

Keybindingslink

AGY CLI allows for custom keybindings. You can edit them by typing /keybindings or modifying the JSON file directly.
  • File Location: ~/.gemini/antigravity-cli/keybindings.json.
  • Reset: To reset to default, delete the keybindings.json file.
Default Keybindings
Action/CommandKeysPurpose
Clear TUI Screenctrl+lClear terminal output
Enter / SubmitenterSubmit prompts or choices
Escape / Cancelctrl+c, escStop stream, close menus, or clear prompt
Exit CLIctrl+dTerminate CLI TUI session
Suspend CLIctrl+zPush CLI session to terminal background
Edit CommandeOpen editor to edit proposed terminal command
Confirm NonDecline terminal command execution
Confirm YesyApprove terminal command execution
Open Editorctrl+gEdit prompt inside your default shell editor
Paste Textctrl+vPaste text from your clipboard
Redo Text Editctrl+shift+zRedo last undone text change
Undo Text Editctrl+_, ctrl+shift+-Undo last text change
Yank (Copy)ctrl+yYank/copy selected text
Navigate DowndownScroll down in menu lists
Go to Bottomctrl+endJump TUI view directly to the bottom
Go to Topctrl+homeJump TUI view directly to the top
Navigate LeftleftMove prompt cursor left
Page Downpgdown, shift+downScroll TUI page down
Page Uppgup, shift+upScroll TUI page up
Navigate RightrightMove prompt cursor right
Tab / FocustabAuto-complete choices or switch component focus
Navigate UpupScroll up in menu lists
Insert Newlinealt+enter, ctrl+j, shift+enterAdd newline to prompt without submitting
You can map a single action to many keybindings in the JSON file. To disable keybindings, set the list to empty (e.g., []). If the file is malformed, the CLI will use the valid parts and fall back to defaults for the broken actions.
warning
Important: Keybindings cli.exit and cli.enter cannot be disabled.
Tutorial
Features
On this Page
Using AGY CLI