killing all node server once code example Example 1: kill all node processes killall -s KILL node Example 2: killall node windows taskkill /f /im node.exe