npm stop all servers code example Example 1: kill all npm processes killall node Example 2: how to kill all node processes cmd "/C TASKKILL /IM node.exe /F"