npm close all windows code example
Example 1: node js kill port
taskkill /f /im node.exe
Example 2: how to kill all node processes
cmd "/C TASKKILL /IM node.exe /F"
taskkill /f /im node.exe
cmd "/C TASKKILL /IM node.exe /F"