I usually install it with twrp.
1. twrp flash
2. full erase, write yes
3. change the "data" partition
twrp / wipe / wipe advanced / select data - repair or change file / change file / ext4
4. restart recovery mode
5. flash rom, gapps, magisk optional if you want
hopefully, it will start normally, but twrp will be replaced by lineage recovery, and if you want to update the rom in future updates you should update it with lineage recovery, because if you flash twrp again, after booting this rom, it will cause errors in twrp.
The same occurs when flashing twrp. Can't boot to recovery.