wscat: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/wscat - from package: node-ws
/usr/lib/nodejs/ws/bin/wscat - from package: node-ws

You may install the required package with command apt-get install {package}
Error in other languages:
wscat: bevel nie gevind nie
wscat: comandă negăsită
wscat: comando não encontrado
wscat: commande introuvable
wscat: command not found
wscat: käsku ei ole
wscat: không tìm thấy lệnh
wscat: komanda nerasta
wscat: Kommando nicht gefunden.
wscat: kommandot finns inte
wscat: komut yok
wscat: nie znaleziono polecenia
wscat: níor aimsíodh an t-ordú
wscat: no se encontró la orden
wscat: no s'ha trobat l'ordre
wscat: opdracht niet gevonden
wscat: parancs nem található
wscat: perintah tidak ditemukan
wscat: príkaz nenájdený
wscat: příkaz nenalezen
wscat: команда не найдена
wscat: командата не е открита
wscat: 命令找不到
wscat: コマンドが見つかりません