Skip to main content
Reference tooling 2 min read Updated

docs-cli-commands-statusline

Status line command (/statusline)

Available on: Antigravity CLI

Toggle the TUI status line or configure a custom rendering command.

Overview

The /statusline command allows you to quickly enable or disable the status line at the bottom of your TUI, or configure a custom shell command to render it dynamically, without manually editing your settings file.

For details on how to write custom status line scripts and the JSON state payload schema, refer to the conceptual Status line customization guide.

Usage

Run the /statusline command with the following arguments to control its behavior.

Toggle status line

Type /statusline with no arguments to toggle the status line on and off:

/statusline

Enable or disable explicitly

You can explicitly enable or disable the status line:

  • Enable: /statusline on or /statusline enable
  • Disable: /statusline off or /statusline disable
/statusline off

Configure a custom command

To route the agent state JSON payload to a custom script and render its output in the status line, pass the command as an argument:

/statusline ~/.gemini/antigravity-cli/statusline.sh

This immediately updates your settings and starts running the script to render the status line.

Revert to default

To delete your custom command configuration and revert to the built-in default status line, run the following command:

/statusline delete

(Note: /statusline reset is also supported.)

Show help

To view the quick command reference, run the following command:

/statusline help

Next steps

Explore the following guides to further customize your terminal display: