Menu
 

Console and Cheat Commands

Console and Cheat Commands

Valheim Console Commands

To access the console in Valheim, press F5. This will display a prompt at the top left where you can enter commands. Console commands allow you to manipulate the game world in ways not normally possible. It is useful to have a Valheim server but you can do this if you are admin on any server.

How to Enable and Access the Console in Valheim

To enable and access the console in Valheim, follow these steps:

Verify Your Settings

First, you’ll need to enable console commands in Valheim. Open the game’s properties in Steam, select ‘SET LAUNCH OPTIONS...’ and enter ‘-console’. Then launch the game.

Accessing the Console

Once in-game, you can open the console by pressing F5 or FN + F5 on your keyboard. The console will appear at the top left of your screen.

To enter commands, simply type them into the console and press ENTER. For example, to give yourself some wood, enter ‘spawn Wood 10’ and press ENTER. You'll see 'Spawned 10 Wood' appear onscreen and the items will be added to your inventory.

Valheim Character Commands

CommandDescriptionVariables
godEnables God mode, making the player invulnerable.N/A
ghostMakes the player invisible and ignored by enemies.N/A
healFully restores the player's health.N/A
raiseskillIncreases a specified skill by a given amount.[skill] [amount]
resetcharacterResets all your character's skills and inventory.N/A
tameTames all nearby tameable animals.N/A
posDisplays your current coordinates.N/A
gotoTeleports you to specified coordinates.[x] [y] [z]
settimeSets the time of day.[day] [time]
killKills the player instantly.N/A
sethealthSets the player's health to a specified value.[value]
setstaminaSets the player's stamina to a specified value.[value]
setinventoryAlters the player's inventory in a specified manner.[inventory specifications]
additemAdds a specified item to the player's inventory.[item] [amount]
removeitemRemoves a specified item from the player's inventory.[item] [amount]
spawnSpawns a specified entity or object near the player.[entity] [amount]
setweatherChanges the weather to a specified type.[weather type]
kickKicks a player from the server (multiplayer).[player name]
banBans a player from the server (multiplayer).[player name]
unbanUnbans a player from the server (multiplayer).[player name]
Top