欣淇
发布于 2026-05-28 / 0 阅读
0
0

🔥 gemini-cli:104,682 stars · An open-source AI agent that brings the power of Gemini d...

🔥 gemini-cli:104,682 stars · An open-source AI agent that brings the power of Gemini d...

项目地址: google-gemini/gemini-cli | ⭐ 104,682 Stars | 🛠️ TypeScript | 作者:google-gemini

联网搜索、文件分析、代码生成……现在的 AI 应用越来越复杂,但底层都在调用同一个东西——gemini-cli。

这个项目目前 104,682 个 Star,用 TypeScript 开发,An open-source AI agent that brings the power of Gemini directly into your terminal.。

核心能力

主要聚焦在 ai, ai-agents, cli 方向,有几个关键特性值得关注:

快速上手

安装很简单,几行命令搞定:

# Using npx (no installation required)
npx @google/gemini-cli
npm install -g @google/gemini-cli

实际用起来怎么样

你可以把 gemini-cli 集成到自己的工作流里。比如配合日常开发流程,做自动化处理。TypeScript 生态下,安装依赖后就能跑起来。

注意事项

  • 确认你的 Python 版本在 3.9 以上,不然有些依赖装不上
  • gemini-cli 对 GPU 有依赖,如果只是测试可以用 CPU 模式
  • 首次运行会下载模型文件,大概几百 MB,确保网络通畅
  • API key 建议用环境变量传,别硬编码在代码里

要点总结

  • gemini-cli ⭐ 104,682,TypeScript 开发,作者 google-gemini
  • An open-source AI agent that brings the power of Gemini directly into your termi
  • 安装简单,依赖清晰,文档齐全
  • 开源免费,社区活跃,适合二次开发

评论