docs-writer
π―Skillfrom google-gemini/gemini-cli
Automatically generates comprehensive documentation for code repositories by analyzing source files and creating structured, readable documentation.
Installation
npx skills add https://github.com/google-gemini/gemini-cli --skill docs-writerSkill Details
Overview
# Gemini CLI
[](https://github.com/google-gemini/gemini-cli/actions/workflows/ci.yml)
[](https://github.com/google-gemini/gemini-cli/actions/workflows/chained_e2e.yml)
[](https://www.npmjs.com/package/@google/gemini-cli)
[](https://github.com/google-gemini/gemini-cli/blob/main/LICENSE)
[](https://codewiki.google/github.com/google-gemini/gemini-cli?utm_source=badge&utm_medium=github&utm_campaign=github.com/google-gemini/gemini-cli)

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 your prompt to our model.
Learn all about Gemini CLI in our [documentation](https://geminicli.com/docs/).
π Why Gemini CLI?
- π― Free tier: 60 requests/min and 1,000 requests/day with personal Google
account.
- π§ Powerful Gemini 3 models: Access to improved reasoning and 1M token
context window.
- π§ Built-in tools: Google Search grounding, file operations, shell
commands, web fetching.
- π Extensible: MCP (Model Context Protocol) support for custom
integrations.
- π» Terminal-first: Designed for developers who live in the command line.
- π‘οΈ Open source: Apache 2.0 licensed.
π¦ Installation
Pre-requisites before installation
- Node.js version 20 or higher
- macOS, Linux, or Windows
Quick Install
#### Run instantly with npx
```bash
# Using npx (no installation required)
npx @google/gemini-cli
```
#### Install globally with npm
```bash
npm install -g @google/gemini-cli
```
#### Install globally with Homebrew (macOS/Linux)
```bash
brew install gemini-cli
```
#### Install globally with MacPorts (macOS)
```bash
sudo port install gemini-cli
```
#### Install with Anaconda (for restricted environments)
```bash
# Create and activate a new environment
conda create -y -n gemini_env -c conda-forge nodejs
conda activate gemini_env
# Install Gemini CLI globally via npm (inside the environment)
npm install -g @google/gemini-cli
```
Release Cadence and Tags
See [Releases](./docs/releases.md) for more details.
Preview
New preview releases will be published each week at UTC 2359 on Tuesdays. These
releases will not have been fully vetted and may contain regressions or other
outstanding issues. Please help us test and install with preview tag.
```bash
npm install -g @google/gemini-cli@preview
```
Stable
- New stable releases will be published each week at UTC 2000 on Tuesdays, this
will be the full promotion of last week's preview release + any bug fixes
and validations. Use latest tag.
```bash
npm install -g @google/gemini-cli@latest
```
Nightly
- New releases will be published each day at UTC 0000. This will be all changes
from the main branch as represented at time of release. It should be assumed
there are pending validations and issues. Use nightly tag.
```bash
npm install -g @google/gemini-cli@nightly
```
π Key Features
Code Understanding & Generation
- Query and edit large codebases
- Generate new apps from PDFs, images, or sketches using multimodal capabilities
- Debug issues and troubleshoot with natural language
Automation & Integration
- Automate operational tasks like querying pull requests or handling complex
rebases
- Use MCP servers to connect new capabilities, including
[media generation with Imagen, Veo or Lyria](https://github.com/GoogleCloudPlatform/vertex-ai-creative-studio/tree/main/experiments/mcp-genmedia)
- Run non-int