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