# Install promptfoo with Homebrew, Nix, winget

Test your LLM app locally. Version 0.121.20 via Homebrew; verified 2026-08-01. Also installable with nix: nix profile install nixpkgs#promptfoo.

## Install

```sh
sudo av install brew:promptfoo
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install promptfoo
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#promptfoo
```

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

### Windows

- winget (92%):

```sh
winget install --id Microsoft.Promptflow -e
```

  Evidence: Windows Package Manager source index: Microsoft.Promptflow from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:promptfoo
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/promptfoo>
- **Version:** 0.121.20
- **Source summary:** Test your LLM app locally
- **Homepage:** <https://promptfoo.dev/>
- **Upstream docs:** <https://promptfoo.dev/>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/promptfoo/-/promptfoo-0.121.20.tgz>
- **Last updated:** 2026-08-01T07:56:23Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- pf (cli)
- promptfoo (cli)
- pf (alias)
- promptfoo (alias)

## Dependencies

- node

## Build dependencies

- cmake
- 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-08-04
- Package-manager version: 0.121.20
- Package-manager updated: 2026-08-01
- Local data: ok
- Upstream repository: https://promptfoo.dev/
- info: Release/tag comparison is only available for GitHub repositories.

## Security Notes

No matching local secret-handling manifest was found for promptfoo. 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: promptfooconfig.yaml

## Credential files

- Unix: .env
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** promptfoo
- **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 - promptfoo: normalized package name match | nixpkgs package indexes: pkgs/by-name/pr/promptfoo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- winget - Microsoft.Promptflow: installed executable or alias match | Windows Package Manager source index: Microsoft.Promptflow from https://cdn.winget.microsoft.com/cache/source.msix


## Related links

- [MCP tool packages](https://pkg.so/mcp-tools/) - Mentions MCP or Model Context Protocol.
- [AI and agent packages](https://pkg.so/ai-agent-tools/) - Matched AI model, agent, coding-agent, orchestration, or MCP metadata.
- [Terminal utility packages](https://pkg.so/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://pkg.so/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [node](https://pkg.so/brew/node/) - Runtime dependency declared by Homebrew.
- [cmake](https://pkg.so/brew/cmake/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/brew/rust/) - Build dependency declared by Homebrew.
- [ollama](https://pkg.so/brew/ollama/) - Shares pkgdb curated category or tags: ai, cli, llm, model-tools.
- [llmfit](https://pkg.so/brew/llmfit/) - Shares pkgdb curated category or tags: ai, cli, llm, model-tools.
- [ramalama](https://pkg.so/brew/ramalama/) - Shares pkgdb curated category or tags: ai, cli, llm, model-tools.
- [localai](https://pkg.so/brew/localai/) - Shares pkgdb curated category or tags: ai, cli, llm, model-tools.
- [oterm](https://pkg.so/brew/oterm/) - Shares pkgdb curated category or tags: ai, cli, llm, model-tools.
- [gollama](https://pkg.so/brew/gollama/) - Shares pkgdb curated category or tags: ai, cli, llm, model-tools.
- [kubectl-ai](https://pkg.so/brew/kubectl-ai/) - Shares pkgdb curated category or tags: ai, cli, llm, model-tools.
- [mods](https://pkg.so/brew/mods/) - Shares pkgdb curated category or tags: ai, cli, llm, model-tools.
- [promptfoo](https://pkg.so/npm/promptfoo/) - Same normalized package name appears in another local ecosystem. Shared terms: ai, cli, llm, promptfoo, testing.
- [node-llama-cpp](https://pkg.so/npm/node-llama-cpp/) - Both packages touch the same language runtime or ecosystem. Shared terms: ai, cli, llm, locally, model.
- [promptfoo](https://pkg.so/npm/promptfoo/) - Same normalized package name in another local ecosystem.

## Combined YAML source

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


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
