Skip to content
  1. Home
  2. AI tools
  3. Gemini CLI

Gemini CLI

Google's open-source terminal agent for Gemini models

What it is

An open-source agent that brings Gemini models into the terminal for coding and general command-line work. It installs through npm or Homebrew and has stable, preview and nightly release channels. The README now positions it for Gemini Code Assist Standard/Enterprise licence holders.

Good for

  • Query and edit a codebase from the shell
  • Automate repo chores with an agent
  • Run one-off prompts without installing via npx

Install or run

npm install -g @google/gemini-cli

Command as given in the project README. Read the repository before you run anything on your machine.

What you need

Node.js; a Gemini Code Assist Standard/Enterprise licence per the README

Worth knowingREADME says free individual and Google AI Pro/Ultra access moved to another CLI in June 2026 and it is not tuned for Gemini 4+.

Sources

The summary is ours, written from the README. Spotted an error? See how we work.

More for coding

See the topic →
  • opencode

    anomalyco/opencode

    Open-source AI coding agent with a terminal UI and desktop app

    ToolGitHub stars: 227k
  • Claude Code

    anthropics/claude-code

    Anthropic's terminal coding agent; this repo hosts issues and plugins

    ToolGitHub stars: 156k
  • Spec Kit

    github/spec-kit

    GitHub's toolkit for spec-driven development with coding agents

    ToolGitHub stars: 150k
  • Codex CLI

    openai/codex

    OpenAI's terminal coding agent that runs locally on your machine

    ToolGitHub stars: 135k