Gemini CLI
Google’s open-source AI agent for the terminal.
- Star 数
- 107.4K
- Fork 数
- 14.7K
- 未关闭 Issue
- 745
- 最近提交
- 2026-10-14
数据来自 GitHub API · 更新于 2026-10-15
Gemini CLI 是什么?
Gemini CLI brings Gemini models into the terminal for coding, research and automation, with a large context window, built-in tools (file, shell, web search) and MCP support.
主要功能
- Large context window
- Built-in file, shell and search tools
- MCP servers
- Generous free tier with a Google account
系统要求
- 平台
- macOS · Linux · Windows
- 备注
- Node.js 20+.
如何安装 Gemini CLI
根据项目 README 整理。开源项目更新很快,请以 GitHub 页面上的最新说明为准。
npm
- 1Install and run, then sign in with Google.
npm install -g @google/gemini-cli gemini
优势
- Free tier
- Huge context
不足
- Gemini models only
Gemini CLI 替代品对比
| 软件 | Star 数 | 许可证 | 平台 | 显存 |
|---|---|---|---|---|
| Gemini CLI Google’s open-source AI agent for the terminal. | 107.4K | Apache-2.0 | — | |
| Codex CLI OpenAI’s lightweight coding agent for your terminal. | 129.3K | Apache-2.0 | — | |
| Aider AI pair programming in your terminal, with automatic git commits. | 49.6K | Apache-2.0 | — | |
| opencode Open-source AI coding agent built for the terminal. | 213.6K | MIT | — | |
| Continue Open-source AI code assistant for VS Code and JetBrains. | 36.2K | Apache-2.0 | — | |
| Cline Autonomous coding agent inside VS Code that asks before it acts. | 70.3K | Apache-2.0 | — |
常见问题
Gemini CLI 免费吗?
是的——Gemini CLI 是开源软件,采用 Apache-2.0 许可证。商用前请确认软件及模型权重的许可条款。
Gemini CLI 支持 Windows、Mac 和 Linux 吗?
Gemini CLI 支持:macOS, Linux, Windows。
如何安装 Gemini CLI?
1. Install and run, then sign in with Google.
Gemini CLI 有哪些好的替代品?
常见替代品包括 Codex CLI, Aider, opencode, Continue,详见本页对比表。