AI tools, scored for your job
Get paid to train AI
🤝 You're in the Free & Open Source library — community-built tools you can use without paying. A different concept from our scored AI directory.
Home › Free & Open Source › Software › Gemini CLI
✦ Free & open sourceSoftware

Gemini CLI

Terminal coding agent for Gemini that reads codebases, edits files, runs shell commands and connects MCP servers.

Google's terminal agent for code

Query and edit codebases from the command line, now aimed at Code Assist enterprise users.

Free forever · open source · Apache-2.0
✓ Light setup✓ Browser-based✓ Real-time collaboration
8.3
ZEKAI
Enterprise Gemini agent
Free & open source · Software
Ease of setup7
Usefulness7
Maintenance9.5
Community9.8
★ 108,802
GITHUB
Nov 2026
UPDATED
Apache-2.0
LICENSE
🛠 Don't want to self-host? We can set it up →
⚡ Quick answer

Gemini CLI is an open-source terminal agent from Google. Its README now says it is maintained for organisations with Gemini Code Assist Standard or Enterprise, and that free and Google AI plan users moved to Antigravity CLI.

Runs on
Cross-platform
Hosting
Desktop
Languages
TypeScript
License
Apache-2.0

What it is

You run `gemini` in a project directory and chat in the terminal to query, debug and edit code, using built-in file, shell and web fetch tools. It supports MCP servers, custom slash commands, GEMINI.md context files, checkpointing, sandboxing, trusted folders and a non-interactive mode with JSON output for scripts.

Who it's for

Suits developers at companies that already pay for Gemini Code Assist or use Vertex or a paid API key. Individuals hoping for a free tier should read the README notice first, because that access moved to another product.

Key features

GEMINI.md context files

Give the agent persistent project instructions in a context file.

MCP server support

Add tools such as GitHub or a database through ~/.gemini/settings.json.

Headless scripting

`gemini -p` runs non-interactively, with json and stream-json output formats.

Checkpointing and sessions

Save and resume conversations.

Sandboxing and trusted folders

Control where commands can run and which folders it may act in.

Three auth routes

Sign in with Google for Code Assist licences, use a Gemini API key, or use Vertex AI.

How to start

Up and running in 3 steps

1
Install Node.js, then run `npx @google/gemini-cli` or `npm install -g @google/gemini-cli` (or `brew install gemini-cli`).
2
Choose authentication: sign in with a Code Assist account (set GOOGLE_CLOUD_PROJECT), or export GEMINI_API_KEY, or use Vertex AI variables.
3
Run `gemini` inside your project folder, add a GEMINI.md file for context, and try `gemini -p "Explain the architecture of this codebase"`.
Real talk

Our honest verdict

What's great

  • Apache-2.0 code with weekly stable, preview and daily nightly npm channels, so you can pick how new a build you run.
  • Headless mode with structured JSON and streaming output makes it scriptable in CI and automation.
  • Custom commands, extensions and MCP servers can be shared and extended.
  • It installs several ways: npx, npm, Homebrew, MacPorts or Anaconda.

Where it falls short

  • The README's important notice says it is designed for Gemini Code Assist Standard or Enterprise on Google Cloud, so a typical solo developer may not be eligible.
  • The same notice says free individual access and Google AI Pro or Ultra moved to Antigravity CLI on June 18, 2026.
  • It is not tuned for the Gemini 4 series and the README says not to use it to benchmark Gemini models.
  • Every request uses a paid Gemini model through a licence, API key or Vertex billing, so running costs scale with use.
Cost

Pricing & license

The Gemini CLI code is Apache-2.0 and free to install. Using it requires a paid Gemini Code Assist Standard or Enterprise licence, a Gemini API key with usage billing, or Vertex AI; the README states free individual access moved to Antigravity CLI. The README shows no prices for these, so check Google's own pages.

Paid work

Open remote AI-training roles

867 open remote AI-training roles, updated November 14, 2026; most pay $20–$170 an hour. Zekai lists them free; the application goes to the employer’s platform.

See all open roles →
Compare

Alternatives

🎁 Free & open-source alternatives

These reviewed AI tools do the same job instantly — from our scored directory.

Get more

Use it, or have us set it up

📄 Free PDF: Gemini CLI for Software
A plain-language guide to getting your first result. Sent to your inbox.
🔔 64 people want a full video tutorial — add your vote
🛠 Don't want to set it up yourself?
We'll install, host & configure Gemini CLI for you — and train your team.
Get it done for you ↗
Questions

FAQ

Is Gemini CLI still free?

Not for individuals, according to the README: free access and Google AI Pro or Ultra moved to Antigravity CLI on June 18, 2026. Gemini CLI now targets Code Assist Standard or Enterprise, plus legacy paid API or Vertex keys.

Can I use it in scripts?

Yes. `gemini -p` runs non-interactively and `--output-format json` or `stream-json` gives structured output.

Can I connect other tools?

Yes, through MCP servers configured in ~/.gemini/settings.json, and through extensions.

Radar

Latest AI news

✉️ The weekly free toolkit
The best new free & open-source tools for Software — one short email a week, in your language.
Free · 1 email/week · unsubscribe anytime
Get paid to train AI →

See Zekai first in Google