Valheim runs entirely on a built-in developer console rather than redeemable promo codes. Typing the right command lets you spawn gear, become invincible, skip the grind for materials, or jump straight to a boss fight without hunting for a portal.
Valheim console commands
Every command below works once cheats are turned on in your world. Enter each one exactly as written into the console, followed by any variables the command needs.
devcommands— Turns on every cheat command in this list; type it again to turn cheats back offgod— Makes your character immune to damageghost— Stops nearby creatures from noticing or attacking youfly— Toggles free flight, controlled with the spacebar and Ctrl keysdebugmode— Enables no-cost building alongside flight, effectively a creative modenocost— Removes resource costs when placing buildsheal— Restores your health and stamina to full instantlypuke— Empties your stomach of all eaten foodresetcharacter— Wipes your character’s skills and progress back to defaultraiseskill [skill] [amount]— Raises the named skill to the level you specify, e.g.raiseskill running 100resetskill [skill]— Resets one named skill back to zerokillall— Kills every nearby creature, friendly or hostilekillenemies— Kills only nearby hostile creaturestame— Instantly tames any tameable creature nearbyexploremap— Reveals the entire map as if you had explored itgoto [x,z]— Teleports you to the coordinates you enterpos— Prints your character’s current coordinates in the consoleskiptime [seconds]— Fast-forwards in-game time by the number of seconds you settod [value]— Sets the time of day using a value between 0 and 1, or -1 to resetenv [weather]— Overrides the current weather with the condition you nameevent [name]— Starts a named story event, such as a boss army or raidspawn [item] [amount] [level]— Spawns the named item, creature, or object at your locationitemset [name]— Spawns a full premade gear set for a given biome, addkeepto avoid dropping your current itemssetpower [name]— Sets your active guardian power (e.g.GP_Eikthyr) and resets its cooldownplayers [number]— Scales world difficulty as though more players were active, 0 resets itWood— Wood, the base building resourceStone— Stone for early building and craftingBronze— Bronze bars for tier-two gearIron— Iron bars for tier-three gearCoins— Gold coins for trading with HaldorHammer— Hammer, the main building toolHoe— Hoe for terrain levelingCultivator— Cultivator for planting cropsTorch— Torch for light and heatChest— Chest for storageSwordIron— Iron swordBow— Crude bowBeltStrength— Megingjord, boosts carry weightWishbone— Wishbone, points toward buried treasure
Two commands are worth extra caution before use. resetcharacter permanently erases your character’s skills and progress, and forcedelete [radius] [name] deletes every object within a set radius, so back up your save file first.
Join readers who trust AllThings.How
Add us as a preferred source on Google so our practical guides show up first next time you search.
Add to Google Preferences →New commands added in Valheim 1.0
The 1.0 update introduced a batch of console commands that were not previously available. Their exact effects have not been detailed in official patch documentation yet, but the names give a strong hint at their purpose:
- confirmcheats
- achievements
- getstat
- haslocation
- snow
- updatecover
- cinematic
- cinematicsleep
- inventorysize
- inventoryclean
- clearpopups
- height
- pevents
- repairall
- resetbuildui
- biomeinfo
- altbiomes
- findbiome
- findbiometp
How to enable console commands in Valheim
On PC (Steam)
devcommands into the console and press Enter. The console will confirm cheats are active, and you can now enter any command from the list above. Typing devcommands again turns cheats back off.On Xbox
Popular item spawn codes
Pair any of these item names with the spawn command to place them directly into your world, for example spawn Silver 20.
| Spawn command | Item |
|---|---|
| AxeBronze | Bronze Axe |
| AxeBlackMetal | Black Metal Axe |
| ArmorWolfChest | Wolf Chest Armor |
| ArmorWolfLegs | Wolf Legs Armor |
| SwordBlackmetal | Black Metal Sword |
| SwordSilver | Silver Sword |
| Wishbone | Wishbone |
| Coins | Coins |
| Silver | Silver |
| BlackMetal | Black Metal |
| FineWood | Fine Wood |
| Bronze | Bronze |
| Iron | Iron |
| Wisp | Wisp |
| FlametalOre | Flametal Ore |
| ArmorAshlandsMediumChest | Ashlands Medium Chest Armor |
| ArmorAshlandsMediumLegs | Ashlands Medium Legs Armor |
| Haldor | Summons the Haldor merchant (note: he spawns slightly off the ground and cannot be removed afterward) |
Add a letter after the quantity and level to change how a spawned item behaves: p automatically picks it up, e tries to equip or use it, and i only spawns it if you don’t already have one in your inventory.
Console commands only apply to the world you enter them in and generally don’t carry over to servers you don’t host, so treat them as a single-player tool for testing builds, skipping grind, or setting up screenshots.






