# Install kyua with Homebrew, apk, apt, dnf, MacPorts, Nix

Testing framework for infrastructure software. Version 0.14.1 via Homebrew; verified 2026-06-25.

## Install

```sh
sudo av install brew:kyua
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install kyua
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install kyua
```

  Evidence: MacPorts ports tree: devel/kyua/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add kyua
```

  Evidence: Alpine Linux edge package indexes: kyua from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install kyua
```

  Evidence: Debian stable package indexes: kyua from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install kyua
```

  Evidence: Fedora Rawhide package metadata: kyua from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#kyua
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ky/kyua/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:kyua
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/kyua>
- **Version:** 0.14.1
- **Source summary:** Testing framework for infrastructure software
- **Homepage:** <https://github.com/freebsd/kyua>
- **Repository:** <https://github.com/freebsd/kyua>
- **Upstream docs:** <https://github.com/freebsd/kyua#readme>
- **License:** BSD-3-Clause
- **Source archive:** <https://github.com/freebsd/kyua/releases/download/kyua-0.14.1/kyua-0.14.1.tar.gz>
- **Last updated:** 2026-06-25T13:37:47+02:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- kyua (cli)
- kyua (alias)

## Dependencies

- atf
- lua
- lutok

## Build dependencies

- pkgconf

## Uses from macOS

- sqlite

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.14.1
- Package-manager updated: 2026-06-25
- Local data: ok
- Upstream repository: https://github.com/freebsd/kyua
- info: No cached GitHub release or tag data was available.
## Project history and usage

Kyua is a BSD-oriented test runner and reporting tool for infrastructure software. It was designed around ATF compatibility but grew into a standalone command-line runtime able to run ATF tests, plain test programs, and TAP-style tests.

For package people, Kyua matters because it is not just another unit-test binary: it is part of the operating-system test-suite story for NetBSD and FreeBSD, and it appears across ports and distribution packages as the runner behind many low-level test suites.

### Project history

Kyua began in November 2010 as Julio Merino's attempt to replace the ATF tools while preserving compatibility with ATF-written tests. The NetBSD wiki framed the goal as reimplementing the ATF tools while keeping the NetBSD test suite usable, especially to unlock features such as parallel execution, richer reports, and support for non-ATF tests.

The project reached Kyua 0.1 in July 2011 after it could run most of the NetBSD test suite unmodified. FreeBSD later adopted Kyua as part of its own test-suite and CI work, and in 2024 the project moved under the FreeBSD GitHub organization after a long quiet period.

### Adoption history

Kyua's adoption followed BSD operating-system testing needs rather than application-framework fashion. Its README documents packages for FreeBSD, NetBSD pkgsrc, OpenBSD, Fedora, and Homebrew, reflecting a tool distributed mainly where system test suites and ports infrastructure need a common runner.

FreeBSD documentation describes ATF test programs relying on a separate runtime engine and names Kyua as the runtime of choice. That made Kyua part of the practical interface between operating-system tests, package builds, and CI reporting.

### How it is used

Users define test suites with Kyuafiles and run them with the `kyua` command. Kyua records results, can generate reports, and can run tests written with ATF as well as simpler external programs.

The 0.12 release in November 2015 added parallel test execution, a significant improvement for large system test suites where individual tests are often I/O-bound or process-bound rather than CPU-bound.

### Why package nerds care

Kyua is a classic package-nerd tool because it lives at the layer where packaging, operating-system QA, and reproducible test execution meet. It is small enough to install as a command-line dependency, but important enough that a broken Kyua package can affect large downstream test runs.

Its relationship with ATF, TAP, FreeBSD, NetBSD, and Homebrew makes it a useful marker of Unix test infrastructure moving from ad hoc scripts toward queryable, reportable test databases.

### Timeline

- 2010: Kyua was born as a testing framework for infrastructure software.
- 2011: Kyua 0.1 was launched after it could run most of the NetBSD test suite unmodified.
- 2013: Work to integrate Kyua into FreeBSD was underway.
- 2015: Kyua 0.12 added parallel test execution.
- 2016: Kyua 0.13 was released with fixes for timestamps, TAP parsing, and long-running executions.
- 2024: The project moved under the FreeBSD GitHub organization.
- 2025: Kyua 0.14.1 was released with renewed ATF compatibility and build fixes.

### Related projects

- ATF is Kyua's closest companion: ATF provides libraries and conventions for writing tests, while Kyua runs them and records results.
- TAP support connects Kyua to the broader Unix testing convention used by many language and packaging ecosystems.
- FreeBSD CI and test-suite work helped turn Kyua from a NetBSD-adjacent experiment into practical operating-system testing infrastructure.

### Sources

- <https://blogsystem5.substack.com/p/kyua-graduates>
- <https://github.com/freebsd/kyua>
- <https://man.freebsd.org/cgi/man.cgi?format=html&query=atf&sektion=7>
- <https://raw.githubusercontent.com/freebsd/kyua/master/NEWS>
- <https://raw.githubusercontent.com/freebsd/kyua/master/README.md>
- <https://wiki.netbsd.org/kyua/>


## Security Notes

infrastructure mutation or orchestration signal.

- **Geiger risk:** orange / medium
- infrastructure mutation or orchestration signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** kyua
- **Version Scheme:** 0
- **Revision:** 1
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - kyua - 0.13+git20240311+0a43bb8d89e3-3: normalized package name match | Debian stable package indexes: kyua from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | testing framework for infrastructure software | https://github.com/freebsd/kyua
- Nix - kyua: normalized package name match | nixpkgs package indexes: pkgs/by-name/ky/kyua/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - kyua - 0.13+git20190402+a685f911237e-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: kyua from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | testing framework for infrastructure software | https://github.com/jmmv/kyua
- apk - kyua - 0.14.1-r0: normalized package name match | Alpine Linux edge package indexes: kyua from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | testing framework for infrastructure software | https://github.com/freebsd/kyua
- apk - kyua-dbg - 0.14.1-r0: normalized package name match | Alpine Linux edge package indexes: kyua-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | testing framework for infrastructure software (debug symbols) | https://github.com/freebsd/kyua
- apk - kyua-doc - 0.14.1-r0: normalized package name match | Alpine Linux edge package indexes: kyua-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | testing framework for infrastructure software (documentation) | https://github.com/freebsd/kyua
- dnf - kyua - 0.13-21.fc44: normalized package name match | Fedora Rawhide package metadata: kyua from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Testing framework for infrastructure software | https://github.com/jmmv/kyua
- dnf - kyua-tests - 0.13-21.fc44: normalized package name match | Fedora Rawhide package metadata: kyua-tests from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Runtime tests of the Kyua toolchain | https://github.com/jmmv/kyua
- MacPorts - kyua: normalized package name match | MacPorts ports tree: devel/kyua/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [atf](https://www.automicvault.com/pkg/brew/atf/) - Runtime dependency declared by Homebrew.
- [lua](https://www.automicvault.com/pkg/brew/lua/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [phpunit](https://www.automicvault.com/pkg/brew/phpunit/) - Shares av.db curated category or tags: cli, developer-tools, test-framework, testing.
- [allure](https://www.automicvault.com/pkg/brew/allure/) - Shares av.db curated category or tags: cli, developer-tools, testing.
- [artillery](https://www.automicvault.com/pkg/brew/artillery/) - Shares av.db curated category or tags: cli, developer-tools, testing.
- [busted](https://www.automicvault.com/pkg/brew/busted/) - Shares av.db curated category or tags: cli, developer-tools, testing.
- [bzt](https://www.automicvault.com/pkg/brew/bzt/) - Shares av.db curated category or tags: cli, developer-tools, testing.
- [cargo-fuzz](https://www.automicvault.com/pkg/brew/cargo-fuzz/) - Shares av.db curated category or tags: cli, developer-tools, testing.
- [cargo-hack](https://www.automicvault.com/pkg/brew/cargo-hack/) - Shares av.db curated category or tags: cli, developer-tools, testing.
- [cargo-insta](https://www.automicvault.com/pkg/brew/cargo-insta/) - Shares av.db curated category or tags: cli, developer-tools, testing.
- [cxxtest](https://www.automicvault.com/pkg/brew/cxxtest/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, developer, developer-tools, framework, test.
- [shunit2](https://www.automicvault.com/pkg/brew/shunit2/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, developer, developer-tools, framework, test.
- [counterfeiter](https://www.automicvault.com/pkg/brew/counterfeiter/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, developer, developer-tools, test, testing.

## Combined YAML source

View the package source record on GitHub. [combined/kyua.yml](https://github.com/automic-vault/db/blob/main/combined/kyua.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
