Are you sure you want to delete this access key?
title | description | keywords | sidebar_position |
---|---|---|---|
Install Promptfoo | Learn how to install promptfoo using npm, npx, or Homebrew. Set up promptfoo for command-line usage or as a library in your project. | [install installation npm npx homebrew setup promptfoo] | 4 |
import CodeBlock from '@theme/CodeBlock'; import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';
Install promptfoo using npx, npm, or brew:
npm install -g promptfoo npx promptfoo@latest brew install promptfooInstall promptfoo
as a library in your project:
npm install promptfoo --save
To verify that promptfoo is installed correctly, run:
promptfoo --version npx promptfoo@latest --version promptfoo --versionThis should display the version number of promptfoo:
0.114.7
After installation, you can start using promptfoo by running:
promptfoo init npx promptfoo@latest init promptfoo initThis will create a promptfooconfig.yaml
placeholder in your current directory.
For more detailed usage instructions, please refer to our Getting Started guide.
Press p or to see the previous file or, n or to see the next file
Browsing data directories saved to S3 is possible with DAGsHub. Let's configure your repository to easily display your data in the context of any commit!
promptfoo is now integrated with AWS S3!
Are you sure you want to delete this access key?
Browsing data directories saved to Google Cloud Storage is possible with DAGsHub. Let's configure your repository to easily display your data in the context of any commit!
promptfoo is now integrated with Google Cloud Storage!
Are you sure you want to delete this access key?
Browsing data directories saved to Azure Cloud Storage is possible with DAGsHub. Let's configure your repository to easily display your data in the context of any commit!
promptfoo is now integrated with Azure Cloud Storage!
Are you sure you want to delete this access key?
Browsing data directories saved to S3 compatible storage is possible with DAGsHub. Let's configure your repository to easily display your data in the context of any commit!
promptfoo is now integrated with your S3 compatible storage!
Are you sure you want to delete this access key?