nmtui-edit: 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/nmtui-edit - from package: network-manager

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