Cucumber School Logo

Watch the Cucumber School video lesson on installing Cucumber.js here.


Cucumber.js is available as an npm module. It works with both Node.js and browsers.

With Node.js

Add cucumber as a development dependency:

# NPM
npm install --save-dev @cucumber/cucumber

Or, if you prefer Yarn:

# Yarn
yarn add --dev @cucumber/cucumber

You can help us improve this documentation. Edit this page.