Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Antarmuka command line (CLI) Gemini adalah agen AI open source yang menyediakan akses ke Gemini langsung di terminal Anda. CLI
Gemini menggunakan loop alasan dan tindakan (ReAct) dengan alat bawaan
dan server MCP lokal atau jarak jauh untuk menyelesaikan kasus penggunaan yang kompleks seperti memperbaiki bug,
membuat fitur baru, dan meningkatkan cakupan pengujian. Meskipun unggul dalam coding, Gemini CLI juga merupakan utilitas lokal serbaguna yang dapat Anda gunakan untuk berbagai macam tugas, mulai dari pembuatan konten dan pemecahan masalah hingga riset mendalam dan pengelolaan tugas.
Gemini CLI tersedia untuk edisi Gemini Code Assist untuk individu, Standard, dan Enterprise. CLI Gemini juga tersedia tanpa penyiapan tambahan di Cloud Shell.
Kuota digunakan bersama antara Gemini CLI dan
mode agen Gemini Code Assist.
Mode agen Gemini Code Assist di VS Code didukung oleh
Gemini CLI. Sebagian fungsi Gemini CLI tersedia langsung di chat Gemini Code Assist dalam IDE Anda.
Fitur Gemini CLI berikut tersedia di Gemini Code Assist untuk VS Code.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-08-22 UTC."],[],[],null,["# Gemini CLI\n\n| **Preview**\n|\n|\n| This product is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA products are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n\n\u003cbr /\u003e\n\nThe [Gemini command line interface (CLI)](https://github.com/google-gemini/gemini-cli) is an open source\nAI agent that provides access to Gemini directly in your terminal. The\nGemini CLI uses a reason and act (ReAct) loop with your built-in tools\nand local or remote MCP servers to complete complex use cases like fixing bugs,\ncreating new features, and improving test coverage. While the Gemini\nCLI excels at coding, it's also a versatile local utility that you can use for\na wide range of tasks, from content generation and problem solving to deep\nresearch and task management.\n\nGemini Code Assist for individuals, Standard, and Enterprise each\n[provide quotas](/gemini/docs/quotas) for using the Gemini CLI. Note that these\nquotas are shared between Gemini CLI and Gemini Code Assist\nagent mode.\n\nThe Gemini CLI is available without additional setup in\n[Cloud Shell](https://cloud.google.com/shell/docs/use-cloud-shell-terminal). To get\nstarted with Gemini CLI in other environments, see the\n[Gemini CLI documentation](https://github.com/google-gemini/gemini-cli).\n\nGemini Code Assist agent mode\n-----------------------------\n\n[Gemini Code Assist agent mode](/gemini/docs/codeassist/use-agentic-chat-pair-programmer) in VS Code is powered by\nGemini CLI. A subset of Gemini CLI functionality is\navailable directly in the Gemini Code Assist chat within your IDE.\n\nThe following Gemini CLI features are available in\nGemini Code Assist for VS Code.\n\n- [Model Context Protocol (MCP) servers](/gemini/docs/codeassist/use-agentic-chat-pair-programmer#configure-mcp-servers)\n- Gemini CLI [commands](https://github.com/google-gemini/gemini-cli/blob/main/docs/cli/commands.md): `/memory`, `/stats`, `/tools`, `/mcp`\n- [Yolo mode](/gemini/docs/codeassist/use-agentic-chat-pair-programmer#yolo-mode)\n- built-in tools like grep, terminal, file read or file write\n- Web search\n- Web fetch"]]