microsoft/terminal SLOC report

As of 2026-08-24 (commit 20588130d8ef), microsoft/terminal contains 368,219 total lines: 263,670 code, 58,619 comments, 45,930 blank, across 1,616 files in 27 languages (top: C++ 68.2%). Counted with tokei via OctoCounts.

As of 2026-08-24 (commit 20588130d8ef), microsoft/terminal contains 368,219 total lines: 263,670 code, 58,619 comments, 45,930 blank, across 1,616 files in 27 languages (top: C++ 68.2%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving microsoft/terminal to commit 20588130d8ef, 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.

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.

LanguageFilesLinesCodeCommentsBlanks
C++5572518781798174048731574
C Header431485163348378367197
XAML481278611179789818
C++ Header148156171062827572232
C#97139291019017352004
Visual Studio Project7665945733676185
PowerShell1830542312356386
Module-Definition3220031964633
Batch3822531592420241
JSON1715441527017
SVG813811365160
MSBuild3016601277243140

Top language (C++ 68.2%). Generated at 2026-08-24T02:12:16.109506535+00:00.

Report FAQ

How many lines of code does microsoft/terminal have?

microsoft/terminal has 368,219 total lines, including 263,670 code lines, 58,619 comment lines, and 45,930 blank lines.

How was the microsoft/terminal line count measured?

OctoCounts resolved the public GitHub repository to commit 20588130d8ef, 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 20588130d8ef on 2026-08-24T02:12:16.109506535+00:00.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity: