To use Valheim’s console commands on a PC, you will need to press ESC + F5, this will open a console window. Here you can enter any of the following codes and press Enter to activate it. You must type “imacheater” in the console for the cheats to work.
Below are all the available Valheim cheats:
freefly is a free camera.
ffsmooth [set value] – make the movement of the free camera slower and smoother. By default, this value is 0.
event [name] – triggering an event. The name of the event must be written in square brackets, in English.
stopevent – stop the current event.
raiseskill [skill] [amount] – increase the skill level.
resetcharacter – reset character data.
save – save the world.
removedrops – remove all dropped items in the area.
resetwind – reset the wind.
players [nr] – difficulty scale (0 = Reset).
god – turns on god mode.
pos – write your current position on the map.
goto [x, z] – teleport.
killall – kill nearby enemies.
exploremap – explore the entire map.
resetmap – reset map exploration.
tame – tame all nearby tameable creatures.
location – spawn location.