npm-cli.js: 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/lib/node_modules/npm/bin/npm-cli.js - from package: npm

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/share/npm/bin/npm-cli.js - from package: npm

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