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

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

On Debian possible default full paths are:

/usr/bin/wslget - from package: wsl

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