Answer: For most users, Gemini CLI is run with the `gemini` command. You can also run it instantly with npx using `npx @google/gemini-cli`, or via Docker/Podman sandbox or from source. Status: Confirmed Entry: tool/gemini-cli/commands-and-shortcuts/run-command Revision: 1 Digest: sha256:cf9e29fd76dcea58 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:18:30Z Last changed: 2026-11-13T03:18:30Z Last verified: 2026-11-20T12:52:56Z Next check: 2026-11-21T12:52:56Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of recommended command | gemini | [1] | 2026-11-20 npx command | npx @google/gemini-cli | [1] | 2026-11-20 npx from GitHub | npx https://github.com/google-gemini/gemini-cli | [1] | 2026-11-20 sandbox flag command | gemini --sandbox -y -p "your prompt here" | [1] | 2026-11-20 docker sandbox image | us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.42.0-nightly.20260428.g59b2dea0e | [1] | 2026-11-20 development mode command | npm run start | [1] | 2026-11-20 Sources: [1] Google. "Gemini CLI installation, execution, and releases". https://geminicli.com/docs/get-started/installation.md Role: primary. Accessed: 2026-11-20T12:52:56Z Quote: "we recommend running Gemini CLI with the `gemini` command" (Supports: recommended command) Quote: "npx @google/gemini-cli" (Supports: npx command) Quote: "npx https://github.com/google-gemini/gemini-cli" (Supports: npx from GitHub) Quote: "gemini --sandbox -y -p "your prompt here"" (Supports: sandbox flag command) Quote: "docker run --rm -it us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.42.0-nightly.20260428.g59b2dea0e" (Supports: docker sandbox image) Quote: "npm run start" (Supports: development mode command) Published: 2026-10-16T02:36:07Z Snapshot SHA-256: 8bf426385e0861cabc49a2337a45132278b1f7bdbfb70cac8c5578a314db1561 (captured 2026-11-13T03:18:29Z) 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:18:30Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:52:56Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:52:56Z Last attempt: 2026-11-20T12:52:56Z Notes and limitations: Extracted automatically from a single official source (section "Run Gemini CLI"). Related: https://latestn.com/tool/gemini-cli/commands-and-shortcuts/run-eval-inventory-json How do I run the Gemini CLI eval inventory command and get JSON output? https://latestn.com/tool/gemini-cli/commands-and-shortcuts/run-shell-command-arguments What arguments does the Gemini CLI run_shell_command tool accept? https://latestn.com/tool/gemini-cli/commands-and-shortcuts/start-acp-mode How do I start Gemini CLI in ACP mode? https://latestn.com/tool/gemini-cli/commands-and-shortcuts/resume-last-session How do I resume my last Gemini CLI session? https://latestn.com/tool/gemini-cli/commands-and-shortcuts/resume-session-cli How do I resume a previous Gemini CLI session from the command line? https://latestn.com/tool/gemini-cli/commands-and-shortcuts/rewind-command-usage How do I use the /rewind command in Gemini CLI? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:18:30Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/gemini-cli/commands-and-shortcuts/run-command/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/run-command POST: https://latestn.com/dispute/tool/gemini-cli/commands-and-shortcuts/run-command with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/gemini-cli/commands-and-shortcuts/run-command?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I run Gemini CLI? Revision 1, last verified 2026-11-20T12:52:56Z. https://latestn.com/tool/gemini-cli/commands-and-shortcuts/run-command (accessed 2026-11-21T09:56:42Z). @misc{LatestN_tool_gemini_cli_commands_and_shortcuts_run_command_r1, title = {How do I run Gemini CLI?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/gemini-cli/commands-and-shortcuts/run-command}}, note = {Revision 1; digest sha256:cf9e29fd76dcea58; last verified 2026-11-20T12:52:56Z; accessed 2026-11-21T09:56:42Z} } 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/run-command