The Command Line Interface (CLI) for Asciidoctor.js
npm install @asciidoctor/cli

The Command Line Interface (CLI) for Asciidoctor.js.
Install Asciidoctor.js globally, and you'll have access to the asciidoctor command anywhere on your system:
$ npm i -g asciidoctor
Type asciidoctor --help for more information.