Answer: Gemini CLI settings are stored in a `settings.json` file, with user settings at `~/.gemini/settings.json` and workspace settings at `your-project/.gemini/settings.json`. Workspace settings override user settings. Status: Confirmed Entry: tool/gemini-cli/settings/settings-file-locations Revision: 1 Digest: sha256:712a8863b6a455d1 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:17:44Z Last changed: 2026-11-13T03:17:44Z Last verified: 2026-11-20T12:51:24Z Next check: 2026-11-21T12:51:24Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Settings file | settings.json | [1] | 2026-11-20 User settings location | ~/.gemini/settings.json | [1] | 2026-11-20 Workspace settings location | your-project/.gemini/settings.json | [1] | 2026-11-20 Override rule | Workspace settings override user settings. | [1] | 2026-11-20 Sources: [1] Google. "Gemini CLI settings (`/settings` command)". https://geminicli.com/docs/cli/settings.md Role: primary. Accessed: 2026-11-20T12:51:24Z Quote: "Your Gemini CLI settings are stored in a `settings.json` file." (Supports: Settings file) Quote: "**User settings**: `~/.gemini/settings.json`" (Supports: User settings location) Quote: "**Workspace settings**: `your-project/.gemini/settings.json`" (Supports: Workspace settings location) Quote: "Workspace settings override user settings." (Supports: Override rule) Published: 2026-10-16T02:36:07Z Snapshot SHA-256: be5edf443e30b8a23cb7817983b88c5268e47d8b6afd7a88c71fe65fcdcd8a89 (captured 2026-11-13T03:17:44Z) 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:17:44Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:51:24Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:51:24Z Last attempt: 2026-11-20T12:51:24Z Notes and limitations: Extracted automatically from a single official source (section "Gemini CLI settings (`/settings` command)"). Related: 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/skill-discovery-precedence Where does Gemini CLI look for Agent Skills and which location takes precedence? 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/gemini-cli/settings/set-pager How do I set the pager for the Gemini CLI shell tool? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:17:44Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/gemini-cli/settings/settings-file-locations/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/settings-file-locations POST: https://latestn.com/dispute/tool/gemini-cli/settings/settings-file-locations with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/gemini-cli/settings/settings-file-locations?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). Where are Gemini CLI settings stored and which file overrides which? Revision 1, last verified 2026-11-20T12:51:24Z. https://latestn.com/tool/gemini-cli/settings/settings-file-locations (accessed 2026-11-21T09:59:11Z). @misc{LatestN_tool_gemini_cli_settings_settings_file_locations_r1, title = {Where are Gemini CLI settings stored and which file overrides which?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/gemini-cli/settings/settings-file-locations}}, note = {Revision 1; digest sha256:712a8863b6a455d1; last verified 2026-11-20T12:51:24Z; accessed 2026-11-21T09:59:11Z} } 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/settings-file-locations