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