InstallationOn this pageInstallation Requirements Node 18 or newer. For Command-Line Usage Install promptfoo globally using npm: npm install -g promptfoo Or use npx to run promptfoo directly: npx promptfoo@latest For Library Usage Install promptfoo as a library in your project: npm install promptfoo