Every Valheim console command worth knowing — god mode, item and creature spawning, weather and time, teleport, and the commands 1.0 added — with how to switch the console on (it needs a launch option first). Search the list, hit copy, paste in-game.
# add -console as a launch option # toggle invincibility god # toggle ghost mode ghost # free building and crafting nocost # 1.0: accept the cheat warning, once confirmcheats
Type to filter, hit Copy, paste in-game. Placeholders in [brackets] are values you fill in. A row that ends in Cheat needs devcommands (and, since 1.0, confirmcheats once) and only runs on the machine hosting the world; where it says admins can send it to a dedicated server, the game forwards it for anyone on adminlist.txt. No devcommands needed rows run for anyone, anywhere.
| Command | What it does | Category |
|---|---|---|
| god [on|off] | Toggle god mode — you still take hits and stagger, but health can't drop below 1, so you can't die. god on / god off set it outright. Cheat. | Cheats / God |
| ghost [on|off] | Toggle ghost mode — enemies don't detect you. Takes the same on/off as god. Cheat. | Cheats / God |
| nocost [on|off] | Toggle free building and crafting: no materials, no crafting station, roof or fire needed, and every recipe and build piece is listed while it's on. Nothing is permanently unlocked — turn it off and the lists go back to normal. Pieces built this way are flagged cheated. Cheat. | Cheats / God |
| debugmode | Toggle debug mode. While devcommands is on: Z = fly, B = free building, K = kill every untamed creature within 1 km, L = clear item drops. Cheat. | Cheats / God |
| fly [speed] | Toggle debug flight; the optional number sets the speed (default 20, hold run for 2.5×). While flying you take no damage at all and creatures ignore you. Cheat. | Cheats / God |
| confirmcheats | The 1.0 gate. With devcommands on, every cheat you type prints a warning instead of running until you type this once. It permanently marks the character as a cheater — achievements off for that character unless you later run the 1.0.12 opt-out under Basics — and the cheats work from then on. The world itself isn't flagged. Not listed by help. Cheat. | Cheats / God |
| spawn [name] [amount] [level] [radius] [p/e/i] | Spawn a prefab in front of you. Amount defaults to 1; level 2 = one star, 3 = two (creatures cap at 9, items at quality 4); radius spreads a multi-spawn. Add p to pick it up, e to pick up and equip, i to skip if you already have one. name* spawns everything containing that word. Since 1.0 everything spawned is flagged cheated. Every ID it takes is on the Valheim item ID list. Cheat. | Spawn / Items |
| itemset [name] [level] [keep] | Put a premade named kit straight into your inventory and set its skills. Without keep it first dumps your whole inventory into a tombstone and resets every skill to zero; with keep you keep your items and skills, but known recipes, stations and trophies are still reset to the set's. Press Tab after the command to list the set names. Cheat. | Spawn / Items |
| removedrops | Delete every loaded dropped item your client owns (placed items and fish still in the water are skipped) and print the count. Also bound to L in debugmode. Not a cheat — no devcommands needed, works on dedicated servers; it's just hidden from help until devcommands is on. | Spawn / Items |
| repairall | Top up every damaged item in your inventory to full durability — equipped or just carried, no crafting station needed, including items a station refuses to repair. Chests are untouched. Added in 1.0. Cheat. | Spawn / Items |
| heal | Fully restore health, stamina and eitr. Cheat. | Player |
| puke | Clear every food you've eaten — max health and stamina drop back to base and eitr to zero. Cheat. | Player |
| raiseskill [skill] [amount] | Raise a skill by an amount (use All for every skill). Cheat. | Player |
| resetskill [skill] | Reset a skill to 0 (use All for all skills). Cheat. | Player |
| addstatus [name] | Apply a status effect (e.g. Burning, Cold, Rested). Cheat. | Player |
| setpower [name] | Set your active Forsaken power and reset its cooldown. Use the GP_ id — GP_Eikthyr, GP_TheElder and so on, Tab lists them — because a wrong name is accepted silently and gives you nothing. Cheat. | Player |
| model [0/1] | Switch body type (0 = masculine, 1 = feminine); a bad value is silently ignored. Not a cheat — no devcommands needed, works on dedicated servers; hidden from help until devcommands is on. | Player |
| beard [name] | Change beard to a named beard item (Tab lists them; the no-beard entry is one of them). No argument is an error, not a removal. Not a cheat — no devcommands needed; hidden from help until devcommands is on. | Player |
| hair [name] | Same as beard, for hair — Tab lists the names, and no argument is an error rather than a removal. Not a cheat — no devcommands needed; hidden from help until devcommands is on. | Player |
| die | Kill your own character — a normal death: tombstone, food cleared, skill loss. Does nothing in god or ghost mode, or while debug-flying. No devcommands needed. | Player |
| resetspawn | Clear your bed spawn point for the current world so you respawn at the sacrificial stones again (the bed stays yours — use it to set the spawn back). No devcommands needed. | Player |
| inventorysize [rows] | Set your inventory to that many rows (clamped to 0–9; default 4) and save it on the character, so it sticks across sessions and worlds. Whatever no longer fits is thrown on the ground, worn gear included. With no number it prints the current row count, as a red error line. Added in 1.0. Cheat. | Player |
| inventoryclean | Throw any item sitting outside the current inventory grid onto the ground. Every resize already runs this on its own, so you'll rarely need it by hand. Added in 1.0. No devcommands needed. | Player |
| cinematic [name] | Play one of the game's cinematics by name (Tab lists them). Hides the HUD and mutes the game until the clip ends or you press Esc or Jump; pauses the world only if you're alone in it. Added in 1.0. Cheat. | Player |
| cinematicsleep [name] | Queue a cinematic as the dream every player sees the next time they sleep (Tab lists the names; a typo is accepted and just plays nothing). Added in 1.0. Cheat. | Player |
| unlockcinematics | Toggle every cinematic unlocked in the main menu's cinematics list, and print which way it went. Being a cheat, it only runs inside a world you host, and it refuses if the main menu has already loaded that list this session, so run it in a world and then log out (or restart and run it before opening the menu). Added in 1.0.14. Cheat. | Player |
| goto [x] [z] | Teleport to map coordinates — whole numbers only, no decimals. You arrive at sea-level height and get set down on the terrain (while flying you keep your altitude). There is no tp. Cheat. Every location's x and z for your seed is on the Valheim seed map. | Teleport |
| recall [name] | Teleport other players to you — the name is a case-insensitive partial match; omit it to pull everyone. Host of a self-hosted game only: nobody to pull in single-player, and it can't be sent to a dedicated server. Cheat. | Teleport |
| findtp [text] [index] [closerange] | The find search, then teleport to the closest match further away than closerange (default 30 m); an index picks another entry from the list. Cheat. | Teleport |
| findbiometp [name] | The findbiome search, but no list or pins: it silently teleports you to its top-ranked patch. Not reliably the nearest — the ranking compares patch centres against your altitude instead of your north–south position. Added in 1.0. Cheat. | Teleport |
| tod [0-1] | Freeze the day/night phase on your machine (0 or 1 = midnight, 0.25 = dawn, 0.5 = noon, 0.75 = dusk; -1 releases it). The world clock keeps running underneath and other players aren't affected — use skiptime or sleep to actually move time. Cheat. | Time / Weather / Events |
| skiptime [seconds] | Skip the world clock forward by that many seconds (default 240; a negative number goes backwards). Cheat — admins can send it to a dedicated server, where it runs and prints in the server log. | Time / Weather / Events |
| sleep | Fast-forward to the next morning — the same skip a bed does, played out over about 12 seconds. Cheat — admins can send it to a dedicated server. | Time / Weather / Events |
| timescale [speed] [fadeseconds] | Set game speed, 0 to 5 (0 = freeze, 1 = normal); an optional second number eases the change over that many seconds. Only works with nobody else connected to your world, and closing the Esc menu resets it to 1. Cheat. | Time / Weather / Events |
| env [name] | Force a weather on your own screen (other players on your world keep theirs). Type env alone to print the current weather and every valid name. A name the game doesn't know freezes the weather where it is until resetenv. Cheat. | Time / Weather / Events |
| resetenv | Release a forced weather. Cheat. | Time / Weather / Events |
| wind [angle] [intensity] | Lock wind direction (degrees, 0–360) and strength (0–1). Both numbers are required, and it stays locked until resetwind — resetenv doesn't clear it. Cheat. | Time / Weather / Events |
| resetwind | Release a locked wind. Cheat. | Time / Weather / Events |
| event [name] | Start a named raid centred on where you stand (Tab lists the names). Replaces any raid already running and ignores whether your world has unlocked it. Cheat. | Time / Weather / Events |
| randomevent | Start one of the raids your world has unlocked, at a random eligible player's position (yours in solo). Silently does nothing if no raid qualifies yet. Cheat. | Time / Weather / Events |
| stopevent | Stop the active raid. Cheat. | Time / Weather / Events |
| snow [amount] | Bump the snow level on every loaded unroofed, unshielded build piece by that amount (the level clamps to 0–1 and only shows above 0.25); a negative amount subtracts from every piece. Momentary — each piece reloads its saved snow level on its next wear tick, about a second later. Added in 1.0. Cheat. | Time / Weather / Events |
| pevents [list/start/stop/here] | The persistent events 1.0 added — the ones that get a map pin and never time out. list the active ones, start one by name (it lands at a random spot that fits the event's rules, never next to a player, so follow the pin), stop the copy nearest you, or here to ask which one you're standing in. It prints "Attempted to start…" even for a bad name, so read the list under it. Cheat since 1.0.14: before that it needed nothing, and any player on a dedicated server could fire one. Now it only runs on the machine hosting the world. | Time / Weather / Events |
| tame | Tame every tameable creature currently loaded — there's no radius; the 20 m the code passes is ignored. Cheat. | Creatures |
| killall | Kill every loaded creature within 1 km — enemies and tames — and destroy every loaded spawner. Prints "Killed N monsters & M spawners." Cheat. | Creatures |
| killenemies | Kill every untamed creature within 1 km — passive wildlife included — and destroy every loaded spawner. Players and tames are spared. Cheat. | Creatures |
| aggravate | Aggravate the neutral creatures around you. Cheat. | Creatures |
| players [number] | Force enemy scaling as if that many players were nearby — any number, no cap (0 resets). Cheat — admins can send it to a dedicated server, where it only changes what the server itself simulates. | Creatures |
| exploremap | Reveal your entire minimap (yours only — nothing is shared). Cheat. | Map / World |
| resetmap | Re-fog your whole minimap, including exploration other players shared with you (pins stay). Cheat. | Map / World |
| find [text] [pingmax] | Search loaded objects and the world's location list for a name, list every match with distance and coordinates, and ping the nearest on the map (a pingmax above 1 drops that many temporary map pins instead). It doesn't teleport — findtp does. Cheat. | Map / World |
| location [name] [SAVE] | Spawn a location — a dungeon, camp or ruin — about 10 m in front of you by prefab name (Tab lists them). CAUTION: world saving is switched off until you restart unless you add SAVE, in capitals, as the third argument. Cheat. | Map / World |
| setkey [key] [value] | Set a global key — the rest of the line is the key, so setkey [key] [value] is the world-modifier form (Tab lists the keys). Not a cheat on its own, but on a clean character any key the World Modifiers menu can't set (defeated_eikthyr, say) is refused until you've run confirmcheats. Host only, or admins can send it to a dedicated server; hidden from help until devcommands is on. | Map / World |
| removekey [name] | Remove one global key (Tab lists the active ones). Not a cheat. Host only, or admins can send it to a dedicated server; hidden from help until devcommands is on. | Map / World |
| listkeys | List every active global key, the world's modifier keys and your character's own keys. Cheat — admins can send it to a dedicated server, where the list prints in the server console. | Map / World |
| resetkeys | Wipe every global key (world-modifier keys are re-applied from the world settings) and clear your character's own keys. Takes no argument — to drop a single key use removekey. Cheat — admins can send it to a dedicated server. | Map / World |
| setworldpreset [name] | Wipe every world modifier and apply a named preset: casual, easy, normal, hard, hardcore, immersive or hammer (case doesn't matter). Not a cheat. Host only, or admins can send it to a dedicated server, where the result prints in the server console. | Map / World |
| haslocation | Say whether the world generator assigned a location — boss altar, dungeon, ruin, camp — to the 64 m zone you're standing in: YES or NO, with the zone's grid coordinates, even if nothing has spawned there yet. Only the machine that owns the world has that table, so joined to a dedicated server it always says NO. Added in 1.0. No devcommands needed; hidden from help until they're on. | Map / World |
| updatecover [n] | Make every loaded build piece re-check whether it has a roof now instead of on its next 4-second tick — but only pieces in wet weather or the Deep North actually re-test (Ashlands pieces re-test for ash cover). Needs a number after it, any number, or it silently does nothing; prints nothing either way. Added in 1.0. Host only; no devcommands needed, hidden from help until they're on. | Map / World |
| height | Print the world generator's raw ground height under you as a bare number — sea level is 30, and terraforming is ignored. Added in 1.0. No devcommands needed. | Map / World |
| biomeinfo | Print a one-line stat dump for the biome sector you're standing in — name, size, centre, height range, distance from the world centre — plus any 1.0 biome modifier it carries. Added in 1.0. Cheat. | Map / World |
| altbioms | Dump every biome sector that carries a modifier — the 1.0 "alt biome" variants — one line each with its name, centre and modifiers, after warning that modifiers only show up in zones you haven't generated yet. Mind the spelling: the patch notes say altbiomes, the game only answers to altbioms. Added in 1.0. Cheat. | Map / World |
| findbiome [name] | Pin the centre of every biome patch whose name contains the text — one word, case-insensitive: a biome (DeepNorth, Mistlands, AshLands…) or a modifier — list each hit with its coordinates, and drop a public map ping on the first. The nearest-first sort is bugged (it reads your altitude as north–south), so trust the pins over the ping. Replaces your previous find pins; nothing is saved. Added in 1.0. Cheat. | Map / World |
| help | List the console commands available to you right now, with the game's own one-line descriptions (help 2 4 shows the second quarter of the list). Cheats only appear once devcommands is on. | Basics (no devcommands needed) |
| info | Print two lines of client diagnostics: the render threading mode and how much memory the game has allocated. Nothing about the world. | Basics (no devcommands needed) |
| ping | Show your latency to the server. | Basics (no devcommands needed) |
| fov [number] | Print the current field of view (no number) or set it to anything above 5. The game camera puts its own value back every frame, so it only holds while freefly is on. | Basics (no devcommands needed) |
| freefly | Toggle the detached free camera (photo mode). Your character stops taking input, scroll changes the camera speed, right-click saves a screenshot. Not a cheat — works on dedicated servers and doesn't touch achievements. | Basics (no devcommands needed) |
| pos | Print your position (X, Y, Z), zone and distance from the world centre. Hidden from help until devcommands is on, but it never needed them. | Basics (no devcommands needed) |
| stats | Print your character's stat counters. The first line is "Cheater!" if the character is flagged — the quickest way to check. Host only. | Basics (no devcommands needed) |
| achievements | Print which achievements this character has unlocked and locked, then every non-zero stat counter split into ten buckets — raw, achievement-eligible, hammer and the seven difficulties. Added in 1.0. Host only: as a client, dedicated server included, it says "not valid in the current context". | Basics (no devcommands needed) |
| getstat [StatName] | Print one stat counter — EnemyKills, Deaths, DistanceSail, TreeChops and so on, Tab lists them — as the same ten buckets, plus the platform's stored value on a "remote:" line. Added in 1.0. Host only. | Basics (no devcommands needed) |
| clearpopups | Drop every unlock pop-up still waiting to show — new recipe, build piece, station, material, trophy or item. Ones already on screen finish on their own; the message log keeps the entries. Added in 1.0. | Basics (no devcommands needed) |
| resetbuildui | Wipe the build menu's recent list, your favourites and every favourite category you made — one store shared by all build tools, written to the character on its next save. Only works once you're in a world. Added in 1.0. Not listed by help. | Basics (no devcommands needed) |
| yesiuseddevcommandsbutiwantmyachievementsanyway [1/0] | Added in the 1.0.12 hotfix. Sets a bypass flag on the character you're playing (saved with the character) so achievements unlock again after devcommands, cheated items or mods: 1 = on, any other number = off, no number = toggle; prints "Set cheat bypass to true/false". While it's on, new spawns aren't tagged as cheated either, and since 1.0.15 items that were already marked stop showing the cheated line in their tooltip and no longer pass the mark on when they merge into a clean stack. Type it in-game with the character loaded; resetkeys clears it. Not a cheat; hidden from help until devcommands is on. | Basics (no devcommands needed) |
| kick [name/userID] | Kick a player by name or SteamID. Works for anyone in adminlist.txt without devcommands — the part most command lists leave out. Non-admins get "You are not admin". | Dedicated server admin |
| ban [name/userID] | Ban a player by name or SteamID. Someone online is stored by SteamID and dropped within about five seconds; an offline name is stored as typed. Writes to bannedlist.txt on the server. Admins only, no devcommands. | Dedicated server admin |
| unban [userID] | Remove an entry from bannedlist.txt. It must match the stored entry exactly — run banned to read it. Anyone banned while online is stored by SteamID, not by name. Admins only. | Dedicated server admin |
| banned | Print the ban list and, under it, the permitted (whitelist) list — "All" there means no whitelist is set. Admins only, no devcommands. | Dedicated server admin |
| save | Force a world save and reset the autosave timer, from your own console. Same admin gate as kick: anyone in adminlist.txt, no devcommands. | Dedicated server admin |
Valheim 1.0 (9 September 2026) added a batch of console commands. Iron Gate listed the names in the patch notes and left the descriptions to the in-game help, so we worked every one out ourselves on the 1.0.12 build, server and client, then the 1.0.14 server build. They're all in the list above, tagged Added in 1.0. What actually changed for you:
devcommands on, the first cheat you type prints a warning instead of running. confirmcheats accepts it, permanently marks that character as a cheater (achievements off) and the cheats work from then on. The world isn't flagged — the character is.spawn says "cheated" in its tooltip now, and carrying one trips the same achievement check. Mods trip it too, just by being loaded.biomeinfo reads the sector you're standing in, altbioms dumps every sector carrying a modifier, findbiome pins matches and findbiometp teleports you to one. The patch notes spell it altbiomes; the game only answers to altbioms.pevents lists, starts and stops the map-pinned events 1.0 introduced. Through 1.0.12 it wasn't a cheat and any player on a dedicated server could start one. 1.0.14 made it a cheat, so it now only runs on the machine hosting the world.inventorysize sets your row count and saves it on the character, repairall tops up every damaged item you're carrying, clearpopups and resetbuildui tidy the new HUD and build menu.achievements and getstat print the counters behind the new achievements — host only.yesiuseddevcommandsbutiwantmyachievementsanyway 1 turns the cheat check off for a flagged character so achievements unlock again. Iron Gate's note on it: "Oden will surely know if you use it dishonourably."pevents became a cheat, and unlockcinematics is new: a cheat that unlocks every cinematic in the main menu's list.Enable it: add the launch option -console to Valheim (Steam → right-click Valheim → Properties → General → Launch Options → type -console).
Open it in-game: press F5 in a loaded world to bring up the console.
Turn on cheats: type devcommands and press Enter (this replaced the old imacheater command). Type it again to turn cheats back off.
Accept the 1.0 warning: the first cheat you type prints a warning and does nothing — type confirmcheats once. That permanently flags the character as cheated (achievements off), so do it on a throwaway.
adminlist.txt — sleep, skiptime, players, setkey, removekey, resetkeys, listkeys, setworldpreset — after a forwarded devcommands; they run in the server's console, so the output lands in the server log, not on your screen. Since 1.0, running any cheat permanently switches achievements off for that character (it's saved in the character file — turning devcommands off doesn't undo it), spawned items are tagged cheated, and mods trip the same check. Use a throwaway character and world if you care, or the 1.0.12 opt-out in the list. The Basics rows (help, info, ping…) work without devcommands.kick, ban, unban, banned and save — admin commands rather than cheats, so they need your SteamID64 in adminlist.txt on the server, not devcommands, plus -console on your own client to open the console.god, spawn, debugmode) only run on the machine hosting the world, so a client on a dedicated server can't use them. But admin commands — kick, ban, unban, banned and save — do work on a dedicated server, and the first four are the ones Iron Gate's own server manual lists. Put your SteamID64 in adminlist.txt on the server, join from that same Steam account with -console in your own launch options, and press F5. Admins on that list can also push a few world commands through — sleep, skiptime, players, setkey, removekey, resetkeys, listkeys, setworldpreset — after typing devcommands; they run on the server, so the output lands in its log. Editing bannedlist.txt on the server works too, and it's live: we've measured a banned player getting dropped in about seven seconds, and clearing the line let them walk straight back in — no restart either way.-console to Valheim's launch options, then press F5 in a loaded world. To use cheats, type devcommands, then confirmcheats the first time a cheat asks for it.devcommands, it replaced imacheater in patch 0.148.6. Guides still listing imacheater are outdated.spawn [name] [amount] [level] after enabling devcommands, e.g. spawn Wood 50. There's no separate 'give' command in the base game. Since 1.0 anything you spawn is tagged as a cheated item — it says so in the tooltip, and carrying one switches achievements off for that character.goto [x] [z] with map coordinates — whole numbers only, and you land at sea-level height. There is no tp or setpos command in base Valheim, but findtp [text] teleports you to the nearest object by name and, since 1.0, findbiometp [biome] to a biome.confirmcheats, achievements, getstat, haslocation, snow, updatecover, cinematic, cinematicsleep, inventorysize, inventoryclean, clearpopups, height, pevents, repairall, resetbuildui, biomeinfo, altbioms (the notes say altbiomes — the game doesn't), findbiome and findbiometp, with yesiuseddevcommandsbutiwantmyachievementsanyway following in the 1.0.12 hotfix and unlockcinematics in 1.0.14. Every one is in the list above with what it does.Console open? Here's the rest of the toolkit.