macOS
brew install promptfoolocal Homebrew formula metadata
brew / rank 1787
Test your LLM app locally. Version 0.123.0 via Homebrew; verified 2026-09-11. Also installable with nix: nix profile install nixpkgs#promptfoo.
install
brew install promptfoolocal Homebrew formula metadata
nix profile install nixpkgs#promptfoonixpkgs package indexes · pkgs/by-name/pr/promptfoo/package.nix · source: api.github.com
winget install --id Microsoft.Promptflow -eWindows Package Manager source index · Microsoft.Promptflow · source: cdn.winget.microsoft.com
overview
Test your LLM app locally
history
Promptfoo is an open-source command-line tool and library for evaluating, benchmarking, and red-teaming LLM applications.
Promptfoo began as developer tooling for systematically comparing prompts and model outputs. Its scope expanded from prompt evaluation into testing agents and RAG pipelines, automated red teaming, vulnerability scanning, model auditing, and code-scanning workflows.
Promptfoo states that the underlying tooling was originally built for LLM applications serving more than ten million users in production. It subsequently developed into an open-source CLI and library usable locally, in application code, and in CI/CD.
The official repository now documents installation through npm, npx, pip, and Homebrew. In 2026, the project announced that Promptfoo had become part of OpenAI while remaining open source and MIT licensed.
Users define prompts, providers, test variables, assertions, and red-team targets in configuration, then run evaluations from the CLI and inspect matrix or vulnerability reports.
API credentials are normally supplied through process environment variables or an environment file. Official guidance warns against resolving secrets into exported evaluation configuration.
Promptfoo may be run as a globally installed CLI, through `npx`, as a library, or in CI/CD.
Promptfoo brought familiar test-driven development practices—declarative cases, assertions, caching, matrices, and CI checks—to prompt and model evaluation. It is notable for combining quality evaluation and adversarial red teaming in a locally runnable package rather than requiring a hosted notebook or evaluation service.
security posture
No matching local secret-handling manifest was found for promptfoo. Package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
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.
Config paths the tool may read or write during local use.
promptfooconfig.yamlCredential-bearing paths to review before unattended agent runs.
.envexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
pf | cli | global executable | |
promptfoo | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:promptfoo |
|---|---|
| Version | 0.123.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/promptfoo |
| Homepage | https://promptfoo.dev/ |
| Upstream docs | https://promptfoo.dev/ |
| License | MIT |
| Source archive | https://registry.npmjs.org/promptfoo/-/promptfoo-0.122.2.tgz |
| Last updated | 2026-09-11T09:44:29Z |
| Pulse | updated |
| Dependencies | node |
| Build dependencies | cmake, rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
promptfoo
nix profile install nixpkgs#promptfooMicrosoft.Promptflow
winget install --id Microsoft.Promptflow -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.