Enable the Valheim console on PC

For Steam, right-click Valheim, open Properties, and enter -console in Launch Options. Start the game, load a world, and press F5. Type help 1 through help 5 to read the commands available in the current build.

For the Microsoft Store PC version, create a shortcut to Valheim.exe, open the shortcut's properties, and append -console to the Target field. Launch through that shortcut. Platform controls can differ, so use the on-screen console support on console versions rather than assuming a PC key works.

Achievement warning for 1.0

Typing devcommands enables single-player cheats, but most cheat actions can permanently mark the current character and world after a confirmation warning. Spawned items are marked; a clean character that carries one is temporarily blocked from achievements until every cheated item is discarded.

Before using any world-changing command:

  1. Back up the world and character.
  2. Use a separate test world when possible.
  3. Read the confirmation prompt.
  4. Do not give spawned items to a completion-run character.

Server administration commands are a different category from single-player cheats. An authorized admin can kick or ban players without turning a multiplayer server into a creative test world.

Safe inspection and utility commands

CommandPurpose
help 1 to help 5Shows current command pages
infoPrints system and game information
posPrints player coordinates
pingShows network latency
saveForces a world save
timeShows current in-game time
freeflyToggles the free camera
ffsmooth 1Smooths free-camera movement

Even a command that looks harmless should be checked against the in-game 1.0 confirmation and achievement panel. Iron Gate explicitly says only some commands, such as freefly, are exceptions to the cheat lock.

Common single-player devcommands

After entering devcommands, these current command families are commonly used in a disposable test world:

CommandExampleEffect
godgodToggles invulnerability
healhealRestores current health and stamina
ghostghostMakes nearby enemies ignore the player
debugmodedebugmodeEnables debug controls such as free building and flight
exploremapexploremapReveals the full map
resetmapresetmapHides explored map data
gotogoto 1000,2000Teleports to coordinates
todtod 0.5Sets time of day; tod -1 restores normal time
eventevent EVENT_NAMEStarts the named event
stopeventstopeventStops the active event
playersplayers 2Forces group difficulty scaling; 0 resets

The exact event and object identifiers are data names, not natural-language labels. Run help in the live build rather than pasting an outdated identifier from a video.

Spawn syntax and irreversible risks

The current spawn pattern is spawn ITEM AMOUNT LEVEL. For example, spawn Wood 50 creates 50 Wood. Optional suffixes can attempt to pick up or equip a spawned object, but every spawned item can affect achievement eligibility.

Do not experiment with merchants, locations, bosses, or broad deletion commands in a valued world. Some spawned objects cannot be removed cleanly, and forcedelete can remove nearby world objects. A backup is the only reliable undo for an unknown command.

Server admin commands

CommandPurpose
kick NAMEDisconnects a player
ban NAMEAdds a player to the ban list
unban NAMERemoves a ban
bannedLists banned players
saveForces a world save
lodbias VALUEAdjusts visible detail distance

Dedicated-server permissions come from adminlist.txt, bannedlist.txt, and permittedlist.txt. See the server settings guide before editing those files; adding one player to the permitted list blocks everyone else who is not listed.

Sources and review date

Last checked: September 17, 2026.

Valheim 1.0 details can change as patches land. Re-check volatile numbers, platform support, and server parameters before publishing a final table.
All guidesRead the Progression Guide