This command changes the religion of the specified character. If you don't specify a character ID, the religion of your own character will be changed. Note that if you change your religion to one from a DLC that you do not own, your game will end.
The syntax for the religion command is as follows:
religion [character id] [religion id]
This command has the following arguments:
|Character ID||The character ID of the character you wish to change the religion of. How to find character IDs: commands.gg/ck2/blog/console-help#charids.|
|Religion ID||The religion ID of the religion to wish to set the character's to. Find a list of all religion IDs at: commands.gg/ck2/religions.|
Find below working examples of the religion command.
religion 295 norse_pagan_reformed
The religion ID for Norse is norse_pagan_reformed - this command would make the religion of character with ID 295 Norse.
The Totemist religion has the religion ID 'totemism'. As no character ID is specified here, this command would change the religion of your own character to Totemism.