Google introduces Gemini CLI for terminal access

Google introduces Gemini CLI for terminal access

Introducing Google Gemini CLI: A New Era for AI Development

Google has recently unveiled the Gemini CLI, an innovative open-source tool designed to integrate AI models directly into developers’ command line interfaces. This initiative positions Google among several competitors, including OpenAI’s Codex CLI and Anthropic’s Claude Code, both of which have ventured into similar realms.

Generous Use Allowances Set Google Apart

A key advantage of Gemini CLI lies in its surprisingly generous usage policy, especially for a free service. By signing in with a personal Google account, users gain access to up to 60 model requests per minute and a maximum of 1, 000 requests per day. This generous access is powered by Gemini 2.5 Pro, a robust model boasting a remarkable 1 million token context window, allowing developers considerable freedom for exploration and development without encountering costs.

Options for Professional Developers

For developers who require the capability to run multiple agents concurrently or to utilize specific models beyond the default, Google provides additional solutions. Options include Google AI Studio or a Vertex AI key, both of which offer pay-as-you-go billing. Alternatively, developers can opt for a Gemini Code Assist Standard or Enterprise license to access enhanced features and functionalities.

Gemini CLI infographic explaining its usage allowance at 60 model requests per minute and 1000 model requests per day at no charge

Key Features of Gemini CLI

The Gemini CLI empowers developers with an array of capabilities, including:

  • Integrating Google Search for fetching web pages and providing real-time external context.
  • Expanding functionality via support for the Model Context Protocol (MCP) and bundled extensions.
  • Customizing prompts and instructions to meet specific developmental needs.
  • Automating tasks and seamlessly integrating with existing workflows through non-interactive CLI invocation.

Installation Made Easy

Setting up Gemini CLI is a breeze for those familiar with modern web development practices. To install the CLI, you need to have Node.js 18 or later installed. You can then either run it directly using npx as follows:

npx https://github.com/google-gemini/gemini-cli

Alternatively, you can install it globally for convenient future access:

npm install -g @google/gemini-cli

Open-Source and Community Contributions

As an open-source tool, Gemini CLI allows developers to delve into its codebase, available on GitHub, ensuring transparency and verifiability. Powered by Yargs and operating under the Apache 2.0 license, it offers familiarity for those accustomed to developing CLI applications with Node.js, promoting easier contributions from the developer community.

Unified Experience Across Platforms

The CLI also shares its technology with Google’s IDE plugin, Code Assist, providing a cohesive experience for users of Google’s AI tools, whether they are working in VS Code or via the terminal. This integrative feature is accessible to both free-tier users and those subscribed to the Standard or Enterprise plans.

Further Information

For additional insights, visit the official Google announcement post for detailed information.

Source & Images

Leave a Reply

Your email address will not be published. Required fields are marked *