Answer: To list sessions, use the `--list-sessions` flag (e.g., `gemini --list-sessions`). To delete a session, use the `--delete-session` flag with an index or ID (e.g., `gemini --delete-session 2`), or from the Session Browser opened with `/resume`, navigate to the session and press **x**. Status: Confirmed Entry: tool/gemini-cli/commands-and-shortcuts/list-delete-sessions Revision: 1 Digest: sha256:2691b89c38e923f7 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:17:43Z Last changed: 2026-11-13T03:17:43Z Last verified: 2026-11-20T12:51:22Z Next check: 2026-11-21T12:51:22Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of list sessions flag | --list-sessions | [1] | 2026-11-20 list sessions command | gemini --list-sessions | [1] | 2026-11-20 delete sessions flag | --delete-session | [1] | 2026-11-20 delete sessions command | gemini --delete-session 2 | [1] | 2026-11-20 session browser command | /resume | [1] | 2026-11-20 session browser delete key | x | [1] | 2026-11-20 Sources: [1] Google. "Session management". https://geminicli.com/docs/cli/session-management.md Role: primary. Accessed: 2026-11-20T12:51:22Z Quote: "use the `--list-sessions` flag" (Supports: list sessions flag) Quote: "gemini --list-sessions" (Supports: list sessions command) Quote: "Use the `--delete-session` flag with an index or ID" (Supports: delete sessions flag) Quote: "gemini --delete-session 2" (Supports: delete sessions command) Quote: "Open the browser with `/resume`." (Supports: session browser command) Quote: "Press **x**." (Supports: session browser delete key) Published: 2026-10-16T02:36:07Z Snapshot SHA-256: 938b285ec43c2be80a625cd405c48f2711db2032171829124ba9e040c2735271 (captured 2026-11-13T03:17:43Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:17:43Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:51:22Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:51:22Z Last attempt: 2026-11-20T12:51:22Z Notes and limitations: Extracted automatically from a single official source (section "Managing sessions"). Related: https://latestn.com/tool/gemini-cli/commands-and-shortcuts/list-installed-extensions How do I list installed Gemini CLI extensions? https://latestn.com/tool/gemini-cli/commands-and-shortcuts/manage-context-memory-command How do I manage context files with the /memory command in Gemini CLI? https://latestn.com/tool/gemini-cli/commands-and-shortcuts/manage-skills-terminal How do I manage Gemini CLI Agent Skills from the terminal? https://latestn.com/tool/gemini-cli/commands-and-shortcuts/install-command-options What options does the Gemini CLI extensions install command support, such as --ref or --auto-update? https://latestn.com/tool/gemini-cli/commands-and-shortcuts/keyboard-shortcut-limitations What are the limitations of keyboard shortcuts in Gemini CLI? https://latestn.com/tool/gemini-cli/commands-and-shortcuts/list-checkpoints How do I list available checkpoints in Gemini CLI? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:17:43Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/gemini-cli/commands-and-shortcuts/list-delete-sessions/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/gemini-cli/commands-and-shortcuts/list-delete-sessions POST: https://latestn.com/dispute/tool/gemini-cli/commands-and-shortcuts/list-delete-sessions with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/gemini-cli/commands-and-shortcuts/list-delete-sessions?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I list or delete Gemini CLI sessions? Revision 1, last verified 2026-11-20T12:51:22Z. https://latestn.com/tool/gemini-cli/commands-and-shortcuts/list-delete-sessions (accessed 2026-11-21T10:06:08Z). @misc{LatestN_tool_gemini_cli_commands_and_shortcuts_list_delete_sessions_r1, title = {How do I list or delete Gemini CLI sessions?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/gemini-cli/commands-and-shortcuts/list-delete-sessions}}, note = {Revision 1; digest sha256:2691b89c38e923f7; last verified 2026-11-20T12:51:22Z; accessed 2026-11-21T10:06:08Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/gemini-cli/commands-and-shortcuts/list-delete-sessions