# Try the standalone H0 tools
In this example, `h0-jq` extracts a failed job from a CI summary, `h0-grep` finds its error line, and `h0-md` renders a short report as HTML. The inputs are sample data. Run the commands in a fresh working directory on Linux x64 or Windows x64.
The [live CI incident demo](https://hae.so/project-h0/ci-demo/) shows each step on three sample failures. Follow the [demo source and Linux setup](examples/ci-report-demo/) to reproduce the browser demo with the same pinned executables.
The r10 bundle includes prebuilt executables for all five tools, h0-grep v0.2.2, h0-jq v0.2.4, h0-md v0.1.2, h0-mcp v0.1.5 and h0-redis v0.2.0. Get a [Linux x64 archive](https://github.com/h0lang/h0/releases/download/v0.1.1/h0-tools-linux-x64-2026-12-04-r10.tar.gz) or a [Windows x64 archive](https://github.com/h0lang/h0/releases/download/v0.1.1/h0-tools-windows-x64-2026-12-04-r10.zip). The commands below check the archive against the [published SHA-256 digests](https://github.com/h0lang/h0/releases/download/v0.1.1/h0-tools-bundle-r10-SHA256SUMS.txt) before extraction.
The bundled h0-jq executable reports `h0-jq 0.2.4`. Use the manifest and published SHA-256 digests to identify each executable.
## Linux x64
```sh
base=https://github.com/h0lang/h0/releases/download/v0.1.1
archive=h0-tools-linux-x64-2026-12-04-r10.tar.gz
curl -fL "$base/$archive" -o "$archive" &&
curl -fL "$base/h0-tools-bundle-r10-SHA256SUMS.txt" -o h0-tools-bundle-r10-SHA256SUMS.txt &&
sha256sum --check --ignore-missing h0-tools-bundle-r10-SHA256SUMS.txt &&
tar -xzf "$archive"
```
```sh
printf '%s\n' 'INFO build passed' 'ERROR tests failed' > ci.log
failed_job=$(printf '%s\n' '{"jobs":[{"name":"build","exit_code":0},{"name":"tests","exit_code":1}]}' |
./h0-tools/bin/h0-jq -r '.jobs[] | select(.exit_code != 0) | .name')
error_line=$(./h0-tools/bin/h0-grep -Fn ERROR ci.log)
printf '# CI report\n\nFailed job: `%s`\n\nLog: `%s`\n' "$failed_job" "$error_line" > ci-report.md
./h0-tools/bin/h0-md ci-report.md
```
## Windows x64 PowerShell
```powershell
& {
$ErrorActionPreference = 'Stop'
$base = 'https://github.com/h0lang/h0/releases/download/v0.1.1'
$archive = 'h0-tools-windows-x64-2026-12-04-r10.zip'
curl.exe -fL "$base/$archive" -o $archive
if ($LASTEXITCODE -ne 0) { throw 'Archive download failed' }
curl.exe -fL "$base/h0-tools-bundle-r10-SHA256SUMS.txt" -o h0-tools-bundle-r10-SHA256SUMS.txt
if ($LASTEXITCODE -ne 0) { throw 'Checksum download failed' }
$records = @(Get-Content -LiteralPath .\h0-tools-bundle-r10-SHA256SUMS.txt | Where-Object { ($_ -split '\s+')[-1] -ceq $archive })
if ($records.Count -ne 1) { throw 'Expected exactly one archive checksum record' }
$record = $records[0]
$expected = ($record -split '\s+')[0]
if ($expected -ne (Get-FileHash -LiteralPath $archive -Algorithm SHA256).Hash) { throw 'Archive checksum mismatch' }
Expand-Archive -LiteralPath $archive -DestinationPath .
}
```
```powershell
'INFO build passed', 'ERROR tests failed' | Set-Content -Encoding ascii ci.log
$failedJob = '{"jobs":[{"name":"build","exit_code":0},{"name":"tests","exit_code":1}]}' |
.\h0-tools\bin\h0-jq.exe -r '.jobs[] | select(.exit_code != 0) | .name'
$errorLine = .\h0-tools\bin\h0-grep.exe -Fn ERROR .\ci.log
@('# CI report', '', ('Failed job: `{0}`' -f $failedJob), '', ('Log: `{0}`' -f $errorLine)) |
Set-Content -Encoding ascii ci-report.md
.\h0-tools\bin\h0-md.exe .\ci-report.md
```
The example prints the same HTML on both systems. To save it, append `> ci-report.html` on Linux or `| Set-Content -Encoding utf8 ci-report.html` in PowerShell.
```html
CI report
Failed job: tests
Log: 2:ERROR tests failed
```
## Container and Debian packages
The r10 image contains h0-grep 0.2.2, h0-jq 0.2.4, h0-md 0.1.2, h0-mcp 0.1.5 and h0-redis 0.2.0. Docker itself is a separate prerequisite. Pin the published digest to use the verified image:
```sh
docker run --rm --network none ghcr.io/h0lang/h0-tools@sha256:febeb51cbeb68e598a0333789c1026276af5b2cb65868e048daef362be6d47f0 h0-jq --version
```
This prints `h0-jq 0.2.4`. The image runs as UID/GID 65532. [Image payload and publication verification](https://github.com/h0lang/h0/releases/download/v0.1.1/h0-tools-oci-r10-verification.json) records the five versions and hashes. An [offline Docker image archive](https://github.com/h0lang/h0/releases/download/v0.1.1/h0-tools-docker-linux-amd64-2026-12-04-r10.tar.gz) is available with [SHA-256 digests](https://github.com/h0lang/h0/releases/download/v0.1.1/h0-tools-docker-r10-SHA256SUMS.txt).
For Debian and Ubuntu amd64, download the [r10 Debian package](https://github.com/h0lang/h0/releases/download/v0.1.1/h0-tools-linux-amd64-2026-12-04-r10.deb) and compare its SHA-256 with the [published checksum](https://github.com/h0lang/h0/releases/download/v0.1.1/h0-tools-deb-r10-SHA256SUMS.txt) before installing the local file with `sudo apt install ./h0-tools-linux-amd64-2026-12-04-r10.deb`. The package version is `0.1.1+20261204.10`; this is the bundle version, and the individual tool versions above remain distinct. [Installed-package verification](https://github.com/h0lang/h0/releases/download/v0.1.1/h0-tools-r10-verification.json) covers Debian and Ubuntu as well as both portable bundles.
## Optional package managers
If you already use Homebrew on Linux x86_64 or Scoop on Windows x64, the project-owned [Homebrew tap](https://github.com/h0lang/homebrew-h0) and [Scoop bucket](https://github.com/h0lang/scoop-h0) install the same five released tools. Each package pins its official release executable by SHA-256. Homebrew and Scoop are separate prerequisites; these are third-party package repositories maintained by Project H0.
### Homebrew on Linux x86_64
```sh
brew install h0lang/h0/h0-jq h0lang/h0/h0-grep h0lang/h0/h0-md \
h0lang/h0/h0-mcp h0lang/h0/h0-redis
```
### Scoop on Windows x64
For a first installation from this bucket:
```powershell
scoop bucket add h0 https://github.com/h0lang/scoop-h0
scoop install h0/h0-jq h0/h0-grep h0/h0-md h0/h0-mcp h0/h0-redis
```
These routes place `h0-jq`, `h0-grep`, `h0-md`, `h0-mcp` and `h0-redis` on PATH. In the example above, use these command names instead of the archive paths under `h0-tools/bin`. The Homebrew formulas support Linux x86_64; the Scoop manifests provide Windows x64 executables. See each package repository for versions, checks and update instructions.
## Try the bundled local servers
- **h0-mcp** runs over local stdio. Use the absolute path to the executable in `h0-tools/bin` when you [connect an MCP client](https://github.com/h0lang/h0-mcp#connect-an-mcp-client). The server exposes SHA-256, Base64, H0 source Merkle roots, and C ABI layout.
- **h0-redis** starts a loopback RESP2 server and prints its assigned port when you run `./h0-tools/bin/h0-redis` on Linux or `.\h0-tools\bin\h0-redis.exe` on Windows. Send `PING` to `127.0.0.1` on that port with a RESP2 client. The server replies `PONG`. Stop it with Ctrl+C. [Supported commands](https://github.com/h0lang/h0-redis#supported-resp2-commands)
## Pin tool versions in a project
[Install all five tools with mise](packaging/mise/) on Linux x64 or Windows x64. The configuration pins each released binary by version and SHA-256.
The [aqua configuration](packaging/aqua/) pins all five tools and verifies release checksums on Linux and Windows x64.