microsoft/terminal SLOC report
As of 2026-07-20 (commit 694db4c0bc6e), microsoft/terminal contains 367,645 total lines: 263,306 code, 58,483 comments, 45,856 blank, across 1,611 files in 27 languages (top: C++ 68.2%). Counted with tokei via OctoCounts.
Repository size insights
This is a large codebase by counted code lines. Code represents 71.6% of all lines, comments represent 15.9%, and the repository averages 163 code lines per file. C++ accounts for 68.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| C++ | 554 | 251459 | 179563 | 40382 | 31514 |
| C Header | 429 | 48392 | 33399 | 7813 | 7180 |
| XAML | 48 | 12787 | 11180 | 789 | 818 |
| C++ Header | 148 | 15616 | 10627 | 2755 | 2234 |
| C# | 97 | 13933 | 10191 | 1736 | 2006 |
| Visual Studio Project | 76 | 6585 | 5724 | 676 | 185 |
| PowerShell | 18 | 3054 | 2312 | 356 | 386 |
| Module-Definition | 32 | 2003 | 1964 | 6 | 33 |
| Batch | 38 | 2240 | 1579 | 420 | 241 |
| JSON | 17 | 1544 | 1527 | 0 | 17 |
| SVG | 8 | 1381 | 1365 | 16 | 0 |
| MSBuild | 30 | 1648 | 1273 | 236 | 139 |
Top language (C++ 68.2%). Generated at 2026-07-20T05:49:44.457245989+00:00.
Report FAQ
How many lines of code does microsoft/terminal have?
microsoft/terminal has 367,645 total lines, including 263,306 code lines, 58,483 comment lines, and 45,856 blank lines.
How was the microsoft/terminal line count measured?
OctoCounts resolved the public GitHub repository to commit 694db4c0bc6e, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for microsoft/terminal?
This OctoCounts report was generated from main at commit 694db4c0bc6e on 2026-07-20T05:49:44.457245989+00:00.