microsoft/terminal has 267,341 source lines of code out of 372,665 total lines across 1,623 files, counted from the main ref at commit 1046205b04e5 by the OctoCounts tokei engine on 2026-10-21. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
microsoft/terminal: 267,341 code lines at commit 1046205b04e5, counted with tokei-14.0.0 on 2026-10-21. Saved result 032a59bbf16fcb9b940fa929e731dcf17088e235d24a1d06d26d03cd0e7936ee.
OctoCounts produced this report by resolving microsoft/terminal to commit 1046205b04e5, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.
This is a large codebase by counted code lines. Code represents 71.7% of all lines, comments represent 15.8%, and the repository averages 165 code lines per file. C++ accounts for 68.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 559 | 254730 | 182295 | 40575 | 31860 |
| C Header | 434 | 49064 | 33891 | 7893 | 7280 |
| XAML | 50 | 13718 | 11909 | 965 | 844 |
| C++ Header | 147 | 15458 | 10501 | 2750 | 2207 |
| C# | 97 | 14014 | 10226 | 1765 | 2023 |
| Visual Studio Project | 76 | 6611 | 5750 | 676 | 185 |
| PowerShell | 18 | 3183 | 2437 | 361 | 385 |
| Module-Definition | 32 | 2004 | 1964 | 6 | 34 |
| Batch | 38 | 2253 | 1592 | 420 | 241 |
| JSON | 17 | 1547 | 1530 | 0 | 17 |
| SVG | 8 | 1381 | 1365 | 16 | 0 |
| MSBuild | 30 | 1661 | 1278 | 243 | 140 |
| XML | 11 | 625 | 536 | 55 | 34 |
| HLSL | 17 | 959 | 523 | 319 | 117 |
| Bitbake | 20 | 1010 | 520 | 292 | 198 |
| Visual Studio Solution | 6 | 363 | 357 | 0 | 6 |
| Python | 4 | 252 | 185 | 36 | 31 |
| .NET Resource | 2 | 307 | 183 | 118 | 6 |
| INI | 4 | 116 | 104 | 0 | 12 |
| CMake | 8 | 124 | 86 | 18 | 20 |
| NuGet Config | 4 | 55 | 46 | 7 | 2 |
| Jupyter Notebooks | 1 | 55 | 35 | 3 | 17 |
| HTML | 1 | 16 | 16 | 0 | 0 |
| JavaScript | 1 | 25 | 8 | 13 | 4 |
| Monkey C | 1 | 4 | 4 | 0 | 0 |
| Markdown | 27 | 2380 | 0 | 1756 | 624 |
| Plain Text | 10 | 750 | 0 | 707 | 43 |
Top language (C++ 68.2%). Generated at .
microsoft/terminal has 372,665 total lines, including 267,341 code lines, 58,994 comment lines, and 46,330 blank lines.
OctoCounts resolved the public GitHub repository to commit 1046205b04e5, 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 1046205b04e5 on 2026-10-21T02:21:24.603659785Z.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for microsoft/terminal on this page — 267,341 code lines across 27 languages, counted by tokei.