Skip to main content

Reference · Reference

Gemini CLI Commands List

Search and copy Gemini CLI commands by category: slash commands, CLI flags, keyboard shortcuts, and @ / ! commands. One-click copy for quick terminal use.

Last updated:

How to Use

Expand how to use
  1. 1

    Search commands

    Type a keyword to filter commands, flags, options, and examples all at once.

  2. 2

    Filter by category

    Switch between Slash Commands, CLI Flags, Keyboard Shortcuts, and @ & ! Commands to focus on what you need.

  3. 3

    Copy and run

    Click the copy button on any command card or shortcut row to paste it directly into your terminal.

Latest Version

This cheat sheet covers Gemini CLI v0.56.0 (August 2026). Command set includes slash commands, CLI flags, keyboard shortcuts, and @ / ! operators.

v0.57.0 (August 25, 2026)

  • Re-verified against v0.57.0 (released August 25, 2026). All 38 slash commands, 28 CLI flags, 25 keyboard shortcuts, and the @ / ! operators are unchanged from v0.56.0 (no command headings added or removed in the official docs, and both tags define the same 43 yargs options)
  • The official /clear documentation was corrected: beyond clearing the screen, /clear resets the active conversation context and starts a new session. The docs now also state that Ctrl+L only redraws the screen and preserves the conversation context, so the two are not equivalent (a documentation fix for long-standing behavior, not an implementation change)
  • Stable releases continue for Google Code Assist Standard/Enterprise even after the June 18, 2026 end of support for free, AI Pro, and Ultra users

v0.56.0 (August 19, 2026)

  • Verified on v0.56.0 (released August 19, 2026), the latest stable release. All 38 slash commands, 28 CLI flags, 25 keyboard shortcuts, and @ / ! operators are unchanged from v0.55.1
  • This release only bumps package version numbers — the official docs (command list, keyboard shortcuts) and the CLI flag definitions are identical to v0.55.1 (zero differences confirmed)
  • Stable releases continue for Google Code Assist Standard/Enterprise users even after the free tier / AI Pro / Ultra shutdown on June 18, 2026
See all version notes

Slash Commands

/help

Show help and list all available slash commands. Alias: /?

Notes

  • Alias: /?

Examples

/help
Display available commands and usage.

/resume

Browse, save, resume, and manage past sessions and conversations (canonical command; /chat is an alias).

Notes

  • list
  • save <tag>
  • resume <tag>
  • delete <tag>
  • share [file]
  • checkpoints

Examples

/resume
Open the interactive session browser.

/chat

Alias for /resume. Browse, save, resume, and manage past conversations with the same subcommands.

Notes

  • list
  • save <tag>
  • resume <tag>
  • delete <tag>
  • share [file]
  • debug

Examples

/chat save my-feature
Save the current conversation with a tag.

/restore

Restore files to their state before the last tool call.

Notes

  • [tool_call_id]

Examples

/restore
Undo the last file changes made by a tool.

/rewind

Rewind the conversation history to a previous turn.

Examples

/rewind
Step back through previous interactions.

/model

View or change the current model. Subcommands: manage, set.

Notes

  • manage
  • set <model-name>

Examples

/model set gemini-2.5-pro
Switch to a specific Gemini model.

/settings

Open the settings editor.

Examples

/settings
Open the interactive settings panel.

/theme

Change the display theme.

Examples

/theme
Cycle through available themes.

/auth

Change the authentication method.

Examples

/auth
Switch to a different auth provider or account.

/editor

Select the external editor to use.

Examples

/editor
Choose your preferred text editor.

/terminal-setup

Configure terminal keybindings for multiline input.

Examples

/terminal-setup
Set up keybindings for your terminal emulator.

/agents

Manage sub-agents. Subcommands: list, reload, enable, disable, config.

Notes

  • list
  • reload
  • enable <name>
  • disable <name>
  • config <name>

Examples

/agents list
Show all available sub-agents.

/extensions

Manage extensions. Subcommands: list, install, enable, disable, update, uninstall, explore.

Notes

  • list
  • install
  • enable/disable
  • update
  • uninstall
  • explore

Examples

/extensions list
List installed extensions.

/skills

Manage Agent Skills. Subcommands: list, enable, disable, reload.

Notes

  • list
  • enable <name>
  • disable <name>
  • reload

Examples

/skills list
Show available agent skills.

/tools

List available tools. Use desc to show descriptions.

Notes

  • desc

Examples

/tools
Show all tools available in the current session.

/mcp

Manage MCP servers. Subcommands: list, desc, schema, enable, disable, reload, auth.

Notes

  • list
  • desc
  • schema
  • enable/disable
  • reload
  • auth <server>

Examples

/mcp list
Show all configured MCP servers.

/commands

Manage custom slash commands. Subcommands: list, reload.

Notes

  • list
  • reload

Examples

/commands list
Show available custom slash commands.

/memory

Manage context loaded from GEMINI.md files. Subcommands: list, show, refresh.

Notes

  • list
  • show
  • refresh

Examples

/memory refresh
Reload GEMINI.md context without restarting.

/init

Generate a GEMINI.md context file for the current project.

Examples

/init
Create a project-level GEMINI.md file.

/clear

Reset the active conversation context and start a new session, while also clearing the visible terminal screen, history, and scrollback. Ctrl+L is not equivalent: it only redraws the screen and preserves the conversation context.

Examples

/clear
Reset the conversation context and start a new session.

/copy

Copy the last model output to clipboard.

Examples

/copy
Copy the most recent response to clipboard.

/compress

Replace the chat context with a summary to reduce token usage.

Examples

/compress
Summarize conversation to free up context window.

/stats

Show session statistics. Subcommands: session, model, tools.

Notes

  • session
  • model
  • tools

Examples

/stats
Display token usage and session metrics.

/vim

Toggle vim mode for input.

Examples

/vim
Switch input between standard and vim mode.

/shells

Toggle background shell display.

Examples

/shells
Show or hide background shell output.

/directory

Manage workspace directories. Subcommands: add, show. Alias: /dir

Notes

  • add <path>
  • show

Examples

/directory add ./src
Add an additional workspace directory.

/about

Show version and system information.

Examples

/about
Display Gemini CLI version and environment info.

/docs

Open the Gemini CLI documentation in a browser.

Examples

/docs
Open official docs in the default browser.

/upgrade

Open the upgrade page.

Examples

/upgrade
Open the upgrade / release page.

/privacy

Show the privacy notice.

Examples

/privacy
Display the privacy policy notice.

/bug

Create a GitHub issue for a bug report.

Examples

/bug
Open a pre-filled GitHub issue form.

/permissions

Manage folder trust. Subcommands: trust.

Notes

  • trust [path]

Examples

/permissions trust ./project
Mark a folder as trusted.

/hooks

Manage lifecycle hooks. Subcommands: list, show, panel, enable, disable, enable-all, disable-all.

Notes

  • list/show/panel
  • enable <name>
  • disable <name>
  • enable-all
  • disable-all

Examples

/hooks list
Show configured lifecycle hooks.

/policies

Manage policies. Subcommands: list.

Notes

  • list

Examples

/policies list
Show active policy rules.

/plan

Switch to Plan Mode (read-only). Subcommands: copy.

Notes

  • copy

Examples

/plan
Enter read-only planning mode.

/ide

Manage IDE integration. Subcommands: enable, disable, install, status.

Notes

  • enable/disable
  • install
  • status

Examples

/ide status
Check IDE integration status.

/setup-github

Configure GitHub Actions integration.

Examples

/setup-github
Set up Gemini CLI in GitHub Actions.

/quit

Exit Gemini CLI. Alias: /exit. Use --delete to also remove history.

Notes

  • --delete (removes history)

Examples

/quit
Exit the current Gemini CLI session.

CLI Flags

--model

Specify the model to use (default: auto). Alias: -m

Notes

  • Alias: -m
  • Default: auto

Examples

gemini -m gemini-2.5-pro
Launch with a specific model.

--prompt

Pass a prompt and run non-interactively. Alias: -p

Notes

  • Alias: -p

Examples

gemini -p "explain this repo"
Run a one-shot prompt.

--prompt-interactive

Run a prompt then continue interactively. Alias: -i

Notes

  • Alias: -i

Examples

gemini -i "summarize the codebase"
Start with a prompt and keep the session open.

--worktree

Launch in a new git worktree. Alias: -w

Notes

  • Alias: -w

Examples

gemini --worktree
Isolate changes in a separate worktree.

--sandbox

Run in a sandboxed environment for safety. Alias: -s

Notes

  • Alias: -s

Examples

gemini --sandbox
Start Gemini CLI in sandbox mode.

--skip-trust

Trust the current workspace without the folder confirmation prompt.

Examples

gemini --skip-trust
Skip the folder trust check on launch.

--approval-mode

Set the tool execution approval mode.

Notes

  • choices: default, auto_edit, yolo, plan

Examples

gemini --approval-mode=auto_edit
Automatically approve file edits.

--yolo

Auto-approve all actions without prompts. Deprecated — prefer --approval-mode=yolo. Alias: -y

Notes

  • Alias: -y
  • Deprecated: prefer --approval-mode=yolo

Examples

gemini --yolo
Run with full auto-approval (use with caution).

--acp

Start the agent in ACP (Agent Client Protocol) mode.

Examples

gemini --acp
Launch in ACP mode for compatible editors to connect.

--experimental-acp

Start in ACP mode (deprecated; use --acp instead).

Notes

  • Deprecated: use --acp

Examples

gemini --experimental-acp
Legacy flag for launching ACP mode.

--policy

Load additional policy files or directories (comma-separated or multiple --policy).

Examples

gemini --policy ./policies
Load extra policies for the Policy Engine.

--admin-policy

Load additional admin policy files or directories (comma-separated or multiple --admin-policy).

Examples

gemini --admin-policy ./admin-policies
Load organization-level admin policies.

--allowed-mcp-server-names

Comma-separated list of MCP server names to allow.

Examples

gemini --allowed-mcp-server-names=github,jira
Restrict active MCP servers to a whitelist.

--extensions

Specify extensions to use. Alias: -e

Notes

  • Alias: -e

Examples

gemini --extensions=my-ext
Launch with a specific extension enabled.

--list-extensions

List available extensions and exit. Alias: -l

Notes

  • Alias: -l

Examples

gemini --list-extensions
Show all installable extensions.

--resume

Resume a previous session. Alias: -r

Notes

  • Alias: -r
  • Accepts "latest" or an index number

Examples

gemini --resume
Continue the most recent session.

--session-file

Load a session from a JSON file.

Examples

gemini --session-file ./session.json
Load a previously exported session file.

--session-id

Start a new session with a manually provided UUID.

Examples

gemini --session-id 123e4567-e89b-12d3-a456-426614174000
Begin a new session with a specific UUID.

--list-sessions

List available sessions for the current project.

Examples

gemini --list-sessions
Show saved sessions for this project.

--delete-session

Delete a session by index number.

Examples

gemini --delete-session 2
Remove session number 2 from the list.

--include-directories

Include additional directories in the workspace.

Examples

gemini --include-directories=../shared
Add a shared directory to the workspace.

--screen-reader

Enable screen reader mode for accessibility.

Examples

gemini --screen-reader
Start Gemini CLI in screen reader mode.

--output-format

Set the output format. Alias: -o

Notes

  • Alias: -o
  • choices: text, json, stream-json

Examples

gemini --output-format=json -p "analyze this"
Get a structured JSON response.

--raw-output

Disable sanitization of model output (e.g. allow ANSI escape sequences). A security risk when the model output is untrusted.

Examples

gemini --raw-output
Show output unsanitized (use with caution).

--accept-raw-output-risk

Suppress the security warning shown when using --raw-output.

Examples

gemini --raw-output --accept-raw-output-risk
Enable raw output without the warning prompt.

--debug

Run in debug mode with verbose logging. Alias: -d

Notes

  • Alias: -d

Examples

gemini --debug
Start with detailed debug output.

--version

Print the version and exit. Alias: -v

Notes

  • Alias: -v

Examples

gemini --version
Display the installed Gemini CLI version.

--help

Show help information. Alias: -h

Notes

  • Alias: -h

Examples

gemini --help
Display all available flags and options.

Keyboard Shortcuts

Ctrl+C
Cancel the current request, or exit if input is empty.
Ctrl+D
Exit Gemini CLI when the input buffer is empty.
Ctrl+L
Clear and redraw the screen.
Esc
Close dialogs or cancel the current operation.
EscEsc
Clear the input or browse past interactions.
Ctrl+Y
Toggle YOLO mode (auto-approve all actions).
Shift+Tab
Cycle through approval modes.
Ctrl+T
Toggle the full TODO list display.
Ctrl+O
Expand or collapse a content block.
Ctrl+R
Start reverse history search.
Ctrl+P
Previous item in history.
Ctrl+N
Next item in history.
Shift+Enter
Insert a newline without submitting.
Ctrl+J
Insert a newline without submitting.
Ctrl+G
Open the external editor.
Ctrl+A
Move cursor to the beginning of the line.
Ctrl+E
Move cursor to the end of the line.
Ctrl+K
Delete from cursor to end of line.
Ctrl+U
Delete from cursor to beginning of line.
Ctrl+W
Delete the previous word.
Alt+M
Toggle Markdown rendering.
F12
Toggle the debug console.
Ctrl+V
Paste from clipboard.
Ctrl+S
Toggle mouse mode.
?
Toggle the keyboard shortcuts panel (when input is empty).

@ & ! Commands

@<path>

Inject the content of a file or directory into the prompt context.

Examples

@src/index.ts explain this file
Add a file to context and ask about it.

@

A standalone @ passes the query without file injection.

!<command>

Execute a shell command directly from Gemini CLI.

Examples

!ls -la
Run a shell command without leaving the session.

!

Toggle shell mode for continuous shell execution (empty input).

Version Notes

Summarized from official Gemini CLI GitHub releases.

v0.57.0 (August 25, 2026)

View official release

  • Re-verified against v0.57.0 (released August 25, 2026). All 38 slash commands, 28 CLI flags, 25 keyboard shortcuts, and the @ / ! operators are unchanged from v0.56.0 (no command headings added or removed in the official docs, and both tags define the same 43 yargs options)
  • The official /clear documentation was corrected: beyond clearing the screen, /clear resets the active conversation context and starts a new session. The docs now also state that Ctrl+L only redraws the screen and preserves the conversation context, so the two are not equivalent (a documentation fix for long-standing behavior, not an implementation change)
  • Stable releases continue for Google Code Assist Standard/Enterprise even after the June 18, 2026 end of support for free, AI Pro, and Ultra users
v0.56.0 (August 19, 2026)

View official release

  • Verified on v0.56.0 (released August 19, 2026), the latest stable release. All 38 slash commands, 28 CLI flags, 25 keyboard shortcuts, and @ / ! operators are unchanged from v0.55.1
  • This release only bumps package version numbers — the official docs (command list, keyboard shortcuts) and the CLI flag definitions are identical to v0.55.1 (zero differences confirmed)
  • Stable releases continue for Google Code Assist Standard/Enterprise users even after the free tier / AI Pro / Ultra shutdown on June 18, 2026
v0.55.1 (August 11, 2026)

View official release

  • Verified on v0.55.1 (released August 11, 2026), the latest stable release. All 38 slash commands, 28 CLI flags, 25 keyboard shortcuts, and @ / ! operators are unchanged from v0.54.4
  • This release contains only security fixes around core, a2a-server, and sandbox plus internal bug fixes in session handling and OAuth — the command data was re-checked against the --help output and the official docs headings with zero differences
  • Stable releases continue for Google Code Assist Standard/Enterprise users even after the free tier / AI Pro / Ultra shutdown on June 18, 2026
v0.54.4 (August 7, 2026)

View official release

  • Verified on v0.54.4 (released August 7, 2026), the latest stable release. All 38 slash commands, 28 CLI flags, 25 keyboard shortcuts, and @ / ! operators are unchanged from v0.54.0
  • This release only fixes a bug where a new user message could fuse into an unanswered tool response, plus release-process version bumps and a revert — no changes to the user-facing command surface (only 0.54.0 and 0.54.4 were published to npm in the 0.54.x line)
  • Stable releases continue for Google Code Assist Standard/Enterprise users even after the free tier / AI Pro / Ultra shutdown on June 18, 2026
v0.54.0 (August 2026)

View official release

  • Verified on v0.54.0 (released August 6, 2026), the latest stable release. All 38 slash commands, 28 CLI flags, 25 keyboard shortcuts, and @ / ! operators are unchanged from v0.53.1
  • This release contains only security hardening — session ID rotation on model fallback, enforced HTTPS for the Google credentials auth provider, and explicit tag-length validation in the file keychain — plus internal bug fixes, with no changes to the user-facing command surface
  • Stable releases continue for Google Code Assist Standard/Enterprise users even after the free tier / AI Pro / Ultra shutdown on June 18, 2026
v0.53.1 (July 2026)

View official release

  • Verified on v0.53.1 (released July 31, 2026), the latest stable release. All 38 slash commands, 28 CLI flags, 25 keyboard shortcuts, and @ / ! operators are unchanged from v0.53.0
  • This release contains only internal bug fixes around ACP session handling, non-interactive CLI sessions, geminiChat history, and telemetry — no changes to the user-facing command surface
  • Stable releases continue for Google Code Assist Standard/Enterprise users even after the free tier / AI Pro / Ultra shutdown on June 18, 2026
v0.53.0 (July 2026)

View official release

  • Verified on v0.53.0 (released July 28, 2026), the latest stable release. All 38 slash commands, 28 CLI flags, 25 keyboard shortcuts, and @ / ! operators are unchanged from v0.52.0
  • This release focuses on security fixes, internal refactoring, and the addition of an evals feature — no changes to the user-facing command surface
  • Stable releases continue for Google Code Assist Standard/Enterprise users even after the free tier / AI Pro / Ultra shutdown on June 18, 2026
v0.52.x (July 2026)

View official release

  • Verified on v0.52.0 (released July 22, 2026), the latest stable release. All 38 slash commands, 28 CLI flags, 25 keyboard shortcuts, and @ / ! operators are unchanged from v0.51.0
  • This release focuses on small core fixes (bypassing LLM correction for JSON/IPYNB files in write_file and replace, simplifying Plan Mode's write policy for relative paths, clearer shared-project quota limit error messages) and internal tooling additions — no changes to the user-facing command surface
  • Stable releases continue for Google Code Assist Standard/Enterprise users even after the free tier / AI Pro / Ultra shutdown on June 18, 2026
v0.51.x (July 2026)

View official release

  • Verified on v0.51.0 (released July 16, 2026), a stable release. All 38 slash commands, 28 CLI flags, 25 keyboard shortcuts, and @ / ! operators are unchanged from v0.50.0
  • This release focuses on security fixes (case-insensitive sensitive-path blocklist, resolving a symbolic-link directory escape in the memory import processor) and core fixes — no changes to the user-facing command surface
  • Stable releases continue for Google Code Assist Standard/Enterprise users even after the free tier / AI Pro / Ultra shutdown on June 18, 2026
v0.50.x (July 2026)

View official release

  • Verified on v0.50.0 (released July 8, 2026), the latest stable release. All 38 slash commands, 28 CLI flags, 25 keyboard shortcuts, and @ / ! operators are unchanged from v0.47.0
  • This release is mostly internal fixes to CI release verification and tool registry improvements — no changes to the user-facing command surface
  • Stable releases continue for Google Code Assist Standard/Enterprise users even after the free tier / AI Pro / Ultra shutdown on June 18, 2026
v0.49.x (July 2026)

View official release

  • Verified on v0.49.0 (released June 25, 2026), a stable release. All 38 slash commands, 28 CLI flags, 25 keyboard shortcuts, and @ / ! operators are unchanged from v0.47.0
  • This release is mostly internal refactoring, CI fixes, and bug fixes — no changes to the user-facing command surface
  • Stable releases continue for Google Code Assist Standard/Enterprise users even after the free tier / AI Pro / Ultra shutdown on June 18, 2026
v0.47.x (June 2026)

View official release

  • Latest stable release verified on v0.47.0, covering the full command set: slash commands (/resume, /chat, /memory, /tools, /mcp, /hooks, /plan, etc.), CLI flags, keyboard shortcuts, and @ / ! operators
  • Expanded session management: load from JSON with --session-file and start with a fixed UUID via --session-id. Conversation management is now under /resume (canonical), with /chat as an alias
  • Adds Policy Engine integration (--policy / --admin-policy), stable ACP mode (--acp), and raw output (--raw-output / --accept-raw-output-risk). --experimental-zed-integration was removed
v0.45.x (June 2026)

View official release

  • Stable release verified on v0.45.3, covering the full command set: slash commands (/chat, /memory, /tools, /mcp, /hooks, /plan, etc.), CLI flags, keyboard shortcuts, and @ / ! operators
  • Enhanced session management: list and delete sessions with --list-sessions and --delete-session, plus export/import sessions to file
  • Includes git worktree integration (--worktree / -w), ACP mode (--experimental-acp), and JSON/stream-json output (--output-format)
v0.42.0 (May 2026)

View official release

  • Covers the full command set: slash commands (/chat, /memory, /tools, /mcp, /hooks, /plan, etc.), CLI flags (--model, --approval-mode, --yolo, --output-format, etc.), keyboard shortcuts, and @ / ! operators
  • Session management via /chat with save, resume, share, and debug subcommands
  • Approval mode control: default, auto_edit, yolo, plan — also toggleable with Ctrl+Y and Shift+Tab shortcuts
Earlier releases (Prior to v0.42.0)

View official release

  • MCP server management via /mcp with enable, disable, auth, and reload subcommands
  • Hook lifecycle management via /hooks for before/after tool execution
  • Extension and skill system: /extensions and /skills for expanding Gemini CLI capabilities

About This Tool

This free Gemini CLI cheat sheet consolidates all slash commands, CLI flags, keyboard shortcuts, and @ / ! operators for Gemini CLI v0.55.1 into one searchable, copyable reference. Gemini CLI is Google's open-source terminal agent powered by Gemini models — it lets you chat, edit code, run shell commands, manage MCP servers, and automate tasks directly from your terminal. Use the category filter to focus on the command type you need, the search box to match by keyword, and the copy button to paste any command without leaving your current context. Note: Gemini CLI was shut down on June 18, 2026, and its successor is Google Antigravity CLI (agy); you can migrate Gemini CLI extensions with agy plugin import gemini (see related tools for the Antigravity CLI commands).

What You Can Check

  • All 38 slash commands (/chat, /memory, /mcp, /tools, /hooks, /plan, /init, and more)
  • All 28 CLI flags (--model, --approval-mode, --yolo, --sandbox, --output-format, and more)
  • 25 keyboard shortcuts for session control, editing, and navigation
  • @ file reference and ! shell execution operators with usage examples
  • Subcommand lists, option notes, and practical examples for each entry

When It Helps

  • Looking up the correct /chat subcommand (save, resume, share) while working on a long coding session
  • Checking which --approval-mode value (default, auto_edit, yolo, plan) suits your current task before running Gemini CLI
  • Finding the keyboard shortcut for toggling YOLO mode or opening the external editor mid-session
  • Referencing @ file injection syntax when you want to include source files in your Gemini prompt
  • Onboarding a teammate to Gemini CLI by sharing a quick reference of the most important commands
  • Confirming the correct /mcp subcommand (enable, disable, auth, reload) when setting up MCP server integration

FAQ

What is Gemini CLI?

Gemini CLI is Google's open-source AI agent for the terminal, powered by Gemini models. It lets you chat, read and edit files, run shell commands, integrate MCP servers, and automate development tasks — all from your terminal without leaving your workflow.

How do I install Gemini CLI?

Install Gemini CLI globally via npm: `npm install -g @google/gemini-cli`. After installation, run `gemini` to start an interactive session. You will be prompted to authenticate with your Google account on first use.

What are slash commands in Gemini CLI?

Slash commands are in-session commands you type while chatting with Gemini. They control session management (/chat, /restore, /rewind), tool integrations (/mcp, /tools, /extensions), settings (/settings, /theme, /model), and utilities (/clear, /copy, /stats). Type /help to see the full list.

What is the difference between @ and ! in Gemini CLI?

@<path> injects the content of a file or directory into the current prompt context, letting Gemini read and reason about local files. !<command> executes a shell command directly from within Gemini CLI. A standalone ! toggles shell mode for continuous shell execution.

How does --approval-mode work?

The --approval-mode flag controls how Gemini asks for permission before running tools: default requires approval for risky actions, auto_edit automatically approves file edits, yolo approves all actions without prompting, and plan enters read-only planning mode. You can also toggle YOLO mode with Ctrl+Y during a session.

What is YOLO mode (--yolo)?

--yolo runs Gemini CLI with all tool actions auto-approved, equivalent to --approval-mode=yolo. It is now recommended to use --approval-mode=yolo instead, as --yolo is marked deprecated. Use with caution — Gemini will execute commands without asking for confirmation.

How do I save and resume a conversation?

Use /chat save <tag> to save the current conversation with a custom tag. Resume it later with /chat resume <tag> or view all saved sessions with /chat list. You can also share a session with /chat share, or resume from the CLI with --resume.

What is GEMINI.md and how does /memory work?

GEMINI.md is a project-level context file that Gemini CLI loads automatically. /memory lets you manage this context: /memory list shows loaded context files, /memory show displays their content, and /memory refresh reloads them without restarting. Use /init to generate a GEMINI.md for your project.

Does this tool store any data I enter?

No. This cheat sheet is a static reference page. No commands, text, or clipboard data are sent to any server. All filtering and copying happen entirely in your browser.