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.

RankRepositoryCode linesTotal linesFilesShell share
1cmu-l3/gym-anything5,798,4697,294,06778,56128.9%
2microsoft/git1,169,8701,643,4693,63227.2%
3peff/git1,161,9791,629,2913,58427.5%
4git/git1,159,9681,626,7723,57627.5%
5daniel-ospina/agent-infra587,670982,6601,14647.6%
6DeveshM7/EmbedEval215,742220,0652101.5%
7tw93/Mole82,186107,83119461.0%
8Chachamaru127/claude-code-harness44,05080,16037079.5%
9rianlu/smartisan-launcher-maintained36,52465,8135722.8%
10apache/yetus31,49543,06515746.8%
11Felix666-ship-It/aliyun-guard27,57030,8672257.8%
12MichaelCade/90DaysOfDevOps26,128170,9182,2508.3%
13cncf/sbom23,83125,234267.1%
14nextcloud/vm23,33031,72614298.6%
15jimmycarles9991-glitch/s21xnu20,54324,40310232.7%
16ikstv/AvelRen19,88425,54313847.3%
17wnlen/clash-for-linux18,70223,0814599.9%
18weiping/pi-superpowers18,59429,459843.5%
19tipspay-dev/TipsWallet-v217,51921,036170.5%
20bin456789/reinstall12,71820,7283188.5%
21dotnet/windowsdesktop11,92215,54018230.7%
22Matarwy/350meme-token11,72712,147203.7%
23mysql/mysql-docker10,77218,18225979.8%
24PrismML-Eng/Bonsai-demo9,97519,93216922.0%
25VSCodium/vscodium9,72111,4347719.3%
26vivek-dg/omarchy-m18,38011,29947336.8%
27goldenfrog-2577/Android-Bash-Tools7,98810,4431285.2%
28nvm-sh/nvm7,43810,6111896.1%
29FabricMC/fabric-docs7,437502,6355,6161.4%
30spiritLHLS/ecs6,9839,47119100.0%
31adm244/Ghidra-ReAGS6,915166,6714370.7%
32FFmpeg-Builds/FFmpeg-Builds6,7728,69626388.8%
33qcadoo/qcadoo-maven-plugin6,4918,4453413.5%
34xykt/HardwareQuality6,4206,778582.3%
35pi-hole/pi-hole6,0779,5324579.7%
36msitarzewski/agency-agents5,86672,20736973.4%
37end-4/dots-hyprland5,7228,1268869.6%
38platfone-com/temp-number-deploy5,5248,2352497.7%
39levnikolaevich/claude-code-skills5,50714,59564375.0%
40xykt/NetQuality5,5036,0251256.4%
41anshulforyou/grandma5,2778,5194782.1%
42peonist-ai/halogen-flash-server5,26711,8243141.5%
43mingjourney/BlogCode4,96013,530680.1%
44scoop206/frame4,8918,6245276.1%
45rokokol/super-productivity-skill4,2515,8291199.3%
46raythurman2386/pimarchy4,1646,3004582.1%
47BlackFireAlex/omarchy-android3,7674,9554872.6%
48d3/d33,6526,0441118.8%
49bitr8/bitpunk-theme2,9343,9252834.2%
50007revad/Synology_HDD_db2,7035,06511100.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.

Shell leaderboard 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