Skip to content

Gemini CLI ​

Starter Google’s open-source terminal agent.

Moved to Antigravity CLI

Google stopped serving Gemini CLI on Google AI Pro, Ultra and free individual plans from June 18, 2026. Paid API keys and enterprise access weren't affected. If you're on a personal plan, use Antigravity CLI, which has migration steps.

Install ​

bash
npm install -g @google/gemini-cli

# one-off
npx @google/gemini-cli

# channels
npm install -g @google/gemini-cli@latest    # stable-ish latest
npm install -g @google/gemini-cli@preview   # preview
bash
gemini --version   # or check --help if binary name differs on your install

Product note (2026)

Google has been evolving the Gemini CLI product line (including transitions toward newer CLI branding for some tiers). Prefer the current geminicli.com/docs install instructions if a command fails after an upgrade.

First run ​

bash
cd ~/code/my-project
gemini
# complete Google auth when prompted

What it’s good at ​

  • Large-context codebase questions
  • Multi-step terminal workflows
  • Extensibility (tools, MCP-like integrations depending on version)

Everyday ​

bash
gemini
# > explain the auth flow
# > write a migration and tests

Project context ​

Add project-level guidance files if your Gemini CLI version supports them (check docs for GEMINI.md / settings). Always document:

  • package manager & scripts
  • test command
  • deploy caveats

Skills ​

Cross-agent skills still live in apsolut-skills — port prompts into Gemini custom commands when useful.

Official ​