This page describes tools commonly used with JavaScript.

Build tools

The most widely used build tools for JavaScript are npm and Yarn.

npm

To use Cucumber with npm, make sure that:

  • npm is installed

Cucumber.js is available as an npm module.

Add cucumber as a development dependency:

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

Yarn

To run Cucumber with Yarn, make sure that:

  • Yarn is installed

Add cucumber as a development dependency:

# Yarn
yarn add --dev @cucumber/cucumber

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