# google-gemini/gemini-cli SLOC report

> google-gemini/gemini-cli: 658,681 code lines at commit 4ed06ed0ddc5, counted with tokei-15.0.0 on 2026-11-13. Saved result 74ec55d9956b8fd1e096ab338cfd72ffa5d6a65e61ed2aa896baaea5507b3f38.

google-gemini/gemini-cli has 658,681 source lines of code out of 796,724 total lines across 2,524 files, counted with tokei from the main ref at commit 4ed06ed0ddc5 on November 13, 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 4ed06ed0ddc5, 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 261 code lines per file. TypeScript accounts for 74.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 1,772 | 600,950 | 493,054 | 41,404 | 66,492 |
| TSX | 424 | 128,775 | 108,727 | 6,380 | 13,668 |
| JSON | 54 | 36,280 | 36,280 | 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 | 192 | 124 | 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,367 | 0 | 1,745 | 622 |

Top language: TypeScript 74.9%. Generated on November 13, 2026. Canonical report: https://octocounts.com/github/google-gemini/gemini-cli/commit/4ed06ed0ddc523a6d356a4ad35ddfea331041888?reportId=74ec55d9956b8fd1e096ab338cfd72ffa5d6a65e61ed2aa896baaea5507b3f38&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/4ed06ed0ddc523a6d356a4ad35ddfea331041888?reportId=74ec55d9956b8fd1e096ab338cfd72ffa5d6a65e61ed2aa896baaea5507b3f38&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 658,681 lines of code, plus 54,251 comment lines and 83,792 blank lines, for 796,724 total lines at commit 4ed06ed0ddc5 on November 13, 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 4ed06ed0ddc5, 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 4ed06ed0ddc5 on November 13, 2026.

## Similar repository reports

- [swarajbachu/zuse](https://octocounts.com/github/swarajbachu/zuse) — TypeScript, 656,730 code lines
- [goauthentik/authentik](https://octocounts.com/github/goauthentik/authentik) — TypeScript, 651,435 code lines
- [moeru-ai/airi](https://octocounts.com/github/moeru-ai/airi) — TypeScript, 650,954 code lines
- [HeyPuter/puter](https://octocounts.com/github/HeyPuter/puter) — TypeScript, 666,673 code lines
- [subsurface/subsurface](https://octocounts.com/github/subsurface/subsurface) — TypeScript, 666,890 code lines
- [calcom/cal.diy](https://octocounts.com/github/calcom/cal.diy) — TypeScript, 635,133 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)
- [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)
