Answer: Gemini CLI configuration is stored in two settings.json files: in your home directory at ~/.gemini/settings.json and in your project's root directory at ./.gemini/settings.json. Status: Confirmed Entry: tool/gemini-cli/settings/config-file-location Revision: 1 Digest: sha256:844f827225a786d9 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:18:55Z Last changed: 2026-11-13T03:18:55Z Last verified: 2026-11-20T12:53:45Z Next check: 2026-11-21T12:53:45Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Home directory settings file | ~/.gemini/settings.json | [1] | 2026-11-20 Project root settings file | ./.gemini/settings.json | [1] | 2026-11-20 Number of settings files | two | [1] | 2026-11-20 Sources: [1] Google. "Frequently asked questions (FAQ)". https://geminicli.com/docs/resources/faq.md Role: primary. Accessed: 2026-11-20T12:53:45Z Quote: "In your home directory: `~/.gemini/settings.json`." (Supports: Home directory settings file) Quote: "In your project's root directory: `./.gemini/settings.json`." (Supports: Project root settings file) Quote: "Gemini CLI configuration is stored in two `settings.json` files:" (Supports: Number of settings files) Published: 2026-10-16T02:36:07Z Snapshot SHA-256: f8d57e1ecf9c92529e47ab46cbcac89c325114c35d7eccaeffceff81aca70de5 (captured 2026-11-13T03:18:55Z) 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:55Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:53:45Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:53:45Z Last attempt: 2026-11-20T12:53:45Z Notes and limitations: Extracted automatically from a single official source (section "Where are Gemini CLI configuration and settings files stored?"). Related: https://latestn.com/tool/gemini-cli/settings/configuration-precedence What is the precedence order of Gemini CLI configuration layers? https://latestn.com/tool/gemini-cli/settings/configure-hooks How do I configure hooks in Gemini CLI? https://latestn.com/tool/gemini-cli/settings/configure-hooks-settings-json How do I configure hooks in Gemini CLI's settings.json? https://latestn.com/tool/gemini-cli/privacy-and-data/usage-statistics-opt-out How do I opt out of usage statistics in Gemini CLI? https://latestn.com/tool/gemini-cli/settings/agent-skill-directory-location Where does Gemini CLI look for Agent Skills on disk? https://latestn.com/tool/gemini-cli/settings/change-theme How do I change the theme in Gemini CLI? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:18:55Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/gemini-cli/settings/config-file-location/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/config-file-location POST: https://latestn.com/dispute/tool/gemini-cli/settings/config-file-location with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/gemini-cli/settings/config-file-location?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). Where are Gemini CLI configuration and settings files stored? Revision 1, last verified 2026-11-20T12:53:45Z. https://latestn.com/tool/gemini-cli/settings/config-file-location (accessed 2026-11-21T09:55:13Z). @misc{LatestN_tool_gemini_cli_settings_config_file_location_r1, title = {Where are Gemini CLI configuration and settings files stored?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/gemini-cli/settings/config-file-location}}, note = {Revision 1; digest sha256:844f827225a786d9; last verified 2026-11-20T12:53:45Z; accessed 2026-11-21T09:55:13Z} } 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/config-file-location