You must have node.js installed to your local drive.
Please remember to install prompt-sync if you have yet to do so:
npm install prompt-sync
to use the prompt, follow this example:
const prompt = require('prompt-sync')();
console.log("Hello World")
let name = prompt("Please enter your name");
console.log("Hello", name);