Bash

bash script to kill all node processed in linux distro

#!/usr/bin/env bash
#kill -9 $(ps aux | grep '\\snode\\s' | awk '{print $2}')
killall node

Batch

batch script to kill all node processed in windows distro

@echo off
taskkill /f /im node.exe

Powershell

powershell script to kill all node processed in windows distro

cmd "/C TASKKILL /IM node.exe /F"