Skip to content

Install

Terminal window
# prebuilt binary (Linux and macOS, x86_64 and arm64): verifies the checksum, installs to ~/.local/bin
curl -fsSL https://raw.githubusercontent.com/RabinApps/trimtest/main/install.sh | sh
# TRIMTEST_VERSION=v0.1.0 pins a release; TRIMTEST_INSTALL_DIR=/usr/local/bin changes the target
# Windows (PowerShell): verifies the checksum, installs to %LOCALAPPDATA%\trimtest\bin
irm https://raw.githubusercontent.com/RabinApps/trimtest/main/install.ps1 | iex
# from crates.io (needs a stable Rust toolchain)
cargo install trimtest
# latest main, or a checkout
cargo install --git https://github.com/RabinApps/trimtest trimtest
cargo install --path crates/trimtest-cli

Binaries and checksums are also on the releases page. The installer refuses to install when the checksum does not match.

Check it worked:

Terminal window
trimtest --version

trimtest drives your project’s own runner and coverage tools; it installs none of them.

Ecosystem Needed for selection Needed for record --coverage
Python pytest coverage
JS/TS Node + Jest, Vitest or Playwright same (V8 coverage, nothing extra)
Rust cargo cargo-llvm-cov and rustup component add llvm-tools-preview
Java/Kotlin JDK + Gradle (or ./gradlew) or Maven (or ./mvnw) same; JaCoCo is fetched by the build
Go, Swift, Dart/Flutter, Zig the language’s own toolchain no recorded tier
SQL / PostgreSQL psql (and pg_prove with pgTAP), plus a reachable database through the PG* variables no recorded tier

Linux, macOS and Windows. On Windows use the PowerShell installer, cargo binstall, Scoop or winget; see the Windows guide.