grunt-init: 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 CentOS possible default full paths are:

/usr/bin/grunt-init - from package: nodejs-grunt-init
/usr/lib/node_modules/grunt-init/bin/grunt-init - from package: nodejs-grunt-init

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