Skip to content

Installation

The fastest way to run gherkin-cli is npx, with no install step:

Terminal window
npx gherkin-cli parse features/**/*.feature
Terminal window
npm install --save-dev gherkin-cli
# or
pnpm add -D gherkin-cli

Once installed, run it via your package manager’s bin resolution:

Terminal window
npx gherkin-cli validate features/**/*.feature

gherkin-cli requires Node.js 22 or later.