# Install toml-test with Homebrew, Nix

Language agnostic test suite for TOML parsers. Version 2.2.0 via Homebrew; verified 2026-07-26. Also installable with nix: nix profile install nixpkgs#toml-test.

## Install

```sh
sudo av install brew:toml-test
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install toml-test
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#toml-test
```

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

## Package facts

- **Package key:** brew:toml-test
- **Package manager:** Homebrew
- **Version:** 2.2.0
- **Source summary:** Language agnostic test suite for TOML parsers
- **Homepage:** <https://github.com/toml-lang/toml-test>
- **Repository:** <https://github.com/toml-lang/toml-test>
- **Last updated:** 2026-07-26T00:51:25+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- toml-test (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 2.2.0
## Project history and usage

toml-test is the TOML project's language-agnostic conformance test suite for TOML parsers and writers. It is a package-nerd tool because it turns a configuration-file format into a repeatable CLI check that parser implementations and distro builds can run.

### Project history

The official README describes toml-test as a language-agnostic suite for verifying TOML decoders and encoders. Its tests are organized as valid and invalid cases, with JSON used as the comparison format for decoder output and encoder input.

The release history reflects the TOML specification's evolution. GitHub lists v1.0.0 as adding TOML 1.0.0 support and later release notes describe support for both TOML 1.0 and upcoming TOML 1.1 test files. The repository listed v2.2.0 as the latest release on 30 April 2026.

### Adoption history

Because TOML is used as configuration syntax across language ecosystems, a language-neutral test tool is useful to parser authors who do not share a runtime. The batch input records Homebrew and Nix packages, which fits toml-test's role as a small executable that can be installed independently of any one parser library.

### How it is used

Developers run toml-test against a parser or writer command to verify that invalid documents are rejected and valid documents round-trip to the expected JSON representation. The README also documents how projects can use the test files without the toml-test binary.

### Why package nerds care

toml-test is significant precisely because it is not an application framework. It is a compact compliance harness that helps package maintainers, parser authors, and downstream users notice TOML compatibility regressions across languages.

### Timeline

- v1.0.0: Release notes recorded support for TOML 1.0.0.
- 2026: v2.2.0 was listed as the latest GitHub release on 30 April 2026.

### Related projects

- The TOML specification and toml-lang organization provide the format context for toml-test.
- Language-specific TOML parser packages use toml-test as an external conformance check.

### Sources

- <https://github.com/toml-lang/toml-test>
- <https://github.com/toml-lang/toml-test/releases>
- input.source_facts.description
- input.source_facts.package-manager


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Other Package-Manager Records

- Nix - toml-test: normalized package name match | nixpkgs package indexes: pkgs/by-name/to/toml-test/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/toml-test.yml](https://github.com/mxcl/pkgdb/blob/main/combined/toml-test.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
