Gemini CLI marks the third major release in a wave of AI-powered terminal agents. It started with Claude Code in February, followed by OpenAI’s CLI-based Codex in April. Now, in June, Google has entered the arena with Gemini CLI. With this, all three leading AI labs i.e. Anthropic, OpenAI, and Google have introduced their own take on what’s emerging as the next big thing: a “terminal agent”—a command-line tool that can intelligently read, write, and execute files or shell commands on your behalf.
We’re introducing Gemini CLI, an open-source AI agent that brings the power of Gemini directly into your terminal. It provides lightweight access to Gemini, giving you the most direct path from your prompt to our model. While it excels at coding, we built Gemini CLI to do so much more. — Gemini CLI launch blog
Let’s explore!
Gemini CLI start up screen.
Gemini CLI is an open-source AI agent that brings the power of Gemini directly into your terminal. It provides lightweight access to Gemini, giving you the most direct path from prompt to model. While it excels at coding, Gemini CLI can do much more. It’s a versatile, local utility you can use for a wide range of tasks, from content generation and problem solving to deep research and task management.
Gemini CLI is available for developers to preview starting today, and it’s currently free to use through a free Gemini Code Assist license that can be obtained via a personal Google account.
With the Gemini CLI you can:
npm install -g @google/gemini-cli
gemini command:gemini
Or install it with:
npm install -g @google/gemini-cli
gemini
You are now ready to use the Gemini CLI!
If you need to use a specific model or require a higher request capacity, you can use an API key:
YOUR_API_KEY with your generated key.export GEMINI_API_KEY="YOUR_API_KEY"
For other authentication methods, including Google Workspace accounts, see the authentication guide.
To use Gemini CLI free-of-charge, you can simply login with a personal Google account and get a free Gemini Code Assist license. Gemini CLI utilizes Google’s Gemini 2.5 Pro reasoning model, which currently supports a 1 million token context window (the amount of information that an AI model can understand). To ensure you rarely, if ever, hit a limit during this preview, Gemini CLI offers the industry’s largest allowance: 60 model requests per minute and 1,000 requests per day at no charge.
Now in preview, Gemini CLI puts advanced AI directly in your command line. It can understand your code, edit files, run commands, and help you troubleshoot problems, all through simple natural language prompts. Whether you’re writing new code or debugging a tricky issue, Gemini CLI transforms the way you work in the terminal, making your workflow faster, smarter, and more efficient.
What makes Gemini CLI truly powerful is the set of tools it comes with. These tools let you:
Gemini CLI isn’t just another AI tool BUT it’s a serious upgrade to how developers work. With deep code understanding, smart command execution, real-time web access, and generous free usage limits, it brings the full power of Google’s Gemini model right into your terminal.
Whether you’re debugging, automating, or building something from scratch, Gemini CLI helps you move faster, stay focused, and get more done… with less friction.
Key Takeaways AI-generated content and search experiences are reshaping the digital landscape, impacting how information…
AI clusters have entirely transformed the way traffic flows within data centers. Most of the…
Many businesses ask a common question: Is Microsoft Dynamics 365 Business Central an ERP or…
In 2025, AI video generation tools have moved from novelty to necessity. Whether you're a…
In 2025, virtual private networks (VPNs) remain a backbone of online privacy, data protection, and…
Imagine you're sitting in your office on a perfectly normal day. But suddenly, the entire…