# google-gemini/gemini-cli SLOC report

> google-gemini/gemini-cli: 662,143 code lines at commit 4f343cabc7b5, counted with tokei-15.0.0 on 2026-11-18. Saved result 911652e0a57260b60a934f9500553f3025909a863d4d5904bfdc2d37124163e1.

Source: [google-gemini/gemini-cli on GitHub](https://github.com/google-gemini/gemini-cli) · counted commit [4f343cabc7b5](https://github.com/google-gemini/gemini-cli/tree/4f343cabc7b59ab990d7411e920094108524abff)

google-gemini/gemini-cli has 662,143 source lines of code out of 800,813 total lines across 2,527 files, counted with tokei from the main ref at commit 4f343cabc7b5 on November 18, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving google-gemini/gemini-cli to commit 4f343cabc7b5, downloading the repository source archive, and counting files selected by the effective rules with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

google-gemini/gemini-cli: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## Repository size insights

This is a large codebase by counted code lines. Code represents 82.7% of all lines, comments represent 6.8%, and the repository averages 262 code lines per file. TypeScript accounts for 75.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 1,775 | 604,984 | 496,631 | 41,549 | 66,804 |
| TSX | 424 | 128,775 | 108,727 | 6,380 | 13,668 |
| JSON | 54 | 36,146 | 36,146 | 0 | 0 |
| JavaScript | 61 | 10,592 | 8,431 | 1,059 | 1,102 |
| SVG | 100 | 6,953 | 6,953 | 0 | 0 |
| Python | 34 | 4,230 | 3,494 | 124 | 612 |
| C# | 1 | 568 | 461 | 28 | 79 |
| Shell | 7 | 580 | 385 | 107 | 88 |
| TOML | 12 | 538 | 318 | 167 | 53 |
| YAML | 3 | 245 | 229 | 6 | 10 |
| HTML | 8 | 170 | 170 | 0 | 0 |
| Dockerfile | 6 | 211 | 143 | 35 | 33 |
| Makefile | 1 | 59 | 42 | 1 | 16 |
| INI | 1 | 13 | 13 | 0 | 0 |
| Markdown | 36 | 4,212 | 0 | 3,195 | 1,017 |
| Plain Text | 4 | 2,537 | 0 | 1,870 | 667 |

Top language: TypeScript 75.0%. Generated on November 18, 2026. Canonical report: https://octocounts.com/github/google-gemini/gemini-cli/commit/4f343cabc7b59ab990d7411e920094108524abff?reportId=911652e0a57260b60a934f9500553f3025909a863d4d5904bfdc2d37124163e1&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/google-gemini/gemini-cli/commit/4f343cabc7b59ab990d7411e920094108524abff?reportId=911652e0a57260b60a934f9500553f3025909a863d4d5904bfdc2d37124163e1&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does google-gemini/gemini-cli have?

google-gemini/gemini-cli has 662,143 lines of code, plus 54,521 comment lines and 84,149 blank lines, for 800,813 total lines at commit 4f343cabc7b5 on November 18, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the google-gemini/gemini-cli line count measured?

OctoCounts resolved the public GitHub repository to commit 4f343cabc7b5, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for google-gemini/gemini-cli?

This OctoCounts report was generated from main at commit 4f343cabc7b5 on November 18, 2026.

## Similar repository reports

- [subsurface/subsurface](https://octocounts.com/github/subsurface/subsurface) — TypeScript, 667,526 code lines
- [goauthentik/authentik](https://octocounts.com/github/goauthentik/authentik) — TypeScript, 667,674 code lines
- [moeru-ai/airi](https://octocounts.com/github/moeru-ai/airi) — TypeScript, 674,563 code lines
- [swarajbachu/zuse](https://octocounts.com/github/swarajbachu/zuse) — TypeScript, 657,435 code lines
- [bluleo78/smart-workplace](https://octocounts.com/github/bluleo78/smart-workplace) — TypeScript, 684,078 code lines
- [vcmi/vcmi](https://octocounts.com/github/vcmi/vcmi) — TypeScript, 687,534 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Angular vs Vue](https://octocounts.com/compare/angular-vs-vue)
- [Svelte vs Vue](https://octocounts.com/compare/svelte-vs-vue)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
