how to kill all nodejs process code example Example 1: killall node windows taskkill /f /im node.exe Example 2: kill all npm processes killall node