pkg.soopen package index

brew / rank 1787

Install promptfoo with Homebrew, Nix, winget

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

Additional install commands

macOS

Homebrewverified · 100%
brew install promptfoo

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#promptfoo

nixpkgs package indexes · pkgs/by-name/pr/promptfoo/package.nix · source: api.github.com

Windows

Windows Package Managerverified · 92%
winget install --id Microsoft.Promptflow -e

Windows Package Manager source index · Microsoft.Promptflow · source: cdn.winget.microsoft.com

overview

Package summary

Test your LLM app locally

Commands and aliases

  • pf
  • promptfoo

history

Project history and usage

Promptfoo is an open-source command-line tool and library for evaluating, benchmarking, and red-teaming LLM applications.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • Early project: Tooling originated in production LLM applications serving more than ten million users.
  • Open-source expansion: Added declarative evaluations, multiple model providers, CI/CD use, and local reports.
  • Later development: Expanded into red teaming, vulnerability scanning, RAG and agent evaluation, and model security.
  • 2026: Promptfoo became part of OpenAI while remaining open source under the MIT license.

Related projects

  • Promptfoo integrates with providers including OpenAI, Anthropic, Azure, Google, Hugging Face, and locally or privately implemented APIs.
  • Its workflow complements general test runners and CI systems by treating prompts, providers, test variables, and assertions as declarative evaluation inputs.

Sources

  • Official CLI documentation: https://www.promptfoo.dev/docs/usage/command-line/
  • Official configuration documentation: https://www.promptfoo.dev/docs/configuration/guide/
  • Official introduction: https://www.promptfoo.dev/docs/intro/
  • Official repository README: https://github.com/promptfoo/promptfoo

security posture

No protected-tool coverage found yet

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

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 5 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

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

Config paths the tool may read or write during local use.

Unix
promptfooconfig.yaml

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
.env

executables

Installed executables

CommandKindExposureNote
pfcliglobal executable
promptfoocliglobal executable

freshness

Version and 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.

page generated2026-09-19
manager version0.123.0
manager updated2026-09-11
local dataok
upstreamnot checked
latest detectednot detected

https://promptfoo.dev/

install metadata

Package metadata

Package keybrew:promptfoo
Version0.123.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/promptfoo
Homepagehttps://promptfoo.dev/
Upstream docshttps://promptfoo.dev/
LicenseMIT
Source archivehttps://registry.npmjs.org/promptfoo/-/promptfoo-0.122.2.tgz
Last updated2026-09-11T09:44:29Z
Pulseupdated
Dependenciesnode
Build dependenciescmake, rust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namepromptfoo
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

promptfoo

nix profile install nixpkgs#promptfoo
  • normalized package name match
  • Matched by: Promptfoo
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/pr/promptfoo/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
winget92%

Microsoft.Promptflow

winget install --id Microsoft.Promptflow -e
  • installed executable or alias match
  • Matched by: Pf
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Microsoft.Promptflow from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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