Answer: You set a custom pager for the shell output by setting the `tools.shell.pager` setting. The default pager is `cat`, and this setting only applies when `tools.shell.enableInteractiveShell` is enabled. Status: Confirmed Entry: tool/gemini-cli/settings/set-pager Revision: 1 Digest: sha256:63295f1850040a53 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:19:14Z Last changed: 2026-11-13T03:19:14Z Last verified: 2026-11-20T12:54:18Z Next check: 2026-11-21T12:54:18Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of setting | tools.shell.pager | [1] | 2026-11-20 default pager | cat | [1] | 2026-11-20 required setting | tools.shell.enableInteractiveShell | [1] | 2026-11-20 example pager | less | [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:18Z Quote: "You can set a custom pager for the shell output by setting the `tools.shell.pager` setting." (Supports: setting) Quote: "The default pager is `cat`." (Supports: default pager) Quote: "This setting only applies when `tools.shell.enableInteractiveShell` is enabled." (Supports: required setting) Quote: ""pager": "less"" (Supports: example pager) 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:14Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:54:18Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:54:18Z Last attempt: 2026-11-20T12:54:18Z Notes and limitations: Extracted automatically from a single official source (section "Setting the pager"). Related: https://latestn.com/tool/gemini-cli/settings/settings-file-locations Where are Gemini CLI settings stored and which file overrides which? https://latestn.com/tool/gemini-cli/settings/settings-reference-categories What settings categories and options are available in Gemini CLI? https://latestn.com/tool/gemini-cli/settings/show-color-in-output How do I show color in the output of the Gemini CLI shell tool? https://latestn.com/tool/gemini-cli/settings/restart-after-geminiignore-change Do I need to restart Gemini CLI after changing .geminiignore? https://latestn.com/tool/gemini-cli/settings/session-retention-limits How do I configure session retention and session limits in Gemini CLI? https://latestn.com/tool/gemini-cli/settings/set-gcp-project How do I set my Google Cloud project for Gemini CLI? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:19:14Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/gemini-cli/settings/set-pager/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/set-pager POST: https://latestn.com/dispute/tool/gemini-cli/settings/set-pager with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/gemini-cli/settings/set-pager?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I set the pager for the Gemini CLI shell tool? Revision 1, last verified 2026-11-20T12:54:18Z. https://latestn.com/tool/gemini-cli/settings/set-pager (accessed 2026-11-21T09:53:32Z). @misc{LatestN_tool_gemini_cli_settings_set_pager_r1, title = {How do I set the pager for the Gemini CLI shell tool?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/gemini-cli/settings/set-pager}}, note = {Revision 1; digest sha256:63295f1850040a53; last verified 2026-11-20T12:54:18Z; accessed 2026-11-21T09:53:32Z} } 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/set-pager