I am writing a basic command line utility using node in Windows. Here is the file kevin.js
#!/usr/bin/env node console.log("Hello"); Below is my package.json
{ "name": "kevin", "version": "0.0.0", "preferGlobal": "true", "bin":{ "kevin":"kevin.js" } } When I execute node kevin.js it works. npm link command also works fine. But when i try to execute my command kevin, it does not execute, instead opens the file in Notepad.