promptgarten 🌱

Command reference Β· Antigravity CLI

/exit

Ends the TUI session and restores the host shell. Alias: /quit.

In the official Antigravity CLI reference, /exit belongs to the "Core" category and has the alias /quit. According to the docs it "closes the TUI session and restores your host shell" β€” so the command ends the running interactive terminal session and hands control back to the shell from which agy was started. This makes /exit the regular way to leave an Antigravity CLI session, instead of hard-closing the terminal window or aborting the process with Ctrl+C. Because /quit as an alias has exactly the same function, it doesn't matter which of the two spellings you use β€” officially both are documented as equivalent. Important: /exit only affects the current TUI session. According to the reference, the conversation history remains retrievable via /resume, provided the session wasn't cleared beforehand with /clear.

πŸ”„ THE SAME TASK (β€œEXIT”) ON OTHER PLATFORMS

Compare all 28 tasks β†’

βœ… WHEN TO USE IT?

Cleanly end the session and return to the host shell

/exit, once the task is complete

Use the alias if it's more familiar

Type /quit β€” according to the docs, identical to /exit

β›” WHEN NOT TO?

Only clear the context but keep working in the same session

According to the docs, /exit ends the entire TUI session, not just the conversation context.

Better: Use /clear to start a new conversation within the same session

SOURCES

MORE COMMANDS Β· Antigravity CLI

/fast/feedback/fork/help/hooks/keybindings/logout/mcp/model/open/permissions/planning

All commands Β· Antigravity CLI β†’

Share:𝕏inπŸ’¬