Answer: You can install Gemini CLI globally with npm using `npm install -g @google/gemini-cli`, or with Homebrew using `brew install gemini-cli`. Other options include MacPorts (`sudo port install gemini-cli`) and Anaconda for restricted environments. Status: Confirmed Entry: tool/gemini-cli/install-and-setup/install-methods Revision: 1 Digest: sha256:997505e68595e702 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:18:30Z Last changed: 2026-11-13T03:18:30Z Last verified: 2026-11-20T12:52:56Z Next check: 2026-11-21T12:52:56Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of npm install command | npm install -g @google/gemini-cli | [1] | 2026-11-20 Homebrew install command | brew install gemini-cli | [1] | 2026-11-20 MacPorts install command | sudo port install gemini-cli | [1] | 2026-11-20 Anaconda environment command | conda create -y -n gemini_env -c conda-forge nodejs | [1] | 2026-11-20 Sources: [1] Google. "Gemini CLI installation, execution, and releases". https://geminicli.com/docs/get-started/installation.md Role: primary. Accessed: 2026-11-20T12:52:56Z Quote: "npm install -g @google/gemini-cli" (Supports: npm install command) Quote: "brew install gemini-cli" (Supports: Homebrew install command) Quote: "sudo port install gemini-cli" (Supports: MacPorts install command) Quote: "conda create -y -n gemini_env -c conda-forge nodejs" (Supports: Anaconda environment command) Published: 2026-10-16T02:36:07Z Snapshot SHA-256: 8bf426385e0861cabc49a2337a45132278b1f7bdbfb70cac8c5578a314db1561 (captured 2026-11-13T03:18:29Z) 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:30Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:52:56Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:52:56Z Last attempt: 2026-11-20T12:52:56Z Notes and limitations: Extracted automatically from a single official source (section "Install Gemini CLI"). Related: https://latestn.com/tool/gemini-cli/install-and-setup/install-uninstall-skill-terminal How do I install or uninstall an Agent Skill in Gemini CLI using terminal utilities? https://latestn.com/tool/gemini-cli/install-and-setup/install-vscode-companion-extension How do I install the Gemini CLI VS Code companion extension? https://latestn.com/tool/gemini-cli/install-and-setup/link-extension How do I link my Gemini CLI extension for local development? https://latestn.com/tool/gemini-cli/install-and-setup/install-extension How do I install a Gemini CLI extension from a GitHub repository or local path? 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/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:18:30Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/gemini-cli/install-and-setup/install-methods/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-methods POST: https://latestn.com/dispute/tool/gemini-cli/install-and-setup/install-methods 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-methods?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I install Gemini CLI? Revision 1, last verified 2026-11-20T12:52:56Z. https://latestn.com/tool/gemini-cli/install-and-setup/install-methods (accessed 2026-11-21T09:53:47Z). @misc{LatestN_tool_gemini_cli_install_and_setup_install_methods_r1, title = {How do I install Gemini CLI?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/gemini-cli/install-and-setup/install-methods}}, note = {Revision 1; digest sha256:997505e68595e702; last verified 2026-11-20T12:52:56Z; accessed 2026-11-21T09:53:47Z} } 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-methods