Gain all perks: Crusader Kings 3 cheat code
Gives you every lifestyle perk, or grants them all to a specific character when you give a character ID.
Console commands
PCgain_all_perksBefore you start the game, go to preferences and mark debug_mode in launch options; then open the console with Shift + 2 (or Alt + 2) and type the command.
To get the Gain all perks cheat in Crusader Kings 3 on PC, type gain_all_perks.