Git Analytics เครื่องมือนักพัฒนาDev tools
google-gemini/gemini-cli

Gemini CLI: AI ที่ใช้งานผ่าน terminalGemini CLI: An AI Agent for Your Terminal

เครื่องมือนักพัฒนาDev tools 107,084 ดาวStars 14,605 TypeScript Apache-2.0 อัปเดตล่าสุดLast push 19 ก.ย. 256919 Sept 2026
google-gemini/gemini-cli

Gemini CLI เป็นเอเจ้นท์ AI แบบโอเพ่นซอร์สที่ทำงานใน terminal ใช้เพื่อประมวลผลและทำ automatization

Gemini CLI is an open-source AI agent that operates in the terminal, used for processing and automation.

ไว้ทำอะไร

Gemini CLI ช่วยให้นักพัฒนาสามารถใช้พลังของ AI แบบ Gemini เข้าสู่ workflow การพัฒนาของพวกเขา มันถูกออกแบบมาเพื่ออัตโนมัติการดำเนินงานต่างๆ ใน terminal และเสริมการบูรณาการต่าง ๆ เช่น การสร้างโค้ด สร้างโครงการใหม่ หรือการประเมินโค้ดที่มีอยู่

ทำงานอย่างไร

Gemini CLI ทำงานโดยการนำ JavaScript ที่สร้างแล้วมาใช้งานและจำเป็นต้องสร้างไฟล์เหล่านั้นขึ้นมาก่อนโดยใช้คำสั่ง build เช่น `npm run build` ตราบใดที่นำคำสั่งไปใช้มันจะให้ผลลัพธ์เป็น JSON ซึ่งทำให้ง่ายต่อการบูรณาการกับระบบอื่นๆ ตัวอย่างเช่น `agent-tui` ที่ช่วยในการจัดการ TUI (Terminal User Interface) ของคุณแบบอัตโนมัติ

โครงสร้างโค้ด

  • .gemini/config.yaml — การตั้งค่าไฟล์
  • Dockerfile — การตั้งค่า container
  • package.json — การจัดการ dependencies ของโปรเจค

เริ่มใช้งาน

npm install -g @google/gemini-cli

เหมาะกับงานแบบไหน

  • ประมวลผลโค้ดในโปรเจคขนาดใหญ่
  • อัตโนมัติการดำเนินงานในเชลล์และคำสั่งต่างๆ
  • บูรณาการกับ GitHub เพื่อทำงานกับ pull requests หรือ issues

ข้อควรรู้

  • รองรับเฉพาะ macOS และ Linux
  • ใช้ License แบบ Apache-2.0

What it is for

Gemini CLI enables developers to harness the power of Gemini AI into their development workflow. It is designed to automate various terminal operations and offer integrations such as code generation, new project creation, or evaluating existing code.

How it works

Gemini CLI operates by executing pre-built JavaScript files, requiring a build step such as `npm run build` beforehand. Once commands are executed, outputs are returned as JSON, facilitating integration with other systems. An example is the `agent-tui`, which automates your Terminal User Interface (TUI) management.

Code structure

  • .gemini/config.yaml — Configuration file
  • Dockerfile — Container setup
  • package.json — Project dependency management

Getting started

npm install -g @google/gemini-cli

Good fit for

  • Process code in large projects
  • Automate shell operations and commands
  • Integrate with GitHub to work with pull requests or issues

Things to know

  • Supported only on macOS and Linux
  • Licensed under Apache-2.0

บทวิเคราะห์นี้สร้างจาก README และโค้ดของ repo โดย AI ของ Oneable — ตรวจสอบ license และเอกสารต้นทางก่อนนำไปใช้งานจริงThis breakdown was generated from the repository's README and code by Oneable's AI — check the license and upstream docs before using it in production.

#ai#ai-agents#cli#gemini#gemini-api#mcp-client#mcp-server

repo อื่นในหมวดเดียวกันMore in this category