When writing scripts that rely on xxd , always check for its presence:

xxd --version

Zsh caches command locations. After installation, run:

If xxd is installed correctly, you should see its version number displayed.