Reference
Valheim Console Commands: Full List and Syntax
Valheim 1.0 reference
The complete command reference: how to open the console, the admin commands that work on a dedicated server, every cheat behind devcommands, the spawn syntax, and the rule that changed everything in 1.0 — cheats now lock your achievements permanently.
Read this before you type devcommands
Valheim 1.0 added an achievement system, and Iron Gate's own FAQ is blunt about the trade. Using most commands — including spawn — puts a permanent flag on both the character and the world that stops them ever earning achievements. Characters that cheated before 1.0 are flagged retroactively. A handful of commands, freefly among them, are exempt.
Jump to the full command list .
Valheim has three command systems, not one
Mixing them up is the single most common reason a command "does nothing". Valheim splits commands by who is allowed to run them and where they take effect, and only one of the three groups works on a rented server.
Which command system you actually need. System Who can run it Unlocked by Single player Dedicated server Blocks achievements Player commands Admin commands Cheat commands
How to enable the console
Step 1
The settings toggle — the method that works now
Open Settings, go to the gameplay tab and switch the developer console on. This arrived with the Call to Arms update (patch 0.221.4, 9 September 2025) and it survives restarts. The same patch turned the console off by default on Xbox, so Xbox players enable it here too — older guides that say Xbox needs no setup are out of date.
Step 2
The -console launch option — still works, and overrides the setting
Steam: right-click Valheim in your library, choose Properties, General, and put -console in the Launch Options box, then start the game from Steam. PC Game Pass and Microsoft Store builds have no launch options box: make a shortcut to Valheim.exe, open its properties and add -console to the end of the Target field. On Mac, start the binary with the argument: /Applications/Valheim.app/Contents/MacOS/Valheim -console
Step 3
Press F5 to open it
If nothing happens, you launched the game a different way than the one you enabled the console through (Steam launch options only apply when Steam starts the game), or your keyboard has function lock on and F5 is being sent as a media key. Type help for the list of commands on your build.
Valheim console commands on Xbox, PS5 and Switch 2
Since 1.0 this is no longer a PC-only subject. Valheim 1.0 shipped on PlayStation 5 and Switch 2 alongside PC, and the developer console came with it — locked, exactly as on PC, behind the same settings toggle and the same two commands. What differs is how you open it and how you type into it: a controller has no F5.
Step one is unchanged: open Settings, go to the gameplay tab and switch the developer console on. Step two is a button combination instead of a key press, which brings up an on-screen keyboard. Then devcommands to unlock the commands, and confirmcheats to accept the warning. Both are required, and skipping the second one is the most common reason a console player reports that devcommands "does nothing".
How to open the console, by platform, once it is enabled in settings. Platform Open the console PC PlayStation 5 Xbox Switch 2 The Xbox row is the one to treat as approximate. At least one guide published after launch reports the combination was shortened to LB + LT + Menu, while others still print the four-button hold. If the long version does nothing on your build, try the short one. And once the console is actually open, the game prints the controller layout on screen itself — that is more authoritative than any guide, this one included.
what 1.0 changed about achievements below before you use it on a save you care about.
Console commands and achievements: what 1.0 changed
Valheim 1.0 flags cheating permanently.
Valheim 1.0 added achievements, and Iron Gate's 1.0 FAQ spells out the cost of cheating. Using most console commands — spawn included — puts a permanent flag on the character and on the world that says they can never earn achievements. Characters that used cheats before 1.0 are flagged too, so a long-running save does not get a clean slate.
Spawned items are marked. A clean character who picks one up enters a temporary cheat state until every cheated item is out of their inventory. The Hammer world modifier, which removes build cost, counts as a temporary cheat as well.
A few commands are exceptions and freefly is one of them. The game also asks for confirmation before it puts you into a cheated state, so it cannot happen by accident.
Admin commands are not cheats. kick, ban, unban, save and the world modifier commands never flag anything, which means on a shared server you can run admin commands freely and treat devcommands as a decision for the whole group.
Player commands
No cheats and no admin rights needed. Nothing here flags your achievements — these are safe to use on a character you care about.
Player commands — syntax and effect. Command What it does
Emotes
Type these in the chat window with a leading slash. No devcommands needed. The full set: /wave /sit /challenge /cheer /nonono /thumbsup /point /blowkiss /bow /cower /cry /despair /flex /comehere /headbang /kneel /laugh /roar /shrug /dance /relax /toast /rest /vibe
Emotes — syntax and effect. Command What it does
Admin commands
Only available when your SteamID64 or crossplay player ID is in the server's admin list. This is the whole vanilla admin set — admin rights on a Valheim server are about moderation, not cheating, and none of these flag your character.
Admin commands — syntax and effect. Command What it does
Cheat commands
Type devcommands and press enter to unlock these, and devcommands again to switch them off. They work in single player and in a world you host from your own game. See the achievement warning above before you use any of them.
Cheat commands — syntax and effect. Command What it does
Spawn syntax and where to get IDs
The spawn command takes three arguments and only the first is required: spawn [item] [amount] [level]. So spawn Deer 1 2 spawns a single level 2 deer. Prefab names are case sensitive — deer will not work where Deer does, and this catches almost everyone the first time.
Item and creature IDs are not listed in game, and there are far too many to reproduce here reliably. The community Valheim Wiki maintains the full prefab list, and location [name] takes structure names from the same source. If you are hunting a specific item, spawn a category you know — itemset gives you a whole gear loadout — and read the real ID off your inventory.
Running cheats on a dedicated server
A vanilla dedicated server refuses every cheat command, whether or not you are an admin. The workaround is the Server Devcommands mod by JereKuusela, installed with BepInEx on both the server and each client that needs it. With it installed, admins get the cheat set automatically and do not need to type devcommands first.
Note that BepInEx mods and crossplay cannot run on the same server at once, so a modded server is effectively Steam-only. Console players cannot install those client mods either.
The one command seed hunters actually need
our guide to finding your seed covers the three other ways including reading it out of a save file.
Valheim seed map generator and the whole world is drawn in your browser — coastline, biome rings, lakes and rivers — before you commit an evening to it.
Console command questions
Why do my Valheim console commands do nothing? Nine times out of ten it is the wrong command system. Admin commands such as kick, ban and save are the only ones a dedicated server honours, and you have to be on its admin list. Cheat commands such as spawn, god and fly need devcommands typed first, and a vanilla dedicated server refuses them entirely, admin or not.
Do console commands disable achievements in Valheim 1.0? Most of them do, and the flag is permanent. 1.0 added achievements, and using commands including spawn marks both the character and the world as never able to earn them. If your group cares about achievements, treat devcommands as a group decision rather than a personal one. Admin commands like kick, ban and save are not cheats and never flag anything.
How do I open the console on Xbox? Through the gameplay setting first, because the Call to Arms update turned the console off by default on Xbox. Then hold LB + LT + RB + RT and press Menu to bring up the on-screen keyboard. Some guides published after launch report the combination was shortened to LB + LT + Menu, so if the four-button hold does nothing, try the short one. Then type devcommands, and confirmcheats to accept the warning. Guides written before September 2025 will tell you no setup is needed, which is no longer true.
Do I still need -console in my launch options? Not usually. Since the Call to Arms update there is a toggle in the gameplay settings, and that is the simplest route. The -console launch option still works and overrides the setting, which makes it the reliable choice on an older build or a launcher that ignores the setting.
What does devcommands replace? The old imacheater command. Typing devcommands switches cheat commands on, and typing it again switches them off. If you copy a command list from a 2021 guide and it mentions imacheater, that guide predates the change.
Can I remove the cheat flag from my character or world? No. Valheim 1.0 has no supported way to clear it, and the flag applies to the world as well as the character. Starting a fresh character in a flagged world does not help either — which is why the honest answer is to decide before you cheat, not after.
Related guides
How to find your Valheim world seed Valheim seed map generator — see any world before you play it Valheim map guide — biomes, coordinates and symbols Valheim build planner Valheim seed viewer — read the seed out of your save the community Valheim WikiPC GamerSurvival ServersWabbanodeGamesRadar — console combinations for PS5, Xbox and Switch 2Games Fuze — 1.0 console setup on each platformAll Things How — PS5 and Xbox console entry, and the permanent achievement flag . Last verified October 8, 2026.
This site is unofficial and is not affiliated with Iron Gate Studio AB or Coffee Stain Publishing. Report an inaccuracy and it will be corrected.