Source-reviewed guide

Valheim Console Commands: Cheats, Admin and 1.0 Additions

How to enable Valheim's console and devcommands, common cheat commands and the new 1.0 command names, and what actually happens to your save when you use them.

Reviewed 2026-09-17

Valheim ships with a debug console for testing, admin work, and — if you want it — cheating. This covers how to turn it on, the commands people actually search for, and the one consequence worth knowing about before you use it: most cheat commands mark your character and world; the Steam hotfix adds an achievement opt-in.

Enabling the console

  1. In Steam, right-click Valheim → PropertiesGeneral → add -console to the Launch Options field. (Non-Steam installs: add -console to the shortcut's target instead.) Recent patches also let you toggle it on directly from Settings → Gameplay in-game.
  2. Launch the game, then press F5 (controller: LB + LT + Start) to open the console input line.
  3. Type devcommands and press Enter to enable cheat-tier commands. Type it again to turn them back off.

imacheater no longer works. It was the original activation command but was replaced by devcommands back in patch 0.148.6 (March 2021) — every current guide and the game itself only recognize devcommands. Without running it first, cheat commands like god or spawn are typed but silently do nothing.

Command list

Commands marked (devcommands) require devcommands to be active first.

God mode: god (devcommands) — toggles invulnerability.

Free building: nocost (devcommands) — toggles no-resource-cost building and crafting. debugmode (devcommands) enables a broader creative mode that also adds flight and build-without-workbench.

Spawning: spawn <name> [amount] [level] [radius] (devcommands) — spawns an item or creature by its internal ID (case-sensitive, not always the display name). itemset <name> [level] (devcommands) spawns a premade gear set.

Killing enemies: killall (devcommands) kills everything nearby, including tamed animals. killenemies (devcommands) kills only hostile creatures. tame (devcommands) instantly tames every nearby tameable creature.

Teleporting: goto <x> <z> (devcommands) teleports to coordinates. pos prints your current coordinates. findtp <text> (devcommands) teleports to the nearest match for a search term.

Time and weather: tod <0-1 or -1> (devcommands) sets time of day (0.5 = noon, -1 restores the normal cycle). env <name> (devcommands) forces a weather type; resetenv (devcommands) clears it. sleep skips to morning.

Flying: fly (devcommands) toggles flight. freefly (devcommands) enables a detached camera-only flight mode for screenshots — notably, this one doesn't trigger the achievement lock (see below).

Healing and status: heal (devcommands) restores full health and stamina. clearstatus (devcommands) clears negative effects. puke (devcommands) empties your food buffs so you can re-eat different food.

Skills: raiseskill <skill id> <amount> (devcommands) raises a skill by a number of levels (negative to lower it) — e.g. raiseskill swords 10. resetskill <skill id> (devcommands) resets one skill to 0.

Other frequently used commands: exploremap (devcommands) reveals the full map. resetmap (devcommands) hides it again. resetcharacter resets all skill progression without touching your inventory. ghost (devcommands) makes you invisible to other players.

New commands in 1.0

Iron Gate's release notes list these commands and direct players to the in-game help output for descriptions. Descriptions and arguments are not published in those notes as of September 17, 2026, and were not verified in-game for this page. Names alone are not enough to infer their effects or achievement safety.

  • confirmcheats
  • achievements
  • getstat
  • haslocation
  • snow
  • updatecover
  • cinematic
  • cinematicsleep
  • inventorysize
  • inventoryclean
  • clearpopups
  • height
  • pevents
  • repairall
  • resetbuildui
  • biomeinfo
  • altbiomes
  • findbiome
  • findbiometp

What using cheats means for achievements

The July FAQ describes command-based character and world flags, with freefly among the exceptions, and temporary restrictions from marked spawned items. The September 11 Steam hotfix changes the original permanent-lock policy with the command yesiuseddevcommandsbutiwantmyachievementsanyway. Iron Gate says it enables opting into achievements after developer-command or mod use. Its announcement labels this fix Steam only.

Read the achievement guide and check the installed game's eligibility messages. The hotfix does not document every command as safe or promise retroactive achievement credit.

Dedicated servers and admin commands

devcommands and other cheat-tier commands are blocked outright on vanilla dedicated servers, even for listed admins — this isn't a permissions issue, Iron Gate simply doesn't allow it server-side. Getting cheats working on a server requires a third-party mod (commonly "Dedicated server devcommands" by JereKuusela).

Separately, admin commands work natively for anyone listed in adminlist.txt: kick, ban, unban, banned, and save. These need -console + F5 but not devcommands, and don't carry any achievement consequence. Add each player's SteamID64 (found via F2 in-game) to adminlist.txt, one per line — on Windows that's %USERPROFILE%\AppData\LocalLow\IronGate\Valheim\, on Linux ~/.config/unity3d/IronGate/Valheim/. See the server settings generator for building out the rest of a server's launch configuration.

Legitimate, non-cheating uses

Not everything here is about cheating. save forces an immediate world save. pos is handy for sharing a location with teammates. resetcharacter lets a returning player re-roll their skill investment on a private world without touching their inventory. info and ping are basic diagnostic tools. All of these are useful for server admins and builders, not just for cheating.

Sources: Official 1.0 patch notes, September 11 hotfix, 1.0 FAQ, Valheim 1.0 FAQ — official (valheimgame.com), Valheim Console Commands — Fextralife Wiki, Valheim cheats: all codes and console commands — PCGamer, Valheim Console Commands: Cheats and Admin Commands — GameServerKings, Setting Server Admins — Valheim Dedicated Server Help.

Related coverage