gemini-cli install guide

Install gemini-cli on macOS and Linux

★ 107k stars macOS and Linux README verified

Install gemini-cli with one command

Pick your system, reveal the command, copy it, paste it into your terminal and press Enter. This command was taken from the project's own documentation and checked against it.

PowerShell not published

What exactly does this do?

Open Terminal. On a Mac it's in Applications ▸ Utilities, or press Cmd+Space and type Terminal. On Linux, press Ctrl+Alt+T. Paste the command and press Enter.

Run gemini-cli --help to see the available commands, and gemini-cli --version to confirm the install worked. If your shell complains about permissions, that project usually documents a corrected command on its own site.

This asks Homebrew to fetch gemini-cli and link it into /opt/homebrew/bin (Apple Silicon) or /usr/local/bin (Intel), so you can run it by name.

What gemini-cli does

  • Built-in tools: Google Search grounding, file operations, shell
  • Run non-interactively in scripts for workflow automation
  • Free tier: 60 requests/min and 1,000 requests/day with personal Google
  • Powerful Gemini 3 models: Access to improved reasoning and 1M token
  • Query and edit large codebases
  • Generate new apps from PDFs, images, or sketches using multimodal capabilities

Summarised from gemini-cli's own README.

About gemini-cli

gemini-cli is an open-source developer tool.

CategoryCommand-line tool
Install methodHomebrew
Windowsno install command published
macOS / Linuxdocumented install command available
PriceFree and open source
Command verifiedYes — checked against the project README
Popularity107k stars on the project's public repository

On mobile

gemini-cli is a command-line tool, so there is no phone app for it — a phone has no shell to run it in. You'll need a desktop, or a remote shell into a machine that has one.

gemini-cli is developed by its own authors. This page is an independent reference; we are not affiliated with or sponsored by the project. The command shown here was reproduced from the project's public documentation — always check the project's own documentation before running anything.