kill node process cli code example Example 1: kill all node processes killall -s KILL node Example 2: kill all node server mac terminal killall node