# Install cargo-nextest with Homebrew, apk, Nix, pacman, winget

Next-generation test runner for Rust. Version 0.9.140 via Homebrew; verified 2026-07-05.

## Install

```sh
sudo av install brew:cargo-nextest
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install cargo-nextest
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add cargo-nextest
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#cargo-nextest
```

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

- pacman (92%):

```sh
sudo pacman -S cargo-nextest
```

  Evidence: Arch Linux sync databases: cargo-nextest from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- winget (92%):

```sh
winget install --id nextest.cargo-nextest -e
```

  Evidence: Windows Package Manager source index: nextest.cargo-nextest from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:cargo-nextest
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/cargo-nextest>
- **Version:** 0.9.140
- **Source summary:** Next-generation test runner for Rust
- **Homepage:** <https://nexte.st>
- **Repository:** <https://github.com/nextest-rs/nextest>
- **Upstream docs:** <https://nexte.st/docs>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/nextest-rs/nextest/archive/refs/tags/cargo-nextest-0.9.140.tar.gz>
- **Last updated:** 2026-07-05T23:45:03Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- cargo-nextest (cli)
- cargo-nextest (alias)

## Build dependencies

- rust

## 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.9.140
- Package-manager updated: 2026-07-05
- Local data: ok
- Upstream repository: https://github.com/nextest-rs/nextest
- Upstream latest detected: cargo-nextest-0.9.140 (current)
## Project history and usage

cargo-nextest is the cargo-facing binary for Nextest, a next-generation Rust test runner. The official repository README describes cargo-nextest as a newer, faster Cargo test runner and points users to nexte.st for documentation.

### Project history

The cargo-nextest crate first appeared on crates.io in February 2022 as version 0.9.0. The repository README says the project is derived from diem-devtools, while the documentation positions it as a replacement runner for Rust test workflows.

### Adoption history

cargo-nextest has broad package-manager reach in the input facts: apk, Homebrew, Nix, Arch, and winget. Crates.io reported 11,087,886 downloads when checked on 2026-06-30, reflecting heavy use in Rust CI and local test loops.

### How it is used

Users run cargo nextest run to execute tests, configure repository behavior in .config/nextest.toml, and optionally use user config for personal UI preferences. The docs cover profiles, retries, timeouts, test groups, per-test overrides, archives, and integrations.

### Why package nerds care

It is significant because it rethinks the default cargo test experience around fast execution, structured configuration, CI behavior, and machine-readable metadata, making test running a first-class package workflow rather than a fixed Cargo subcommand behavior.

### Timeline

- 2022: First crates.io release 0.9.0.
- 2026: Crates.io latest version 0.9.138 and Homebrew stable version 0.9.138.

### Related projects

- Related projects include Cargo's built-in test runner, nextest-runner, nextest-metadata, nextest-filtering, cargo-llvm-cov integration, and the earlier diem-devtools codebase.

### Sources

- <https://api.github.com/repos/nextest-rs/nextest>
- <https://github.com/nextest-rs/nextest>
- <https://nexte.st/docs>
- <https://crates.io/api/v1/crates/cargo-nextest>
- <https://formulae.brew.sh/api/formula/cargo-nextest.json>


## Security Notes

No matching local secret-handling manifest was found for cargo-nextest. Nucleus package metadata is still published here so future coverage has a stable package URL.



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: .config/nextest.toml, $XDG_CONFIG_HOME/nextest/config.toml, ~/.config/nextest/config.toml
- Windows: .config\nextest.toml, %APPDATA%\nextest\config.toml, %XDG_CONFIG_HOME%\nextest\config.toml, %HOME%\.config\nextest\config.toml
## Source Database Details

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

## Other Package-Manager Records

- Nix - cargo-nextest: normalized package name match | nixpkgs package indexes: pkgs/by-name/ca/cargo-nextest/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - cargo-nextest - 0.9.110-r0: normalized package name match | Alpine Linux edge package indexes: cargo-nextest from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A next-generation test runner for Rust | https://nexte.st/
- pacman - cargo-nextest - 0.9.137-1: normalized package name match | Arch Linux sync databases: cargo-nextest from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A next-generation test runner for Rust. | https://github.com/nextest-rs/nextest
- winget - nextest.cargo-nextest: normalized package name match | Windows Package Manager source index: nextest.cargo-nextest from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [Package publisher tools](https://www.automicvault.com/pkg/package-publishers/) - Belongs to a package publishing or registry command family.
- [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.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [cargo-insta](https://www.automicvault.com/pkg/brew/cargo-insta/) - Shares av.db curated category or tags: cargo, cli, developer-tools, rust, testing.
- [cargo-llvm-cov](https://www.automicvault.com/pkg/brew/cargo-llvm-cov/) - Shares av.db curated category or tags: cargo, ci, cli, developer-tools, rust.
- [cargo-fuzz](https://www.automicvault.com/pkg/brew/cargo-fuzz/) - Shares av.db curated category or tags: cargo, cli, developer-tools, rust, testing.
- [cargo-hack](https://www.automicvault.com/pkg/brew/cargo-hack/) - Shares av.db curated category or tags: cargo, cli, developer-tools, rust, testing.
- [gotestsum](https://www.automicvault.com/pkg/brew/gotestsum/) - Shares av.db curated category or tags: ci, cli, developer-tools, test-runner, testing.
- [cargo-auditable](https://www.automicvault.com/pkg/brew/cargo-auditable/) - Shares av.db curated category or tags: cargo, cli, developer-tools, rust.
- [cargo-binstall](https://www.automicvault.com/pkg/brew/cargo-binstall/) - Shares av.db curated category or tags: cargo, cli, developer-tools, rust.
- [cargo-binutils](https://www.automicvault.com/pkg/brew/cargo-binutils/) - Shares av.db curated category or tags: cargo, cli, developer-tools, rust.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- 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
