npm kill code example Example 1: kill all npm processes killall node Example 2: node js kill port taskkill /f /im node.exe