Assuming you have Rust/Cargo installed, run this command in a terminal:
cargo install wwid
It will make the wwid command available in your PATH if you've allowed the PATH to be modified when installing Rust. cargo uninstall wwid uninstalls.
wwid
PATH
cargo uninstall wwid
Back to the crate overview.