>_cli-install
Ge

Install Gemini CLI

Google's open-source AI agent for the terminal

Gemini CLI brings Google's Gemini models into your terminal for coding, research, and automation, with a generous free tier for individual developers.

Install on macOS
npm install -g @google/gemini-cli
Other install methods
npx (no install)
npx @google/gemini-cli
Homebrew (macOS)
brew install gemini-cli
Install on Windows
npm install -g @google/gemini-cli
Other install methods
npx (no install)
npx @google/gemini-cli
Homebrew (macOS)
brew install gemini-cli
Install on Linux
npm install -g @google/gemini-cli
Other install methods
npx (no install)
npx @google/gemini-cli
Homebrew (macOS)
brew install gemini-cli
Run it
gemini
Verify the install
gemini --version

Before you start

Requires Node.js 18+. You can also run it without installing via npx @google/gemini-cli.

Official documentation: Gemini CLI on GitHub

Frequently asked questions

Is Gemini CLI free?

It offers a free tier for individual developers when you sign in with a personal Google account. Higher limits are available with an API key or paid plan.

Can I run it without installing?

Yes — npx @google/gemini-cli runs the latest version without a global install.

Which Node version do I need?

Node.js 18 or later.

Gemini and Google are trademarks of Google LLC. cli-install.com is an independent resource and is not affiliated with or endorsed by the trademark owner.