is-command-exists Verify if command exists on linux. installation $ npm install is-command-exists Example const isCommandExists = require('is-command-exists'); // returns true or false const exists = await isCommandExists('ls')