Cucumber.js is available as an npm module.
Install globally with:
npm install -g cucumber
Install as a development dependency of your application with:
npm install --save-dev cucumber