Guides
Best Dota 2 Console Commands for Practice, Settings and Testing
Published August 4, 2026
It provides access to configuration options, diagnostic information and certain gameplay commands that are not available through the regular settings interface.
However, there is an important distinction between standard console commands and cheat commands.
Some commands help with configuration, while others require a private game with cheats enabled.
Understanding this distinction will help you use the console more effectively. How to Open the Dota 2 Console Before entering commands, you need to enable the developer console.
Open Dota 2 and navigate to the advanced settings. Find the developer console option and activate it.
You can then assign a keyboard key to open the console.
Steam also documents the developer console as a text-based interface for entering commands and changing supported settings. Steam Support+1
If your keyboard layout does not have a convenient tilde key, choose a different binding. Useful Dota 2 Practice Commands The following commands are particularly useful when experimenting with heroes and gameplay mechanics. Command What It Does -gold 1000 Adds unreliable gold -lvlup 5 Increases hero level -refresh Restores health and mana -respawn Respawns your hero -spawncreeps Spawns lane creeps -spawnneutrals Spawns neutral creeps -spawnrune Creates a random rune -killcreeps Removes creeps -allvision Enables both factions' vision -normalvision Returns to normal vision -wtf Enables no-cost, no-cooldown abilities -unwtf Disables WTF mode
These are practice-lobby commands, not unrestricted public-match commands. Commands for Testing Heroes Testing a hero is much easier when you do not have to wait for normal progression. Increase Your Hero Level -lvlup 5
This increases your hero's level by the specified amount.
You can use it to experiment with different skill builds and ability combinations. Restore Health and Mana -refresh
This restores your hero's health and mana and refreshes ability cooldowns.
It is particularly useful when repeating the same ability sequence. Spawn Another Hero -createhero lion
This creates a friendly Lion hero at the location of your mouse pointer.
You can also use the enemy parameter: -createhero lion enemy
This is useful when testing damage, ability interactions and positioning. Commands for Map and Creep Testing Map control and creep behavior are important parts of Dota 2.
Practice commands make it possible to experiment with these mechanics more quickly. Spawn Lane Creeps -spawncreeps
Use this to create lane creeps during supported practice sessions. Spawn Neutral Creeps -spawnneutrals
This is useful for experimenting with neutral camps and farming scenarios. Control Map Vision -allvision
This enables vision for both factions in supported practice environments.
To restore normal vision: -normalvision
This can help demonstrate how vision changes affect gameplay. Commands for Testing Ability Cooldowns One of the most interesting practice options is WTF mode.
Enter: -wtf
This removes mana costs and cooldowns from abilities and items in supported practice games.
To disable it: -unwtf
It is useful when testing ability interactions repeatedly without waiting for cooldown timers. Console Commands Versus Cheat Commands Not every command entered into the developer console is a cheat.
There are two broad categories: Command Type Main Purpose Standard console commands Configuration, diagnostics and interface settings Practice cheat commands Altering gameplay conditions in supported private games
Some commands may work without enabling cheats, while others require the lobby's cheat setting or server-side permission.
Do not assume that every command found online will work in every match. Why Some Console Commands Stop Working Dota 2 updates can change available settings and command behavior.
If a command stops working, consider the following: - Check whether the command still exists. - Verify the required lobby permissions. - Confirm whether cheats are enabled. - Check the command's spelling and parameters. - Restart the practice session if the game state becomes inconsistent. Avoid copying commands from outdated guides without checking their current relevance. Are Console Commands Allowed in Ranked Matches? Standard configuration commands and practice cheat commands are not the same thing.
Some ordinary console settings are available during regular gameplay. However, commands that manipulate gameplay conditions are restricted to appropriate practice environments.
Do not use external modifications to obtain an unfair advantage in public matchmaking. Final Thoughts The Dota 2 developer console is useful for players who want more control over testing and configuration.
From refreshing abilities to spawning heroes and experimenting with map vision, the available practice commands can save a considerable amount of time.
Start with a few basic commands and gradually explore the options that fit your testing needs.