bash cargo install --git https://github.com/etheryal/bootimage --branch main
For more details check kernel documentation.