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.

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.