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