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