Use cargo:
```zsh
cargo install xdotter
```
From github repo:
```zsh
git clone github.com/cncsmonster/xdotter
cd xdotter
cargo install --path .
echo 'xdotter is already installed in .cargo/bin/xdotter.'
```
```shell
xdotter -h
```
if want some example, you can check my [dotfiles](https://github.com/cncsmonster/dotfiles).
[LICENSE](LICENSE)