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

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