Installation
The fastest way to run gherkin-cli is npx, with no install step:
npx gherkin-cli parse features/**/*.featureInstall into a project
Section titled “Install into a project”npm install --save-dev gherkin-cli# orpnpm add -D gherkin-cliOnce installed, run it via your package manager’s bin resolution:
npx gherkin-cli validate features/**/*.featureRequirements
Section titled “Requirements”gherkin-cli requires Node.js 22 or later.
- Introduction — what
gherkin-cliis and why it exists. - CLI Reference — the full command surface.