Answer: Install an extension by providing its GitHub repository URL or a local file path using the command `gemini extensions install [--ref ] [--auto-update] [--pre-release] [--consent] [--skip-settings]`. To install from GitHub, you must have `git` installed on your machine. Status: Confirmed Entry: tool/gemini-cli/install-and-setup/install-extension Revision: 1 Digest: sha256:83bc035da4860878 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:18:21Z Last changed: 2026-11-13T03:18:21Z Last verified: 2026-11-20T12:52:39Z Next check: 2026-11-21T12:52:39Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of install command | gemini extensions install [--ref ] [--auto-update] [--pre-release] [--consent] [--skip-settings] | [1] | 2026-11-20 source | The GitHub URL or local path of the extension. | [1] | 2026-11-20 ref option | The git ref (branch, tag, or commit) to install. | [1] | 2026-11-20 GitHub requirement | git | [1] | 2026-11-20 update command | gemini extensions update | [1] | 2026-11-20 Sources: [1] Google. "Extension reference". https://geminicli.com/docs/extensions/reference.md Role: primary. Accessed: 2026-11-20T12:52:39Z Quote: "gemini extensions install [--ref ] [--auto-update] [--pre-release] [--consent] [--skip-settings]" (Supports: install command) Quote: "``: The GitHub URL or local path of the extension." (Supports: source) Quote: "`--ref`: The git ref (branch, tag, or commit) to install." (Supports: ref option) Quote: "To install from GitHub, you must have `git` installed on your machine." (Supports: GitHub requirement) Quote: "You must run `gemini extensions update` to pull changes from the source." (Supports: update command) Published: 2026-10-16T02:36:07Z Snapshot SHA-256: 8b9eecb254df04220b23d56da6d63018abe7c5364122af7dee16b05d63b1fe72 (captured 2026-11-13T03:18:21Z) 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:21Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:52:39Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:52:39Z Last attempt: 2026-11-20T12:52:39Z Notes and limitations: Extracted automatically from a single official source (section "Install an extension"). Related: https://latestn.com/tool/gemini-cli/install-and-setup/install-extensions How do I install Gemini CLI extensions from GitHub or a local path? https://latestn.com/tool/gemini-cli/install-and-setup/install-gemini-cli-npm How do I install Gemini CLI using npm? https://latestn.com/tool/gemini-cli/install-and-setup/install-methods How do I install Gemini CLI? https://latestn.com/tool/gemini-cli/install-and-setup/headless-mode How do I run Gemini CLI in headless mode? https://latestn.com/tool/gemini-cli/install-and-setup/headless-mode-prerequisites What are the prerequisites for using Gemini CLI headless mode? https://latestn.com/tool/gemini-cli/install-and-setup/hook-prerequisites What are the prerequisites for writing hooks in Gemini CLI? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:18:21Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/gemini-cli/install-and-setup/install-extension/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/install-and-setup/install-extension POST: https://latestn.com/dispute/tool/gemini-cli/install-and-setup/install-extension with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/gemini-cli/install-and-setup/install-extension?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I install a Gemini CLI extension from a GitHub repository or local path? Revision 1, last verified 2026-11-20T12:52:39Z. https://latestn.com/tool/gemini-cli/install-and-setup/install-extension (accessed 2026-11-21T09:59:54Z). @misc{LatestN_tool_gemini_cli_install_and_setup_install_extension_r1, title = {How do I install a Gemini CLI extension from a GitHub repository or local path?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/gemini-cli/install-and-setup/install-extension}}, note = {Revision 1; digest sha256:83bc035da4860878; last verified 2026-11-20T12:52:39Z; accessed 2026-11-21T09:59:54Z} } 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/install-and-setup/install-extension