Answer: Gemini CLI supports relative paths and absolute paths for GEMINI.md imports. Relative paths include `@./file.md`, `@../file.md`, and `@./components/file.md`, while absolute paths use `@/absolute/path/to/file.md`. Status: Confirmed Entry: tool/gemini-cli/memory-and-context/import-path-formats Revision: 1 Digest: sha256:780bf5b6036c12cf (changes whenever the content changes) Timeline: Created: 2026-11-13T03:18:49Z Last changed: 2026-11-13T03:18:49Z Last verified: 2026-11-20T12:53:32Z Next check: 2026-11-21T12:53:32Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Relative path (same directory) | @./file.md | [1] | 2026-11-20 Relative path (parent directory) | @../file.md | [1] | 2026-11-20 Relative path (subdirectory) | @./components/file.md | [1] | 2026-11-20 Absolute path | @/absolute/path/to/file.md | [1] | 2026-11-20 Sources: [1] Google. "Memory Import Processor". https://geminicli.com/docs/reference/memport.md Role: primary. Accessed: 2026-11-20T12:53:32Z Quote: "- `@./file.md` - Import from the same directory" (Supports: Relative path (same directory)) Quote: "- `@../file.md` - Import from parent directory" (Supports: Relative path (parent directory)) Quote: "- `@./components/file.md` - Import from subdirectory" (Supports: Relative path (subdirectory)) Quote: "- `@/absolute/path/to/file.md` - Import using absolute path" (Supports: Absolute path) Published: 2026-10-16T02:36:07Z Snapshot SHA-256: 1850b6649a5afedd9bb9282c9e3e8f0127fee704b76ac686432c322ad91727d0 (captured 2026-11-13T03:18:48Z) 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:49Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:53:32Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:53:32Z Last attempt: 2026-11-20T12:53:32Z Notes and limitations: Extracted automatically from a single official source (section "Supported path formats"). Related: https://latestn.com/tool/gemini-cli/memory-and-context/include-directory-context How do I include an entire directory as context in Gemini CLI? https://latestn.com/tool/gemini-cli/memory-and-context/include-multiple-files How do I include multiple files in a single Gemini CLI prompt? https://latestn.com/tool/gemini-cli/memory-and-context/memory-file-locations Where does Gemini CLI store project-specific and global memory files? https://latestn.com/tool/gemini-cli/memory-and-context/disable-auto-memory How do I disable Auto Memory in Gemini CLI? https://latestn.com/tool/gemini-cli/memory-and-context/enable-auto-memory How do I enable Auto Memory in Gemini CLI? https://latestn.com/tool/gemini-cli/memory-and-context/import-file-syntax How do I import another file into a GEMINI.md file in Gemini CLI? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:18:49Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/gemini-cli/memory-and-context/import-path-formats/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/memory-and-context/import-path-formats POST: https://latestn.com/dispute/tool/gemini-cli/memory-and-context/import-path-formats with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/gemini-cli/memory-and-context/import-path-formats?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). Which path formats can Gemini CLI use for GEMINI.md imports? Revision 1, last verified 2026-11-20T12:53:32Z. https://latestn.com/tool/gemini-cli/memory-and-context/import-path-formats (accessed 2026-11-21T09:59:49Z). @misc{LatestN_tool_gemini_cli_memory_and_context_import_path_formats_r1, title = {Which path formats can Gemini CLI use for GEMINI.md imports?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/gemini-cli/memory-and-context/import-path-formats}}, note = {Revision 1; digest sha256:780bf5b6036c12cf; last verified 2026-11-20T12:53:32Z; accessed 2026-11-21T09:59:49Z} } 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/memory-and-context/import-path-formats