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

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