Stellaris add_relic command

This command grants <span class="parameter parameter-primary">Relic ID</span>. You can also type <span class="parameter parameter-primary">all</span> instead of the <span class="parameter parameter-primary">Relic ID</span>, which will grant all relics. The same relic can be added more than once.
Command syntax
add_relic <span class="parameter parameter-primary">Relic ID</span>
Example
add_relic r_unbidden_warlock
How to open the console in Stellaris
Press the ~ / ` key to open the command console. This key is located at the top left of the keyboard, usually under the F1 or ESC key. Type the command and press the Enter key.