Valheim Console Commands: Cheats for PC
- PC Add -console to Steam launch options, press F5, type devcommands, then type a command and press Enter.
Codes last checked on against the sources listed at the bottom of this page. Covers PC.
Published by Andrew B.
No cheats match that filter.
God mode and health
| Cheat | Command | Effect |
|---|---|---|
| God mode | PCgod | Makes you invincible and lets you one-shot enemies |
| Ghost mode | PCghost | Enemies stop attacking you |
Movement and camera
| Cheat | Command | Effect |
|---|---|---|
| Free camera | PCfreefly | Detaches the camera for a free-flying spectator view |
| Show position | PCpos | Prints your current coordinates |
Creatures and items
| Cheat | Command | Effect |
|---|---|---|
| Spawn | PCspawn <name> <amount> <level> | Spawns a creature or item at your location |
| Tame nearby | PCtame | Instantly tames every tameable creature nearby |
| Kill nearby | PCkillall | Kills every enemy and tamed creature nearby |
Character and skills
| Cheat | Command | Effect |
|---|---|---|
| Raise skill | PCraiseskill <skill> <amount> | Raises the chosen skill by the amount you set |
| Reset character | PCresetcharacter | Clears your inventory and resets every skill to zero |
World and time
| Cheat | Command | Effect |
|---|---|---|
| Skip to next day | PCsleep | Fast-forwards the game by one full day |
| Force weather | PCenv <name> | Forces a specific debug weather or environment |
| Reset weather | PCresetenv | Returns the weather to normal |
How to enter cheats
PC
- Add -console to Valheim's Steam launch options.
- Load your single-player or hosted world.
- Press F5 to open the console, type devcommands and press Enter.
- Type the command and press Enter.
FAQ
How do you open the console in Valheim?
Add -console to the game's Steam launch options, then press F5 during a game.
Is there a god mode command in Valheim?
Yes. After typing devcommands, god makes you invincible and lets you one-shot enemies.
Do Valheim console commands disable achievements?
Yes. Using devcommands permanently marks that character and world as ineligible for achievements.
Is there an item spawn command in Valheim?
Yes. spawn, followed by a name, amount and level, spawns a creature or item where you're standing.
Do console commands work in multiplayer?
Only if you're hosting the world or have been made admin on it.
