Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/google-antigravity/antigravity-cli/llms.txt

Use this file to discover all available pages before exploring further.

Antigravity CLI uses your system keyring to manage credentials. If no active session exists, it falls back to Google Sign-In automatically. The exact sign-in experience depends on whether you’re running the CLI locally or over an SSH connection.

Sign in

When you run Antigravity CLI on your local machine, it opens your default browser automatically to complete the Google Sign-In flow.
1

Start the CLI

Launch Antigravity CLI in your terminal. If no active session is found in the system keyring, authentication starts automatically.
2

Complete sign-in in the browser

Your default browser opens to the Google Sign-In page. Sign in with your Google account.
3

Return to the terminal

After you authorize access, the browser confirms the sign-in and you can close the tab. The CLI resumes in your terminal.

Sign out

To clear your saved credentials, run /logout inside the CLI. This removes the stored session from the system keyring.
/logout

Enterprise and GCP access

If your organization uses enterprise access, you connect a GCP project during the onboarding flow. See Enterprise authentication with GCP for details.

Build docs developers (and LLMs) love