This post may contain affiliate links from places like Amazon and Green Man Gaming, and we may earn a small commission when you click these links. All earnings will go to keeping this website as minimally ad-free as possible.
Heads up before you dive in: I know how it feels when the world beats you down. And that’s exactly why this list exists. The game is meant to be harsh, so try to explore, build, and discover on your own first. Use these cheats only when you’re completely stuck or after you’ve already carved out your saga.
Valheim can be a punishing grind, and sometimes you just want to skip the tedium, test a base, or explore without a troll flattening you.
The good news is the console makes all of that trivial. So, whether you want god mode, free flight, or a stack of iron dropped at your feet, here is how to open the Valheim console and the commands worth memorizing in 2026.
In your Steam library, right click Valheim, open Properties, and type -console into the Launch Options field. Launch the game, then press F5 to open the console window. By default the console only allows harmless commands, so to unlock the cheats you type devcommands and press Enter. That command replaced the old imacheater, and typing it again switches cheats back off.
One important note: cheats only work in single player or in a world you host yourself, not on a dedicated server. The moment you enable devcommands, a warning appears and achievements are disabled for that session.
The Commands You Will Use Most
With cheats enabled, these are the workhorses:
Command
What it does
devcommands
Toggle cheats on or off
god
Take no damage
ghost
Enemies stop noticing you
debugmode
Free build, and press Z to toggle flight
spawn [id] [amount] [level]
Spawn any item or creature
heal
Instantly restore your health
tod [0 to 1]
Set the time of day, where 0.5 is noon
raiseskill [skill] [amount]
Boost one of your skills
killall
Kill every enemy nearby
Spawning Items and Creatures
The spawn command is the star of the show. It takes an item or creature ID, an amount, and a level. So spawn SwordIron 1 drops an iron sword at your feet, while spawn Troll 1 3 conjures a two star troll for when you are feeling brave.
IDs are case sensitive and specific, so keep an item ID list handy, since there are hundreds of them across the game.
A Word of Caution
Cheats are a great way to learn systems or rebuild after a rough raid, but they switch off achievements for that session and only function in single player or your own hosted world.
If you are chasing trophies, keep a separate save for messing around, then return to an honest run for the real Viking afterlife.
Fantasy Online 2 is a gorgeous 2D pixel MMORPG, rebuilt by the creator of a game the internet lost in 2014. The zones and music are lovely and the questing respects your time, but the combat has no impact and nothing in the world will ever try to kill you.
Hakkyu no Kiseki is the high school dynasty mode hiding in Pro Spirit 2026, and it might be the best thing in the game. Here is how the three year player cycle, weekly practice, and single elimination tournaments work, plus how to survive the roster gap that wrecks most first runs.
NBA 2K27 crashing at launch, stuttering, or running at low FPS on PC? Here are the fixes that actually work, in order, plus the one 60 FPS quirk in online modes that is not a bug.
Got questions? Have an article idea you want to pitch? Or do you just want to talk about why City of Heroes is one of the greatest MMOs of all time? Then send us an email! :)