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.

As of 2026-10-21 (commit 1046205b04e5), microsoft/terminal contains 372,665 total lines: 267,341 code, 58,994 comments, 46,330 blank, across 1,623 files in 27 languages (top: C++ 68.2%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

As of 2026-10-21 (commit 1046205b04e5), microsoft/terminal contains 372,665 total lines: 267,341 code, 58,994 comments, 46,330 blank, across 1,623 files in 27 languages (top: C++ 68.2%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

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

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.603659785+00:00.

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 12 languages, counted by tokei.