Answer: To enable interactive commands, set the `tools.shell.enableInteractiveShell` setting to `true`. This uses `node-pty` for shell command execution, allowing interactive sessions. Status: Confirmed Entry: tool/gemini-cli/settings/enable-interactive-commands Revision: 1 Digest: sha256:1a168765f45ea1bd (changes whenever the content changes) Timeline: Created: 2026-11-13T03:19:13Z Last changed: 2026-11-13T03:19:13Z Last verified: 2026-11-20T12:54:17Z Next check: 2026-11-21T12:54:17Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Setting | tools.shell.enableInteractiveShell | [1] | 2026-11-20 Required value | true | [1] | 2026-11-20 Backend used | node-pty | [1] | 2026-11-20 Fallback implementation | child_process | [1] | 2026-11-20 Sources: [1] Google. "Shell tool (`run_shell_command`)". https://geminicli.com/docs/tools/shell.md Role: primary. Accessed: 2026-11-20T12:54:17Z Quote: "you need to set the `tools.shell.enableInteractiveShell` setting to `true`" (Supports: Setting) Quote: "`tools.shell.enableInteractiveShell` setting to `true`" (Supports: Required value) Quote: "This will use `node-pty` for shell command execution, which allows for interactive sessions." (Supports: Backend used) Quote: "it will fall back to the `child_process` implementation, which does not support interactive commands." (Supports: Fallback implementation) Published: 2026-10-16T02:36:07Z Snapshot SHA-256: 7bdbf5c8def3f044e556d744a6cc6e519f031fe648f537e489288009af75ff1f (captured 2026-11-13T03:19:13Z) 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:19:13Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:54:17Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:54:17Z Last attempt: 2026-11-20T12:54:17Z Notes and limitations: Extracted automatically from a single official source (section "Enabling interactive commands"). Related: https://latestn.com/tool/gemini-cli/settings/enable-model-steering How do I enable model steering in Gemini CLI? https://latestn.com/tool/gemini-cli/settings/enable-notifications How do I enable notifications in Gemini CLI? https://latestn.com/tool/gemini-cli/settings/enable-plan-mode-model-steering How do I enable Plan Mode and model steering in Gemini CLI? https://latestn.com/tool/gemini-cli/settings/enable-disable-ide-integration How do I enable or disable the Gemini CLI IDE integration? https://latestn.com/tool/gemini-cli/settings/enable-geminiignore How do I enable .geminiignore in Gemini CLI? https://latestn.com/tool/gemini-cli/settings/enable-git-worktrees How do I enable Git worktrees in Gemini CLI? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:19:13Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/gemini-cli/settings/enable-interactive-commands/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/settings/enable-interactive-commands POST: https://latestn.com/dispute/tool/gemini-cli/settings/enable-interactive-commands with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/gemini-cli/settings/enable-interactive-commands?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I enable interactive commands for the Gemini CLI shell tool? Revision 1, last verified 2026-11-20T12:54:17Z. https://latestn.com/tool/gemini-cli/settings/enable-interactive-commands (accessed 2026-11-21T09:53:28Z). @misc{LatestN_tool_gemini_cli_settings_enable_interactive_commands_r1, title = {How do I enable interactive commands for the Gemini CLI shell tool?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/gemini-cli/settings/enable-interactive-commands}}, note = {Revision 1; digest sha256:1a168765f45ea1bd; last verified 2026-11-20T12:54:17Z; accessed 2026-11-21T09:53:28Z} } 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/settings/enable-interactive-commands