kill all node processes
snippet in javascript

kill all node processes

user7826

killall -s KILL node

killall node windows

user4972

taskkill /f /im node.exe

kill node process

user7973

The Difference Between kill and pkill
The kill command is a wrapper to the kill system call, which knows only about process IDs. pkill can determine the process ID based on things like, process name, owner of the process or session id.

Syntax:
$ kill 1234
$ pkill -f node

kill all node processes

user1285

killall node

kill all node processes

user3194

killall -9 node