install npm install my-eslint-cli-demo useage with yarn yarn mycli with npm, you need add script in your package.json // package.json ... "script": { "start": "mycli" } ...