how to stop all node server code example Example 1: kill all node server mac terminal killall node Example 2: kill all npm processes killall node