close all node processes code example
Example 1: kill all node server mac terminal
killall node
Example 2: killall node windows
taskkill /f /im node.exe
Example 3: kill all npm processes
killall node
Example 4: kill all node processes
killall -9 node