# The largest Shell repositories by lines of code

OctoCounts has measured 132 public GitHub repositories whose primary programming language is Shell. cmu-l3/gym-anything is the largest, with 5,798,469 code lines across 78,561 files, counted with tokei on November 8, 2026. The table ranks the 50 largest by code lines; each row links to a report pinned to the commit it counted.

| Rank | Repository | Code lines | Total lines | Files | Shell share |
| --- | --- | --- | --- | --- | --- |
| 1 | [cmu-l3/gym-anything](https://octocounts.com/github/cmu-l3/gym-anything) | 5,798,469 | 7,294,067 | 78,561 | 28.9% |
| 2 | [microsoft/git](https://octocounts.com/github/microsoft/git) | 1,169,870 | 1,643,469 | 3,632 | 27.2% |
| 3 | [peff/git](https://octocounts.com/github/peff/git) | 1,161,979 | 1,629,291 | 3,584 | 27.5% |
| 4 | [git/git](https://octocounts.com/github/git/git) | 1,159,968 | 1,626,772 | 3,576 | 27.5% |
| 5 | [daniel-ospina/agent-infra](https://octocounts.com/github/daniel-ospina/agent-infra) | 587,670 | 982,660 | 1,146 | 47.6% |
| 6 | [DeveshM7/EmbedEval](https://octocounts.com/github/DeveshM7/EmbedEval) | 215,742 | 220,065 | 210 | 1.5% |
| 7 | [tw93/Mole](https://octocounts.com/github/tw93/Mole) | 82,186 | 107,831 | 194 | 61.0% |
| 8 | [Chachamaru127/claude-code-harness](https://octocounts.com/github/Chachamaru127/claude-code-harness) | 44,050 | 80,160 | 370 | 79.5% |
| 9 | [rianlu/smartisan-launcher-maintained](https://octocounts.com/github/rianlu/smartisan-launcher-maintained) | 36,524 | 65,813 | 572 | 2.8% |
| 10 | [apache/yetus](https://octocounts.com/github/apache/yetus) | 31,495 | 43,065 | 157 | 46.8% |
| 11 | [Felix666-ship-It/aliyun-guard](https://octocounts.com/github/Felix666-ship-It/aliyun-guard) | 27,570 | 30,867 | 22 | 57.8% |
| 12 | [MichaelCade/90DaysOfDevOps](https://octocounts.com/github/MichaelCade/90DaysOfDevOps) | 26,128 | 170,918 | 2,250 | 8.3% |
| 13 | [cncf/sbom](https://octocounts.com/github/cncf/sbom) | 23,831 | 25,234 | 26 | 7.1% |
| 14 | [nextcloud/vm](https://octocounts.com/github/nextcloud/vm) | 23,330 | 31,726 | 142 | 98.6% |
| 15 | [jimmycarles9991-glitch/s21xnu](https://octocounts.com/github/jimmycarles9991-glitch/s21xnu) | 20,543 | 24,403 | 102 | 32.7% |
| 16 | [ikstv/AvelRen](https://octocounts.com/github/ikstv/AvelRen) | 19,884 | 25,543 | 138 | 47.3% |
| 17 | [wnlen/clash-for-linux](https://octocounts.com/github/wnlen/clash-for-linux) | 18,702 | 23,081 | 45 | 99.9% |
| 18 | [weiping/pi-superpowers](https://octocounts.com/github/weiping/pi-superpowers) | 18,594 | 29,459 | 84 | 3.5% |
| 19 | [tipspay-dev/TipsWallet-v2](https://octocounts.com/github/tipspay-dev/TipsWallet-v2) | 17,519 | 21,036 | 17 | 0.5% |
| 20 | [bin456789/reinstall](https://octocounts.com/github/bin456789/reinstall) | 12,718 | 20,728 | 31 | 88.5% |
| 21 | [dotnet/windowsdesktop](https://octocounts.com/github/dotnet/windowsdesktop) | 11,922 | 15,540 | 182 | 30.7% |
| 22 | [Matarwy/350meme-token](https://octocounts.com/github/Matarwy/350meme-token) | 11,727 | 12,147 | 20 | 3.7% |
| 23 | [mysql/mysql-docker](https://octocounts.com/github/mysql/mysql-docker) | 10,772 | 18,182 | 259 | 79.8% |
| 24 | [PrismML-Eng/Bonsai-demo](https://octocounts.com/github/PrismML-Eng/Bonsai-demo) | 9,975 | 19,932 | 169 | 22.0% |
| 25 | [VSCodium/vscodium](https://octocounts.com/github/VSCodium/vscodium) | 9,721 | 11,434 | 77 | 19.3% |
| 26 | [vivek-dg/omarchy-m1](https://octocounts.com/github/vivek-dg/omarchy-m1) | 8,380 | 11,299 | 473 | 36.8% |
| 27 | [goldenfrog-2577/Android-Bash-Tools](https://octocounts.com/github/goldenfrog-2577/Android-Bash-Tools) | 7,988 | 10,443 | 12 | 85.2% |
| 28 | [nvm-sh/nvm](https://octocounts.com/github/nvm-sh/nvm) | 7,438 | 10,611 | 18 | 96.1% |
| 29 | [FabricMC/fabric-docs](https://octocounts.com/github/FabricMC/fabric-docs) | 7,437 | 502,635 | 5,616 | 1.4% |
| 30 | [spiritLHLS/ecs](https://octocounts.com/github/spiritLHLS/ecs) | 6,983 | 9,471 | 19 | 100.0% |
| 31 | [adm244/Ghidra-ReAGS](https://octocounts.com/github/adm244/Ghidra-ReAGS) | 6,915 | 166,671 | 43 | 70.7% |
| 32 | [FFmpeg-Builds/FFmpeg-Builds](https://octocounts.com/github/FFmpeg-Builds/FFmpeg-Builds) | 6,772 | 8,696 | 263 | 88.8% |
| 33 | [qcadoo/qcadoo-maven-plugin](https://octocounts.com/github/qcadoo/qcadoo-maven-plugin) | 6,491 | 8,445 | 34 | 13.5% |
| 34 | [xykt/HardwareQuality](https://octocounts.com/github/xykt/HardwareQuality) | 6,420 | 6,778 | 5 | 82.3% |
| 35 | [pi-hole/pi-hole](https://octocounts.com/github/pi-hole/pi-hole) | 6,077 | 9,532 | 45 | 79.7% |
| 36 | [msitarzewski/agency-agents](https://octocounts.com/github/msitarzewski/agency-agents) | 5,866 | 72,207 | 369 | 73.4% |
| 37 | [end-4/dots-hyprland](https://octocounts.com/github/end-4/dots-hyprland) | 5,722 | 8,126 | 88 | 69.6% |
| 38 | [platfone-com/temp-number-deploy](https://octocounts.com/github/platfone-com/temp-number-deploy) | 5,524 | 8,235 | 24 | 97.7% |
| 39 | [levnikolaevich/claude-code-skills](https://octocounts.com/github/levnikolaevich/claude-code-skills) | 5,507 | 14,595 | 643 | 75.0% |
| 40 | [xykt/NetQuality](https://octocounts.com/github/xykt/NetQuality) | 5,503 | 6,025 | 12 | 56.4% |
| 41 | [anshulforyou/grandma](https://octocounts.com/github/anshulforyou/grandma) | 5,277 | 8,519 | 47 | 82.1% |
| 42 | [peonist-ai/halogen-flash-server](https://octocounts.com/github/peonist-ai/halogen-flash-server) | 5,267 | 11,824 | 31 | 41.5% |
| 43 | [mingjourney/BlogCode](https://octocounts.com/github/mingjourney/BlogCode) | 4,960 | 13,530 | 68 | 0.1% |
| 44 | [scoop206/frame](https://octocounts.com/github/scoop206/frame) | 4,891 | 8,624 | 52 | 76.1% |
| 45 | [rokokol/super-productivity-skill](https://octocounts.com/github/rokokol/super-productivity-skill) | 4,251 | 5,829 | 11 | 99.3% |
| 46 | [raythurman2386/pimarchy](https://octocounts.com/github/raythurman2386/pimarchy) | 4,164 | 6,300 | 45 | 82.1% |
| 47 | [BlackFireAlex/omarchy-android](https://octocounts.com/github/BlackFireAlex/omarchy-android) | 3,767 | 4,955 | 48 | 72.6% |
| 48 | [d3/d3](https://octocounts.com/github/d3/d3) | 3,652 | 6,044 | 11 | 18.8% |
| 49 | [bitr8/bitpunk-theme](https://octocounts.com/github/bitr8/bitpunk-theme) | 2,934 | 3,925 | 28 | 34.2% |
| 50 | [007revad/Synology_HDD_db](https://octocounts.com/github/007revad/Synology_HDD_db) | 2,703 | 5,065 | 11 | 100.0% |

Ranking rule: a repository belongs to Shell when Shell is its largest programming language by code lines; data and prose formats such as JSON, YAML, TOML and Markdown do not count as a language for this rule. "Shell share" is the share of the repository's code lines written in Shell. Code lines exclude comments and blank lines. Every report uses OctoCounts' canonical public options, with tests, docs and generated directories excluded, and reports were generated on different dates.

## FAQ

### Which Shell repository has the most lines of code?

cmu-l3/gym-anything is the largest Shell repository in OctoCounts' index, with 5,798,469 code lines out of 7,294,067 total lines across 78,561 files, counted on November 8, 2026. microsoft/git follows with 1,169,870 code lines. Code size is not code quality: a larger count only means more source material.

### How does a repository join the Shell leaderboard?

Shell must be its primary programming language: the language with the most code lines in the repository's OctoCounts report, ignoring data and prose formats such as JSON, YAML, TOML and Markdown. The repository then needs a public report with at least 5 files, and it is listed when it is among the 50 largest by code lines.

### How many Shell repositories has OctoCounts measured?

132 public GitHub repositories have Shell as their primary programming language in OctoCounts' index. This page lists the 50 largest by code lines; a repository analyzed with custom counting options keeps those counts as a separate saved result.

### Does more source lines of code mean more complexity?

Not necessarily. SLOC measures size, not complexity, quality, or maintainability. A larger codebase can mean more features, more generated or vendored code, more verbose language idioms, or more tests — none of which imply the code is harder to work with. Use line counts to gauge the scale of what you would be reading or maintaining, not as a quality signal.

## Curated comparisons in Shell

- [Deno vs Node.js: lines of code compared](https://octocounts.com/compare/deno-vs-node)
- [Bun vs Node.js: lines of code compared](https://octocounts.com/compare/bun-vs-node)

## Related OctoCounts pages

- [The largest codebases by programming language](https://octocounts.com/languages)
- [How OctoCounts counts lines of code](https://octocounts.com/docs/methodology)
- [Hall of Monoliths: largest repositories by lines of code](https://octocounts.com/hall-of-monoliths)
- [How many lines of code? The largest codebases, counted](https://octocounts.com/docs/largest-codebases)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [OctoCounts: count lines of code in any public GitHub repository](https://octocounts.com/)
