| layout | default |
|---|---|
| title | Gemini CLI Tutorial |
| nav_order | 143 |
| has_children | true |
| format_version | v2 |
Learn how to use
google-gemini/gemini-clito run coding and operations workflows in terminal-first loops with strong tooling, MCP extensibility, headless automation, and safety controls.
Gemini CLI is now one of the largest open-source coding-agent CLIs and provides a full stack for interactive, scripted, and extensible AI-assisted development.
This track focuses on:
- getting stable local setup and authentication running quickly
- understanding settings, command surfaces, and model routing
- integrating MCP servers, extensions, and skills safely
- operating Gemini CLI in automation and production-adjacent workflows
- repository:
google-gemini/gemini-cli - stars: about 98.5k
- latest release:
v0.34.0(published 2026-03-17)
flowchart LR
A[Prompt or command] --> B[Gemini CLI runtime]
B --> C[Model routing and settings]
C --> D[Tools and MCP integrations]
D --> E[Interactive or headless output]
E --> F[Checkpoint, iterate, automate]
| Chapter | Key Question | Outcome |
|---|---|---|
| 01 - Getting Started | How do I install and run Gemini CLI quickly? | Working baseline |
| 02 - Architecture, Tools, and Agent Loop | How does Gemini CLI orchestrate core behavior? | Strong execution mental model |
| 03 - Authentication and Model Access Strategy | How do auth methods and model routing differ? | Stable access strategy |
| 04 - Settings, Context, and Custom Commands | How do I customize behavior without workflow drift? | Reproducible customization |
| 05 - MCP, Extensions, and Skills | How do I extend capabilities safely? | Better extensibility model |
| 06 - Headless Mode and CI Automation | How do I run Gemini CLI in scripts and pipelines? | Automation readiness |
| 07 - Sandboxing, Security, and Troubleshooting | How do I reduce operational risk and recover quickly? | Reliability playbook |
| 08 - Contribution Workflow and Enterprise Operations | How do teams contribute and standardize usage at scale? | Team adoption baseline |
- how to operate Gemini CLI across interactive and scripted workflows
- how to configure model/auth/runtime settings for reliability
- how to connect MCP servers and extension systems safely
- how to deploy governance and contribution practices for teams
Start with Chapter 1: Getting Started.
- Start Here: Chapter 1: Getting Started
- Back to Main Catalog
- Browse A-Z Tutorial Directory
- Search by Intent
- Explore Category Hubs
- Chapter 1: Getting Started
- Chapter 2: Architecture, Tools, and Agent Loop
- Chapter 3: Authentication and Model Access Strategy
- Chapter 4: Settings, Context, and Custom Commands
- Chapter 5: MCP, Extensions, and Skills
- Chapter 6: Headless Mode and CI Automation
- Chapter 7: Sandboxing, Security, and Troubleshooting
- Chapter 8: Contribution Workflow and Enterprise Operations
Generated by AI Codebase Knowledge Builder