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

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