
by Google
Gemini CLI brings Google's Gemini models into your terminal to understand code, automate tasks and build workflows using your local project context.
AgentFreemium
Step 1: Install it with npm install -g @google/gemini-cli.
Step 2: Run the CLI in your project folder and choose an authentication method with /auth.
Step 3: Add project instructions in a GEMINI.md file.
Step 4: Ask it to explain code, edit files or run shell commands.
Step 5: Use /stats model to check usage and limits, and /resume to save or return to a session.
Step 6: Add extensions or custom commands to fit your workflow.
The docs banner says that for unpaid tier and Google One users, Gemini CLI was replaced by Antigravity CLI on June 18th, 2026. It also says Gemini CLI has not been optimized for the newest Gemini model.
An extension bundles MCP servers, context files and custom commands into one package that teaches Gemini how to use a tool. You install it from any GitHub URL or local folder.
Yes. Headless mode provides a programmatic and scripting interface, and hooks let you customize behavior with scripts.
Run the /stats model command for a snapshot of session token usage and the limits on your current quota. A usage summary also appears when you exit a session.
Built-in Gemini CLI Agent Skill for creating and updating skills that follow Gemini CLI's skill format.
Claude CodeClaude Code is Anthropic's agentic coding tool that reads your codebase, edits files, runs commands and connects to your development tools. It runs in the terminal, IDEs, a desktop app and the browser.
CrewAICrewAI is a multi-agent platform for building, running and governing AI agents in an enterprise. It offers a visual editor, a code-first API and a control plane for tracing and approvals.