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

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