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.
As of 2026-11-18 (commit 4f343cabc7b5), google-gemini/gemini-cli contains 800,813 total lines: 662,143 code, 54,521 comments, 84,149 blank, across 2,527 files in 16 languages (top language: TypeScript 75.0%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
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.
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 | 1775 | 604984 | 496631 | 41549 | 66804 |
| TSX | 424 | 128775 | 108727 | 6380 | 13668 |
| JSON | 54 | 36146 | 36146 | 0 | 0 |
| JavaScript | 61 | 10592 | 8431 | 1059 | 1102 |
| SVG | 100 | 6953 | 6953 | 0 | 0 |
| Python | 34 | 4230 | 3494 | 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 |
Top language: TypeScript 75.0%. Generated on .
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.
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.
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.
This OctoCounts report was generated from main at commit 4f343cabc7b5 on November 18, 2026.
Play the growth animation for google-gemini/gemini-cli on this page — 662,143 code lines across 16 languages, counted by tokei.