By perks, you mean this?
View attachment 5557772
If that's what you mean, you need to open the data folder then open the Skills.json file.
You are gonna need the ID of the skill you want to add.
For example, if I want the Masturbation Monkey perk, I'll open the Skills.json file and hit Ctrl+F.
Type "Masturbation Monkey" and look at the ID it was assigned. (Masturbation Monkey = 169)
Launch your game, load your save data, press F12 to open DevTools, click on Console and type:
$gameActors.actor(1).learnSkill(169)
If you don't see the skill in your Status Window yet, close the menu then open it again.
It'll appear after reopening the menu.
View attachment 5557784
If it doesn't apply the effect advertised by the perk/skill, I'm sorry for wasting your time.