This page compares the source lines of code (SLOC) of nushell/nushell and fish-shell/fish-shell using cached OctoCounts reports. Code size is not code quality: a larger count only means more source material, not a better or worse project.
As of 2026-08-30, nushell/nushell contains 344,326 total lines (294,921 code) across 1,681 files, while fish-shell/fish-shell contains 944,242 total lines (656,720 code) across 1,856 files as of 2026-09-10. fish-shell/fish-shell is about 2.2x the size of nushell/nushell by code lines. Code size is not code quality: a larger count only means more source material, not a better or worse project.
| Metric | nushell/nushell | fish-shell/fish-shell |
|---|---|---|
| Files | 1,681 | 1,856 |
| Total lines | 344,326 | 944,242 |
| Code lines | 294,921 | 656,720 |
| Comment lines | 13,979 | 18,296 |
| Blank lines | 35,426 | 269,226 |
| Languages counted | 12 | 12 |
Top languages in nushell/nushell: Rust (97.0% of code), Nushell (1.9% of code), TOML (0.7% of code). Top languages in fish-shell/fish-shell: PO File (74.8% of code), Rust (12.5% of code), Fish (9.1% of code). Rust, Python appear in both top language lists; Nushell, TOML, Nix appear only in nushell/nushell's top languages; PO File, Fish, ReStructuredText appear only in fish-shell/fish-shell's top languages.
Methodology: both counts come from cached OctoCounts reports generated with tokei. nushell/nushell was counted at ref main (commit baaba71de9dd) on 2026-08-30; fish-shell/fish-shell was counted at ref master (commit 35fd72ad034e) on 2026-09-10. See the counting methodology for ignored directories and analysis options.
Evidence and next steps:
Note: code size is not code quality. OctoCounts only reports reproducible line counts and makes no claim that either project is better.
fish-shell/fish-shell has more code: 656,720 code lines versus 294,921 for nushell/nushell, about 2.2x as much, based on cached OctoCounts reports as of 2026-09-10.
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 SLOC to gauge the scale of what you'd be reading or maintaining, not as a quality signal for nushell/nushell, fish-shell/fish-shell, or any repository.
Methodology: both counts come from cached OctoCounts reports generated with tokei. nushell/nushell was counted at ref main (commit baaba71de9dd) on 2026-08-30; fish-shell/fish-shell was counted at ref master (commit 35fd72ad034e) on 2026-09-10. See the counting methodology for ignored directories and analysis options.
Yes. This page shows the default branch for each repository. Use the interactive comparison tool to pick any public GitHub repository, branch, tag, or commit SHA for both sides and get a fresh side-by-side report.