microsoft/terminal

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
C++5592547301822954057531860
C Header434490643389178937280
XAML501371811909965844
C++ Header147154581050127502207
C#97140141022617652023
Visual Studio Project7666115750676185
PowerShell1831832437361385
Module-Definition3220041964634
Batch3822531592420241
JSON1715471530017
SVG813811365160
MSBuild3016611278243140
XML116255365534
HLSL17959523319117
Bitbake201010520292198
Visual Studio Solution636335706
Python42521853631
.NET Resource23071831186
INI4116104012
CMake8124861820
NuGet Config4554672
Jupyter Notebooks15535317
HTML1161600
JavaScript1258134
Monkey C14400
Markdown27238001756624
Plain Text10750070743

Top language (C++ 68.2%). Generated at .

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does microsoft/terminal have?

microsoft/terminal has 372,665 total lines, including 267,341 code lines, 58,994 comment lines, and 46,330 blank lines.

How was the microsoft/terminal line count measured?

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.

What commit was counted for microsoft/terminal?

This OctoCounts report was generated from main at commit 1046205b04e5 on 2026-10-21T02:21:24.603659785Z.

Similar repository reports

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.