How do i unlock Redmi 9A's bootloader without a windows machine? I use linux

Wait 5 sec.

I have an old redmi 9a device, planning to install a stable custom rom. for that i need to unlock the bootloader but all the tutorials includes something that is related to windows.I am comfortable with terminals. so is there any way? or windows is the only way?