kill nodejs port code example Example 1: kill all node processes killall -s KILL node Example 2: windows terminal vai kill all node js port taskkill /f /im node.exe