gemini-cli
Open-source AI agent that brings the power of Gemini directly into the terminal. Provides lightweight access to Gemini for direct prompt-to-model interaction.
Description
gemini-cli is an open-source AI agent package for Kali Linux that integrates the Gemini model into the terminal environment. It offers a lightweight interface for users to interact with Gemini AI directly from the command line, enabling quick prompting without additional overhead.
The tool supports both interactive and non-interactive modes, making it suitable for scripting, one-off queries, or extended conversations. Users can manage MCP servers and extensions, enhancing its functionality for various workflows. Its terminal-based design ensures a direct path from user prompts to AI responses.
Designed for efficiency with an installed size of 20.58 MB, gemini-cli depends on nodejs and is easily installed via apt on Kali Linux systems.
How It Works
gemini-cli operates as a command-line interface to the Gemini AI model, launching an interactive CLI session or processing one-shot prompts. It accepts positional queries or flags for modes like debug, sandbox, or YOLO auto-approval. Commands handle MCP server management and extensions. The agent processes stdin input, appends prompts, and supports experimental modes like ACP.
Installation
sudo apt install gemini-cliFlags
Examples
gemini-cli -hgemini-cli [query..]gemini-cli mcpgemini-cli extensions <command>gemini-cli -i "prompt text"gemini-cli -dgemini-cli --yologemini-cli --sandbox