guide · PC

Valheim: enabling the console through Steam and opening it

Valheim's developer console on Steam is switched on with a launch argument, then opened with a key or controller combo inside a world. Most commands require running devcommands first, and the game must be started through the shortcut that has the argument.

AI-assisted editorial · Independently AI-reviewed, not gameplay-tested.

Progress 0 / 3
Valheim official gameplay screenshot
Official Valheim imagery. Illustrative, not a screenshot of this procedure. Media credits

Turning the console on in Steam

Valheim installations made through Steam gain developer mode once the -console argument is placed in the launch options, which are found in the Steam library. Keep starting the game from that Steam library shortcut, since launching by another route may leave the console unavailable.

Opening it and running commands

After entering a world, pressing F5 opens the console when using a keyboard, while a controller uses LB + LT + Start. Typing and executing devcommands is then needed before most of the remaining commands can be used.

Step-by-Step Guide

  1. Add the launch argument

    In the Steam library, open Valheim's launch options and add the -console argument there to enable developer mode.

  2. Start the game through Steam

    Begin Valheim from the Steam library shortcut that has the argument set, rather than another launch route.

  3. Open the console and run devcommands

    Inside a world, press F5 with a keyboard or LB + LT + Start with a controller, then type and execute devcommands so most commands become usable.

Exceptions & Troubleshooting

If the console does not open

Check that the console is properly enabled and that the game is launched through the shortcut used to enable it. When using a keyboard, ensure it is not in Function mode, common on laptops and Mac devices; depending on how Windows was installed and user permissions set up, launching Valheim in administrator mode may be needed to use the console.

Did this answer your question?

Report a correction

More Valheim

Game hub