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

Or, if you prefer Yarn:

# Yarn
yarn add --dev cucumber

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