Use WSL’s Linux package manager, or download xxd.exe from the Vim binaries.
If you see a clean output without errors, the installation succeeded. xxd command not found
or if you want just xxd without full Vim: Use WSL’s Linux package manager, or download xxd