microsoft/terminal

microsoft/terminal has 267,454 source lines of code out of 372,804 total lines across 1,620 files, counted with tokei from the main ref at commit f6de9e061801 on November 11, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-11 (commit f6de9e061801), microsoft/terminal contains 372,804 total lines: 267,454 code, 59,003 comments, 46,347 blank, across 1,620 files in 27 languages (top language: C++ 68.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-11 (commit f6de9e061801), microsoft/terminal contains 372,804 total lines: 267,454 code, 59,003 comments, 46,347 blank, across 1,620 files in 27 languages (top language: C++ 68.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving microsoft/terminal to commit f6de9e061801, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

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++5582549211824424059731882
C Header434491023391379077282
XAML501372911918966845
C++ Header145153831046227222199
C#97140141022617652023
Visual Studio Project7666105749676185
PowerShell1831832437361385
Module-Definition3220041964634
Batch3822531592420241
JSON1715231506017
SVG813811365160
MSBuild3016611278243140

Top language: C++ 68.2%. Generated on .

Counting rules and retention

microsoft/terminal: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does microsoft/terminal have?

microsoft/terminal has 267,454 lines of code, plus 59,003 comment lines and 46,347 blank lines, for 372,804 total lines at commit f6de9e061801 on November 11, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the microsoft/terminal line count measured?

OctoCounts resolved the public GitHub repository to commit f6de9e061801, 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 f6de9e061801 on November 11, 2026.

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,454 code lines across 27 languages, counted by tokei.