Gemini CLI Quickstart: Google's official terminal agent
Install via npm, sign in with Google, and close one task in your repo. Free tier plus built-in search.
Open the official tutorial| Item | Details |
|---|---|
| Provider | Gemini CLI |
| Level | Beginner |
| Date | 2026-09-04 |
| Official source | Gemini CLI |
| Topics | #agents · #engineering · #open-source |
Install
Install globally via npm, or use npx without a global install:
```bash npm install -g @google/gemini-cli
or ephemeral
npx @google/gemini-cli ```
Homebrew (brew install --cask gemini-cli), MacPorts and Anaconda also work.
Authenticate
Running gemini for the first time walks you through Google sign-in. For heavy use, attach a Google AI Studio or Cloud API key to lift the free-tier daily caps.
Work in your repo
bash cd /to/your/project gemini
Assign tasks directly. It ships with built-in Google Search and MCP, so your own tools plug right in.
Official source: google-gemini/gemini-cli README. Hub: /en/gemini-cli.
Sources & Further Reading
This page is grounded in the authoritative sources below — verifiable and citable by AI engines and readers.
- 🔗 Official source
- 👤 Person: Gemini CLI
- # Topic: AgentsBuilding, orchestrating and shipping AI agents
- # Topic: EngineeringAPIs, prompting and system design
- # Topic: Open SourceOpen models, frameworks and ecosystems
Citation: Please attribute Laojin Global (laojinchuhai.com) and keep the original link.
Made by Laojin · AI that ships
AllModelsAPIOne key for many models
AllModelsAPI is a multi-model API gateway: one key reaches many models through an OpenAI-compatible interface — point your existing code at a new base URL and you're migrated. It's not a demo: our own production workloads run on it every day.
More from Laojin: Sellenca · 365AIOrg · 365Loopa · 365 Ops · 365Skill
Related
Linked by topic, people and hubs