How to Enable Developer Mode

February 16, 2024

This help article explains how to enable developer mode for Valheim, in order to be able to use console commands.


Steam

In order to enable developer mode in Valheim, an argument: “-console” has to be added to launch options for Valheim in Steam library.

Go to Steam library → Right mouse click on Valheim → General → Launch options → Add the “-console” argument to the list of launch options → Launch Valheim from Steam library

When in game, to open up a console window, press the ”F5” key on a keyboard or press ”LB + LT + Middle right button” combination on a controller. Most console commands become eligible for executing after typing and executing ”devcommands” command.

To see the list of other commands, you can visit out community Valheim Wiki page at: https://valheim.fandom.com/wiki/Console_Commands


Microsoft Store

In order to enable developer mode in Valheim, an argument: “-console” has to be added to target field for Valheim shortcut.

Go to Valheim installation directory (default is “C:\XboxGames\Valheim\Content“ → Right mouse click on Valheim.exe → Create shortcut → Right mouse click on newly created Valheim shortcut → Properties → Add Launch options → Add the “ -console” argument at the end of target field → Launch Valheim by executing this particular Valheim shortcut.

In some cases, due to how one install Valhiem they may have some problems with file permissions, in which case the following method is advised:

Go to Windows start → type cmd → Open the Command prompt → paste this bolded part of the following command: “start shell:appsFolder\CoffeeStainStudios.Valheim_496a1srhmar9w!Game -console” (without the quotes) → execute the command and Valheim should launch with developer mode enabled.

When in game, to open up a console window, press the ”F5” key on a keyboard or press ”LB + LT + Menu button (start/middle right button)” combination on a controller. Most console commands become eligible for executing after typing and executing ”devcommands” command.

To see the list of other commands, you can visit out community Valheim Wiki page at: https://valheim.fandom.com/wiki/Console_Commands


Xbox

When in game, to open up a console window, press ”LB + LT + Menu button (start/middle right button)” combination on a controller. Most console commands become eligible for executing after typing and executing ”devcommands” command.

[IMAGE]

To see the list of other commands, you can visit out community Valheim Wiki page at: https://valheim.fandom.com/wiki/Console_Commands

  • List of commands

  • Tips for saving commands

  • Tips for auto filling commands