Gemini CLIsession-managementbuilt-in
/clear
Clear the terminal screen and visible history (same as Ctrl+L).
When to use
- ▸Cleaning up a cluttered terminal
- ▸Starting a visual reset without losing context
More Gemini CLI commands
parallel-agents
/agents
Manage subagents — list built-in, local, and remote subagents; enable, disable, or configure.
setup
/commands
List and reload custom .toml slash commands. Run /commands reload after adding or modifying commands without restarting.
context-management
/compress
Replace the current chat context with a summary to save tokens and free up context window space.
setup
/init
Analyze directory and generate a tailored GEMINI.md for persistent project memory.