Valheim console commands list and all cheats

Valheim Cheat Hero
Valheim Cheat Hero (Image credit: Windows Central / Zackery Cuevas)

Valheim has already become a huge hit, selling over one million copies in its first week on PC. The Viking survival sim may be in early access, but there's a lot to see, plenty to hunt, and many bosses to defeat as you and up to nine buddies explore the 10th Norse world. With nothing but the clothes on your back, players must discover everything, from simple campfires to precious metals, but what if you wanted to just skip ahead and access cool gear right away? Well, you can, with just a few tweaks in the console command menu.

List of Valheim console commands and cheats

Source: Windows Central / Zackery Cuevas (Image credit: Source: Windows Central / Zackery Cuevas)

Console commands are one of the easiest ways to bypass game systems and experience everything in Valheim.

A few things before you dabble into these cheats, though. Since the game is in early access, we don't know how long these cheats will remain active, or how they will affect your game save in the long run. All cheats work in single-player, and while some also translate to multiplayer, your success may vary. Cheat at your own risk!

To get started, you first need to enable the ingame console by adding "-console" before launching the game. Right click Valheim in your Steam Library, go to Properties, and then add "-console" to the Launch Option window. Open up your game, and once loaded, press F5 to open the console command, and type

devcommands

to activate cheats. Type it again to deactivate cheats.

Swipe to scroll horizontally
CommandWhat it does
godThis activates God Mode, which makes you indestructible.
freeflyThis activates the free camera.
ffsmooth 1Adds smooth movements to free camera.
ffsmooth 0Resets smooth movements to normal.
killallThis kills all nearby enemies. Your personal kill switch.
tameThis tames any boars, wolves, or lox in the immediate area.
exploremapThis reveals the entire map. Potential spoilers for using this!
resetmapUnsee everything you saw.
posShow the player's coordinates.
goto [x,z]This will teleport you to a specified coordinates.
locationThis sets your spawn location. Your bed away from your bed.
event [name]Starts a named event.
stopeventStops the current event.
randomeventStarts a random event.
raiseskill [skill] [amount]Raises the specified skill. You can choose an amount between 1 and 100.
resetcharacterResets all of your character data. A fresh start.
dpsdebugToggles dps debug on and off.
saveForces the game to save.
players [nr]Adjusts the difficulty scale. Set it to 0 to totally reset the difficulty.
removedropsRemoves all items dropped in the immediate area. Perfect for clean up unwanted materials.

0.150.3 Update

Valheim Optterrain Command

Source: Windows Central (Image credit: Source: Windows Central)

The 0.150.3 update added a new terrain system to Valheim. The new terrain modification system was made to reduce the number of network instances and make loading faster and smoother. All terrain modifications after this patch (using the hoe, pickaxe or cultivator) will automatically use the new modification system.

For existing areas where heavy terrain modifications have been made before this patch, you'll want to use the special console command "optterrain" to basically convert all the old terrain modifications in the nearby area to the new system.

Valheim server admin console commands

Source: Windows Central / Zackery Cuevas (Image credit: Source: Windows Central / Zackery Cuevas)

These commands can be used by server admins in multiplayer. You can access these commands in the same way as before, by pressing F5, and then type

devcommands

. Just make sure you've added the "-console" to your Launch Options.

Swipe to scroll horizontally
CommandWhat it does
helpThis shows all of the available admin commands.
kick [name/ip/userID]This will kick a specified player.
ban [name/ip/userID]This will ban a specified player.
unban [ip/userID]This will unban a specified player.
pingPings the server to measure latency.
lodbias [number]Sets the draw distance for the server. The number can be set between 1 and 5.
infoPost your current system information.

Become a god with none of the hassle

These are all of the console commands and cheats in Valheim, as of early 2021. As previously mentioned, cheat responsibly, as we don't know how these changes to the game may impact your save file in the long term. Many of these cheats can only be used by the host in multiplayer, so make sure you tweak your character to your liking before jumping into a server. It may be early, but Valheim is already a bonafide hit and is quickly becoming one of the best survival games on the PC.

CATEGORIES
Zackery Cuevas

Zackery Cuevas is a writer for Windows Central, Android Central, and iMore. I like playing video games, talking about video games, writing about video games, and most importantly, complaining about video games. If you're cool, you can follow me on Twitter @Zackzackzackery.

Read more
Kingdom Come: Deliverance 2
8 Kingdom Come: Deliverance 2 beginner tips on what to do first in this grand medieval RPG
Kingdom Come: Deliverance 2
Kingdom Come: Deliverance 2 is getting this highly requested feature, but only on PC and Steam
SWORN
I'm having a blast with this new roguelike that's basically co-op Hades, and you can too for a huge discount if you hurry [UPDATED]
Avowed screenshot of a character and courtesan
Avowed: 7 things I wish I knew before I started playing
Baldur's Gate 3
Baldur's Gate 3 celebrates a colossal mod manager milestone with a raunchy reference to one of the game's silliest mods
In-game screenshot of a Rathian in Monster Hunter Wilds (taken in Photo Mode)
7 Monster Hunter Wilds tips I wish I knew before playing for the first time
Latest in Gaming
Call of Duty: Black Ops 6 Zombies mode screenshots for Shattered Veil map.
The next Call of Duty Zombies map, "Shattered Veil", is dropping earlier than expected
Helldivers 2
The new Helldivers 2 Illuminate Major Order is so important that we got a new stratagem for it
Hogwarts Legacy troll hero image
Hogwarts Legacy DLC reportedly canceled by WB Games
Tom Clancy's Rainbow Six Siege
Rumored Ubisoft and Tencent agreement comes to fruition with 25% stake and new division for the Assassin's Creed developer
In-game screenshot of the player consuming an enemy in Shadow Labyrinth
This isn't your grandpa's Pac-Man — Bandai Namco's iconic character gets a gritty new action game this Summer
Key art for Dragon Quest 1 and 2 HD-2D remake
Every PC and Xbox game shown off during Nintendo Direct March 2025
Latest in How-to
Atomfall
Can I play Atomfall on Steam Deck, ROG Ally, and other gaming handhelds?
Windows 11 answer file
How to easily create an unattended answer file for Windows 11
The First Berserker: Khazan
Is The First Berserker: Khazan on Xbox Game Pass?
Clair Obscur: Expedition 33
Is Clair Obscur: Expedition 33 on Xbox Game Pass?
A close-up of Hazel in South of Midnight
Is South of Midnight on Xbox Game Pass?
Atomfall screenshot
Atomfall: How to grab the best melee weapon and melee perk right away