Valheim console commands and cheats guide

Published , by Chris Jarrard

For players who are willing to put in the time and effort, Valheim offers one of the better survival experiences in the last few years. In its current early access state, the game does not currently have an official creative or sandbox mode, making building and progression difficult for those without lots of time or patience. Thankfully, players have some options for acquiring items and materials outside the bounds of the game’s design. By using the built-in console commands players can spawn a variety of objects or cheats. Valheim debug mode can also serve as a limited creative mode.


How to access the console in Valheim

To get started entering commands or cheats, players must first access the console. Thanks to update 0.148.6, the console is no longer enabled in-game by default. Instead, you will need to add the launch argument "-console" to the Steam launch settings. Make sure to remove the quotations before launching.

Once the console has been enabled, simply press F5 on the keyboard to bring up the developer console. To enable cheats within the game client, type “devcommands” into the console prompt and hit enter. Players should note that enabling cheats is only supported in single-player mode. This function is disabled on multiplayer servers.


How to spawn items or NPCs in Valheim

Once players have enabled cheat mode in their single-player game, it is possible to spawn in a selection of items or entities with the console. To get started, open the console with F5 and enter the following string:

spawn [item] [quantity] [level]

If you have aspirations of spawning flint, you simply use the string above, inserting flint after the spawn command, followed by the quantity desired. For example, the proper string for getting 25 pieces of flint would be:

spawn flint 25

If you would like to spawn specific NPCs or enemies, you use the same string, placing the entity name after the spawn command, followed by desired quantity and level. For 15 level 1 skeletons, the string would look like:

spawn skeleton 15 1


Full Valheim spawn item command list

Thanks to Reddit user u/Demogrim, there is a comprehensive listing of spawnable items and entities in Valheim. Refer to this listing for any possible item you are looking for. Make note that not every item in the list is working correctly (this game is still in early access) and attempting to spawn some things may cause bugs or crashes.


Valheim cheat codes and server commands

The following cheats are available from the console once cheats have been enabled in a single-player game. Server commands work in multiplayer games.

Cheats

Server commands


How to enable creative mode in Valheim

Once players have enabled cheats in their single-player game by entering “devcommands” into the console prompt, it is possible to enable a "creative" or debug mode in Valheim. This mode can operate as a poor man’s creative mode until the game officially offers such a feature. To enter this mode, use the following string:

debugmode - Enables Creative Mode

Debug mode commands


For more guides, walkthroughs, and anything else related to Valheim, be sure to check out our ever-expanding hub. Our crack guide team will have you up and running in no time so you can get the most out of your Viking survival experience.