Gemini CLI
Google's open-source agent for Gemini in your terminal.
Reads, edits and runs your project from the command line with Gemini models, with Google Search grounding and MCP support. A personal Google account gets a free daily allowance.
Works with
Key info
- Pricing
- Open source
- Platform
- macOS · Windows · Linux
- Category
- CLIs
- Best for
- Beginner
- Free plan
- 1,000 requests a day with a personal Google account
- Paid plans from
- Pay per token with a Gemini API key, or a Gemini Code Assist plan
- Install
- npm install -g @google/gemini-cli
- Models
- Gemini
- Your own API key
- Yes, a Gemini API key or Vertex AI
- Local models
- No
- Good for
- Trying a terminal agent for free
Related reading
- Fundamentals
Reviewing code you did not write
You are going to merge a lot of code you did not type. Reviewing it is a different skill from writing it, and it is the one that actually keeps a vibe-coded…
Intermediate - Context engineering
Why your AI keeps forgetting what you told it
Models have a context window, a fixed budget of text they can consider at once. Everything competes for it: your instructions, the files you opened, the erro…
Intermediate