René's URL Explorer Experiment


Title: Gemini CLI documentation | Gemini CLI

Open Graph Title: Gemini CLI documentation

Opengraph URL: https://geminicli.com/docs/

Generator: Starlight v0.36.1

direct link

Domain: geminicli.com

og:typearticle
og:localeen
og:site_nameGemini CLI
twitter:cardsummary_large_image
og:imagehttps://geminicli.com/assets/social-poster.png
twitter:imagehttps://geminicli.com/assets/social-poster.png

Links:

Skip to contenthttps://geminicli.com/docs/#_top
blog posthttps://developers.googleblog.com/an-important-update-transitioning-gemini-cli-to-antigravity-cli
Gemini CLI https://geminicli.com/
Home https://geminicli.com/
Plans https://geminicli.com/plans/
Browse extensions https://geminicli.com/extensions/
About Extensions https://geminicli.com/extensions/about
Docs https://geminicli.com/docs/
Reference https://geminicli.com/docs/reference/commands
Resources https://geminicli.com/docs/resources/quota-and-pricing
Changelog https://geminicli.com/docs/changelogs/
Feedbackhttps://github.com/google-gemini/gemini-cli/issues/new?template=website_issue.yml&url=https%3A%2F%2Fgeminicli.com%2Fdocs%2F
GitHub GitHub https://github.com/google-gemini/gemini-cli
Home https://geminicli.com/
Plans https://geminicli.com/plans/
Browse extensions https://geminicli.com/extensions/
About Extensions https://geminicli.com/extensions/about
Overview https://geminicli.com/docs/
Quickstart https://geminicli.com/docs/get-started/
Installation https://geminicli.com/docs/get-started/installation/
Authentication https://geminicli.com/docs/get-started/authentication/
CLI cheatsheet https://geminicli.com/docs/cli/cli-reference/
Gemini 3 on Gemini CLI https://geminicli.com/docs/get-started/gemini-3/
File management https://geminicli.com/docs/cli/tutorials/file-management/
Get started with Agent Skills https://geminicli.com/docs/cli/tutorials/skills-getting-started/
Manage context and memory https://geminicli.com/docs/cli/tutorials/memory-management/
Execute shell commands https://geminicli.com/docs/cli/tutorials/shell-commands/
Manage sessions and history https://geminicli.com/docs/cli/tutorials/session-management/
Plan tasks with todos https://geminicli.com/docs/cli/tutorials/task-planning/
Use Plan Mode with model steering 🔬 https://geminicli.com/docs/cli/tutorials/plan-mode-steering/
Web search and fetch https://geminicli.com/docs/cli/tutorials/web-tools/
Set up an MCP server https://geminicli.com/docs/cli/tutorials/mcp-setup/
Automate tasks https://geminicli.com/docs/cli/tutorials/automation/
Overview https://geminicli.com/docs/extensions/
User guide: Install and manage https://geminicli.com/docs/extensions/#manage-extensions
Developer guide: Build extensions https://geminicli.com/docs/extensions/writing-extensions/
Developer guide: Best practices https://geminicli.com/docs/extensions/best-practices/
Developer guide: Releasing https://geminicli.com/docs/extensions/releasing/
Developer guide: Reference https://geminicli.com/docs/extensions/reference/
Overview https://geminicli.com/docs/cli/skills/
Get started with Agent Skills https://geminicli.com/docs/cli/tutorials/skills-getting-started/
Creating Agent Skills https://geminicli.com/docs/cli/creating-skills/
Using Agent Skills https://geminicli.com/docs/cli/using-agent-skills/
Developer guide: Best practices https://geminicli.com/docs/cli/skills-best-practices/
Auto Memory 🔬 https://geminicli.com/docs/cli/auto-memory/
Checkpointing https://geminicli.com/docs/cli/checkpointing/
Headless mode https://geminicli.com/docs/cli/headless/
Git worktrees 🔬 https://geminicli.com/docs/cli/git-worktrees/
Overview https://geminicli.com/docs/hooks/
Reference https://geminicli.com/docs/hooks/reference/
Overview https://geminicli.com/docs/ide-integration/
Developer guide: ACP mode https://geminicli.com/docs/cli/acp-mode/
Overview https://geminicli.com/docs/tools/mcp-server/
Resource tools https://geminicli.com/docs/tools/mcp-resources/
Model routing https://geminicli.com/docs/cli/model-routing/
Model selection https://geminicli.com/docs/cli/model/
Model steering 🔬 https://geminicli.com/docs/cli/model-steering/
Notifications 🔬 https://geminicli.com/docs/cli/notifications/
Plan mode https://geminicli.com/docs/cli/plan-mode/
Subagents https://geminicli.com/docs/core/subagents/
Remote subagents https://geminicli.com/docs/core/remote-agents/
Rewind https://geminicli.com/docs/cli/rewind/
Sandboxing https://geminicli.com/docs/cli/sandbox/
Settings https://geminicli.com/docs/cli/settings/
Telemetry https://geminicli.com/docs/cli/telemetry/
Token caching https://geminicli.com/docs/cli/token-caching/
Custom commands https://geminicli.com/docs/cli/custom-commands/
Enterprise configuration https://geminicli.com/docs/cli/enterprise/
Ignore files (.geminiignore) https://geminicli.com/docs/cli/gemini-ignore/
Model configuration https://geminicli.com/docs/cli/generation-settings/
Project context (GEMINI.md) https://geminicli.com/docs/cli/gemini-md/
Settings https://geminicli.com/docs/cli/settings/
System prompt override https://geminicli.com/docs/cli/system-prompt/
Themes https://geminicli.com/docs/cli/themes/
Trusted folders https://geminicli.com/docs/cli/trusted-folders/
Contribution guide https://geminicli.com/docs/contributing/
Integration testing https://geminicli.com/docs/integration-tests/
Issue and PR automation https://geminicli.com/docs/issue-and-pr-automation/
Local development https://geminicli.com/docs/local-development/
NPM package structure https://geminicli.com/docs/npm/
Command reference https://geminicli.com/docs/reference/commands/
Configuration reference https://geminicli.com/docs/reference/configuration/
Keyboard shortcuts https://geminicli.com/docs/reference/keyboard-shortcuts/
Memory import processor https://geminicli.com/docs/reference/memport/
Policy engine https://geminicli.com/docs/reference/policy-engine/
Tools reference https://geminicli.com/docs/reference/tools/
FAQ https://geminicli.com/docs/resources/faq/
Quota and pricing https://geminicli.com/docs/resources/quota-and-pricing/
Terms and privacy https://geminicli.com/docs/resources/tos-privacy/
Troubleshooting https://geminicli.com/docs/resources/troubleshooting/
Uninstall https://geminicli.com/docs/resources/uninstall/
Release notes https://geminicli.com/docs/changelogs/
Stable release https://geminicli.com/docs/changelogs/latest/
Preview release https://geminicli.com/docs/changelogs/preview/
Overview https://geminicli.com/docs/
Quickstart https://geminicli.com/docs/get-started/
Installation https://geminicli.com/docs/get-started/installation/
Authentication https://geminicli.com/docs/get-started/authentication/
CLI cheatsheet https://geminicli.com/docs/cli/cli-reference/
Gemini 3 on Gemini CLI https://geminicli.com/docs/get-started/gemini-3/
File management https://geminicli.com/docs/cli/tutorials/file-management/
Get started with Agent Skills https://geminicli.com/docs/cli/tutorials/skills-getting-started/
Manage context and memory https://geminicli.com/docs/cli/tutorials/memory-management/
Execute shell commands https://geminicli.com/docs/cli/tutorials/shell-commands/
Manage sessions and history https://geminicli.com/docs/cli/tutorials/session-management/
Plan tasks with todos https://geminicli.com/docs/cli/tutorials/task-planning/
Use Plan Mode with model steering 🔬 https://geminicli.com/docs/cli/tutorials/plan-mode-steering/
Web search and fetch https://geminicli.com/docs/cli/tutorials/web-tools/
Set up an MCP server https://geminicli.com/docs/cli/tutorials/mcp-setup/
Automate tasks https://geminicli.com/docs/cli/tutorials/automation/
Overview https://geminicli.com/docs/extensions/
User guide: Install and manage https://geminicli.com/docs/extensions/#manage-extensions
Developer guide: Build extensions https://geminicli.com/docs/extensions/writing-extensions/
Developer guide: Best practices https://geminicli.com/docs/extensions/best-practices/
Developer guide: Releasing https://geminicli.com/docs/extensions/releasing/
Developer guide: Reference https://geminicli.com/docs/extensions/reference/
Overview https://geminicli.com/docs/cli/skills/
Get started with Agent Skills https://geminicli.com/docs/cli/tutorials/skills-getting-started/
Creating Agent Skills https://geminicli.com/docs/cli/creating-skills/
Using Agent Skills https://geminicli.com/docs/cli/using-agent-skills/
Developer guide: Best practices https://geminicli.com/docs/cli/skills-best-practices/
Auto Memory 🔬 https://geminicli.com/docs/cli/auto-memory/
Checkpointing https://geminicli.com/docs/cli/checkpointing/
Headless mode https://geminicli.com/docs/cli/headless/
Git worktrees 🔬 https://geminicli.com/docs/cli/git-worktrees/
Overview https://geminicli.com/docs/hooks/
Reference https://geminicli.com/docs/hooks/reference/
Overview https://geminicli.com/docs/ide-integration/
Developer guide: ACP mode https://geminicli.com/docs/cli/acp-mode/
Overview https://geminicli.com/docs/tools/mcp-server/
Resource tools https://geminicli.com/docs/tools/mcp-resources/
Model routing https://geminicli.com/docs/cli/model-routing/
Model selection https://geminicli.com/docs/cli/model/
Model steering 🔬 https://geminicli.com/docs/cli/model-steering/
Notifications 🔬 https://geminicli.com/docs/cli/notifications/
Plan mode https://geminicli.com/docs/cli/plan-mode/
Subagents https://geminicli.com/docs/core/subagents/
Remote subagents https://geminicli.com/docs/core/remote-agents/
Rewind https://geminicli.com/docs/cli/rewind/
Sandboxing https://geminicli.com/docs/cli/sandbox/
Settings https://geminicli.com/docs/cli/settings/
Telemetry https://geminicli.com/docs/cli/telemetry/
Token caching https://geminicli.com/docs/cli/token-caching/
Custom commands https://geminicli.com/docs/cli/custom-commands/
Enterprise configuration https://geminicli.com/docs/cli/enterprise/
Ignore files (.geminiignore) https://geminicli.com/docs/cli/gemini-ignore/
Model configuration https://geminicli.com/docs/cli/generation-settings/
Project context (GEMINI.md) https://geminicli.com/docs/cli/gemini-md/
Settings https://geminicli.com/docs/cli/settings/
System prompt override https://geminicli.com/docs/cli/system-prompt/
Themes https://geminicli.com/docs/cli/themes/
Trusted folders https://geminicli.com/docs/cli/trusted-folders/
Contribution guide https://geminicli.com/docs/contributing/
Integration testing https://geminicli.com/docs/integration-tests/
Issue and PR automation https://geminicli.com/docs/issue-and-pr-automation/
Local development https://geminicli.com/docs/local-development/
NPM package structure https://geminicli.com/docs/npm/
GitHubhttps://github.com/google-gemini/gemini-cli
Command reference https://geminicli.com/docs/reference/commands/
Configuration reference https://geminicli.com/docs/reference/configuration/
Keyboard shortcuts https://geminicli.com/docs/reference/keyboard-shortcuts/
Memory import processor https://geminicli.com/docs/reference/memport/
Policy engine https://geminicli.com/docs/reference/policy-engine/
Tools reference https://geminicli.com/docs/reference/tools/
GitHubhttps://github.com/google-gemini/gemini-cli
FAQ https://geminicli.com/docs/resources/faq/
Quota and pricing https://geminicli.com/docs/resources/quota-and-pricing/
Terms and privacy https://geminicli.com/docs/resources/tos-privacy/
Troubleshooting https://geminicli.com/docs/resources/troubleshooting/
Uninstall https://geminicli.com/docs/resources/uninstall/
GitHubhttps://github.com/google-gemini/gemini-cli
Release notes https://geminicli.com/docs/changelogs/
Stable release https://geminicli.com/docs/changelogs/latest/
Preview release https://geminicli.com/docs/changelogs/preview/
GitHubhttps://github.com/google-gemini/gemini-cli
Introduction https://geminicli.com/docs/#_top
Install https://geminicli.com/docs/#install
Get started https://geminicli.com/docs/#get-started
Use Gemini CLI https://geminicli.com/docs/#use-gemini-cli
Features https://geminicli.com/docs/#features
Configuration https://geminicli.com/docs/#configuration
Reference https://geminicli.com/docs/#reference
Resources https://geminicli.com/docs/#resources
Development https://geminicli.com/docs/#development
Releases https://geminicli.com/docs/#releases
Introduction https://geminicli.com/docs/#_top
Install https://geminicli.com/docs/#install
Get started https://geminicli.com/docs/#get-started
Use Gemini CLI https://geminicli.com/docs/#use-gemini-cli
Features https://geminicli.com/docs/#features
Configuration https://geminicli.com/docs/#configuration
Reference https://geminicli.com/docs/#reference
Resources https://geminicli.com/docs/#resources
Development https://geminicli.com/docs/#development
Releases https://geminicli.com/docs/#releases
Section titled “Install”https://geminicli.com/docs/#install
Section titled “Get started”https://geminicli.com/docs/#get-started
Quickstarthttps://geminicli.com/docs/get-started
Installationhttps://geminicli.com/docs/get-started/installation
Authenticationhttps://geminicli.com/docs/get-started/authentication
CLI cheatsheethttps://geminicli.com/docs/cli/cli-reference
Gemini 3 on Gemini CLIhttps://geminicli.com/docs/get-started/gemini-3
Section titled “Use Gemini CLI”https://geminicli.com/docs/#use-gemini-cli
File managementhttps://geminicli.com/docs/cli/tutorials/file-management
Get started with Agent skillshttps://geminicli.com/docs/cli/tutorials/skills-getting-started
Manage context and memoryhttps://geminicli.com/docs/cli/tutorials/memory-management
Execute shell commandshttps://geminicli.com/docs/cli/tutorials/shell-commands
Manage sessions and historyhttps://geminicli.com/docs/cli/tutorials/session-management
Plan tasks with todoshttps://geminicli.com/docs/cli/tutorials/task-planning
Web search and fetchhttps://geminicli.com/docs/cli/tutorials/web-tools
Set up an MCP serverhttps://geminicli.com/docs/cli/tutorials/mcp-setup
Automate taskshttps://geminicli.com/docs/cli/tutorials/automation
Section titled “Features”https://geminicli.com/docs/#features
Extensionshttps://geminicli.com/docs/extensions
Agent Skillshttps://geminicli.com/docs/cli/skills
Checkpointinghttps://geminicli.com/docs/cli/checkpointing
Headless modehttps://geminicli.com/docs/cli/headless
Hookshttps://geminicli.com/docs/hooks
IDE integrationhttps://geminicli.com/docs/ide-integration
MCP servershttps://geminicli.com/docs/tools/mcp-server
Model routinghttps://geminicli.com/docs/cli/model-routing
Model selectionhttps://geminicli.com/docs/cli/model
Plan mode 🔬https://geminicli.com/docs/cli/plan-mode
Subagents 🔬https://geminicli.com/docs/core/subagents
Remote subagents 🔬https://geminicli.com/docs/core/remote-agents
Rewindhttps://geminicli.com/docs/cli/rewind
Sandboxinghttps://geminicli.com/docs/cli/sandbox
Settingshttps://geminicli.com/docs/cli/settings
Telemetryhttps://geminicli.com/docs/cli/telemetry
Token cachinghttps://geminicli.com/docs/cli/token-caching
Section titled “Configuration”https://geminicli.com/docs/#configuration
Custom commandshttps://geminicli.com/docs/cli/custom-commands
Enterprise configurationhttps://geminicli.com/docs/cli/enterprise
Ignore files (.geminiignore)https://geminicli.com/docs/cli/gemini-ignore
Model configurationhttps://geminicli.com/docs/cli/generation-settings
Project context (GEMINI.md)https://geminicli.com/docs/cli/gemini-md
System prompt overridehttps://geminicli.com/docs/cli/system-prompt
Themeshttps://geminicli.com/docs/cli/themes
Trusted foldershttps://geminicli.com/docs/cli/trusted-folders
Section titled “Reference”https://geminicli.com/docs/#reference
Command referencehttps://geminicli.com/docs/reference/commands
Configuration referencehttps://geminicli.com/docs/reference/configuration
Keyboard shortcutshttps://geminicli.com/docs/reference/keyboard-shortcuts
Memory import processorhttps://geminicli.com/docs/reference/memport
Policy enginehttps://geminicli.com/docs/reference/policy-engine
Tools referencehttps://geminicli.com/docs/reference/tools
Section titled “Resources”https://geminicli.com/docs/#resources
FAQhttps://geminicli.com/docs/resources/faq
Quota and pricinghttps://geminicli.com/docs/resources/quota-and-pricing
Terms and privacyhttps://geminicli.com/docs/resources/tos-privacy
Troubleshootinghttps://geminicli.com/docs/resources/troubleshooting
Uninstallhttps://geminicli.com/docs/resources/uninstall
Section titled “Development”https://geminicli.com/docs/#development
Contribution guidehttps://geminicli.com/docs/contributing
Integration testinghttps://geminicli.com/docs/integration-tests
Issue and PR automationhttps://geminicli.com/docs/issue-and-pr-automation
Local developmenthttps://geminicli.com/docs/local-development
NPM package structurehttps://geminicli.com/docs/npm
Section titled “Releases”https://geminicli.com/docs/#releases
Release noteshttps://geminicli.com/docs/changelogs
Stable releasehttps://geminicli.com/docs/changelogs/latest
Preview releasehttps://geminicli.com/docs/changelogs/preview
cookieshttps://policies.google.com/technologies/cookies
Termshttps://geminicli.com/terms
Privacyhttps://policies.google.com/privacy

Viewport: width=device-width, initial-scale=1


URLs of crawlers that visited me.