Skip to content

Gemini CLI

Google's open-source AI agent for the terminal: build, debug and deploy with Gemini from the command line.

Coding assistantAI agentsFreeAdvancedOpen source
Visit geminicli.com ↗

Overview

Gemini CLI brings Gemini into the terminal. It can read and edit files, run shell commands and search the web while working on a coding task.

How to get started

For coding assistant with Gemini CLI.

  1. 1

    Open your project so the assistant sees context.

  2. 2

    Ask for small, testable changes.

  3. 3

    Review and run tests before committing.

Starter prompt

Explain this function, then refactor it for readability and add unit tests.

Strengths

  • + Open source.
  • + Free usage tier with a personal Google account.
  • + Can read files, run commands and search the web.

Watch out for

  • – Terminal only; there is no visual editor.
  • – The free tier has daily request limits.

Alternatives to Gemini CLI

All alternatives →