ngrok: 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/ngrok - from package: ngrok-client

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