oxide-sloc

oxide-sloc 1.6.26

Rust-based SLOC analysis and unit test metrics workbench

  • By Nima Shafie
  • Open Source
  • Updated Oct 26, 2026
Download for Windows

About oxide-sloc

oxide-sloc is a code metrics workbench that performs SLOC (Source Lines of Code) analysis
and unit test detection across 41 programming languages. It provides a CLI, a localhost web
UI, rich HTML reports, and PDF export. Features include language breakdown, IEEE 1045-1992
counting standards, git webhook integration, and test/production code separation.

What's new in 1.6.26

Download

| Platform | File | Notes |
|---|---|---|
| Linux x86-64 | oxide-sloc-linux-x86_64 | Static binary (musl) — works on any x86-64 Linux |
| Linux arm64 | oxide-sloc-linux-arm64 | Requires glibc ≥ 2.17 (Raspberry Pi 4, AWS Graviton, Ampere, etc.) |
| Windows x86-64 | oxide-sloc-windows-x86_64.exe | Windows 10/11 |
| Windows x86-64 (archive) | oxide-sloc-windows-x64.zip / oxide-sloc-windows-x64.tar.gz | Same exe, zipped/tarred — used by scripts/run.sh + install.sh prebuilt path (.tar.gz preferred on locked-down hosts) |
| macOS x86-64 | oxide-sloc-macos-x86_64 | Intel Mac |
| macOS Apple Silicon | oxide-sloc-macos-arm64 | M1/M2/M3/M4 Mac |
| Vendor archive | vendor.tar.gz.aa + .ab + .ac + vendor.checksums.sha256 | Rust dependency sources (split gzip parts) for air-gapped builds |
| SBOM (CycloneDX) | oxide-sloc.cdx.json / sbom.cdx.json | Syft + cargo-cyclonedx software bill of materials |
| SBOM (SPDX) | oxide-sloc.spdx.json | Syft software bill of materials (SPDX 2.3) |
| Vulnerability report | grype-report.txt | Grype scan of the CycloneDX SBOM |

Checksums for all release assets are in SHA256SUMS.txt.
GPG detached signatures (.sig), Sigstore cosign bundles (.bundle), and SLSA provenance attestations (.sigstore.json) are included for each binary.
Supply chain scanned with Syft (SBOM), Grype, and Trivy — full results also in the repository's Security → Code scanning tab. See docs/supply-chain.md.
The GPG public key used for signing is oxide-sloc-signing-key.asc.

Quick install

bash
Linux x86-64
curl -Lo oxide-sloc https://github.com/oxide-sloc/oxide-sloc/releases/download/v1.6.26/oxide-sloc-linux-x86_64
chmod +x oxide-sloc && sudo mv oxide-sloc /usr/local/bin/

Linux arm64
curl -Lo oxide-sloc https://github.com/oxide-sloc/oxide-sloc/releases/download/v1.6.26/oxide-sloc-linux-arm64
chmod +x oxide-sloc && sudo mv oxide-sloc /usr/local/bin/

macOS (Apple Silicon)
curl -Lo oxide-sloc https://github.com/oxide-sloc/oxide-sloc/releases/download/v1.6.26/oxide-sloc-macos-arm64
chmod +x oxide-sloc && sudo mv oxide-sloc /usr/local/bin/

macOS (Intel)
curl -Lo oxide-sloc https://github.com/oxide-sloc/oxide-sloc/releases/download/v1.6.26/oxide-sloc-macos-x86_64
chmod +x oxide-sloc && sudo mv oxide-sloc /usr/local/bin/

Windows — rename and add to PATH
ren oxide-sloc-windows-x86_64.exe oxide-sloc.exe

Verify checksum (Linux / macOS)
sha256sum --check SHA256SUMS.txt
…

Full release notes »

Technical details

PublisherNima Shafie
Version1.6.26
Release date2026-10-26
LicenseAGPL-3.0
Installer typezip
Architecturex64
Package IDNimaShafie.OxideSLOC

Links & install command

Install oxide-sloc from the command line with Windows Package Manager (winget):

winget install --id=NimaShafie.OxideSLOC -e

clicode-analysisdeveloper-toolsmetricsrustslocsource-lines-of-code

Older versions

  • 1.6.24
  • 1.6.23
  • 1.6.22
  • 1.6.20
  • 1.6.19
  • 1.6.18
  • 1.6.17
  • 1.6.16
  • 1.5.70