Available Gemini CLI Commands

CommandDescriptionSub-Commands (If applicable)
/bugFile an issue about Gemini CLI. By default, the issue is filed within the GitHub repository for Gemini CLI.
/chatSave and resume conversation history for branching convo state interactively, or resuming a previous state/chat save <tag>
/chat resume <tag>
/chat list
/clearClears the terminal screen. Can also use shortcut: Ctrl + L
/compressReplace the entire chat context with a summary. This saves tokens
/editorOpen a Dialogue Box for selecting supported editors
/help or /?Self explanatory
/mcpList all configured Model Context Protocol servers, their status details and available tools/mcp desc: Show detailed server/tool descriptions
/mcp nodesc: Hide tool descriptions, only show names
mcp schema: Show full JSON schema for tools config params
/memoryManage the AI’s instructional context (memory loaded from GEMINI.md files)/memory add <text>: Add following text to AI memory
/memory show: Display full content of current heirarchical memory loaded from all GEMINI.md files
/memory refresh: Reload all GEMINI.md files
/restoreRestore projhect files to the state they were in before tool was executed. Only available if Checkpointing was enabled/restore [tool_call_id]
/statsDisplay detailed statistics for the current Gemini CLI session
/themeChange the visual theme for Gemini CLI
/authChange the authentication method for Gemini CLI
/aboutSame as -version
/toolsDisplay list of currently available tools within Gemini CLI./tools desc: Show detailed descriptions for each tool
/tools nodesc: Hide descriptions, only show tool names
/quit & /exitExit Gemini CLI