DEDUPED Hot AI repos, turned into use cases Get the Monday 5

How to use Gemini CLI: what you can do with it

What is Gemini CLI? Gemini CLI is Google's open-source AI agent for the terminal. It reads your codebase, runs commands and answers prompts with Gemini models, and can run headless with JSON or streaming JSON output for scripts and CI. The README notes that unpaid tier and Google One users were moved to Antigravity CLI on June 18, 2026 and that Gemini CLI is not optimized for the newest Gemini models, so it now fits API key and Vertex AI users best.

How do I use it? Try it without installing: npx @google/gemini-cli, or install with npm install -g @google/gemini-cli or brew install gemini-cli; then set your key: export GEMINI_API_KEY="YOUR_API_KEY"; in the repo run gemini, and add sibling folders with gemini --include-directories ../lib,../docs. Full steps below.

Trended earlier

View repo on GitHub

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer

3 use cases

Quick start with Gemini CLI

  1. Check you have what it needs: Node.js (npm), Homebrew, MacPorts or conda; A Gemini API key from AI Studio or a Google Cloud project for Vertex AI.
  2. Open google-gemini/gemini-cli on GitHub and read the README and license.
  3. Try it without installing: npx @google/gemini-cli, or install with npm install -g @google/gemini-cli or brew install gemini-cli
  4. Set your key: export GEMINI_API_KEY="YOUR_API_KEY"
  5. In the repo run gemini, and add sibling folders with gemini --include-directories ../lib,../docs
  6. Ask it to explain the architecture or summarize recent changes

These steps come from our top use case, Ask Gemini to explain a codebase from the terminal, which also has a copy-paste agent prompt.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for google-gemini/gemini-cli

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Gemini CLI alternatives · Best AI repos for Software and DevOps

About this repo

Requirements

  • Node.js (npm), Homebrew, MacPorts or conda
  • A Gemini API key from AI Studio or a Google Cloud project for Vertex AI

Add this badge to your README

Maintain Gemini CLI? Show readers where to find these use cases. Use cases on Deduped

Markdown

[![Use cases on Deduped](https://dedupedai.com/badge/google-gemini/gemini-cli.svg)](https://dedupedai.com/use-cases/google-gemini-gemini-cli/?utm_source=github&utm_medium=badge&utm_campaign=google-gemini-gemini-cli)

HTML

<a href="https://dedupedai.com/use-cases/google-gemini-gemini-cli/?utm_source=github&amp;utm_medium=badge&amp;utm_campaign=google-gemini-gemini-cli"><img src="https://dedupedai.com/badge/google-gemini/gemini-cli.svg" alt="Use cases on Deduped" height="20"></a>

A static image, no tracking script. About the badge

Questions about Gemini CLI

What is Gemini CLI?

Gemini CLI is Google's open-source AI agent for the terminal. It reads your codebase, runs commands and answers prompts with Gemini models, and can run headless with JSON or streaming JSON output for scripts and CI. The README notes that unpaid tier and Google One users were moved to Antigravity CLI on June 18, 2026 and that Gemini CLI is not optimized for the newest Gemini models, so it now fits API key and Vertex AI users best. It is an open-source project on GitHub: https://github.com/google-gemini/gemini-cli.

How do I use Gemini CLI?

Try it without installing: npx @google/gemini-cli, or install with npm install -g @google/gemini-cli or brew install gemini-cli; then set your key: export GEMINI_API_KEY="YOUR_API_KEY"; in the repo run gemini, and add sibling folders with gemini --include-directories ../lib,../docs. The use cases on this page give the full steps and a copy-paste agent prompt for each job.

Who is Gemini CLI for?

Developers with a Gemini API key or Google Cloud project who want a scriptable terminal agent.

What can I do with Gemini CLI?

3 use cases so far, for example: Ask Gemini to explain a codebase from the terminal; Run Gemini headless in scripts and CI with JSON output; Use Gemini CLI through your company's Vertex AI project. Each has steps and a copy-paste agent prompt.

What do I need to run Gemini CLI?

Node.js (npm), Homebrew, MacPorts or conda; A Gemini API key from AI Studio or a Google Cloud project for Vertex AI.

What are alternatives to Gemini CLI?

Other hot AI repos in Software and DevOps: Deep Infer, Harness2, Orca, Opencode, Graphify.

Is Gemini CLI safe to run?

Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.