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