win.gg
Win.gg Dota 2 How to activate cheats and spawn heroes in Dota 2 demo mode

How to activate cheats and spawn heroes in Dota 2 demo mode

Author Icon
William Davis Published 19/09/2021

With thousands of interactions to test, every Dota 2 player should get acquainted with demo mode.

Demo mode provides a safe environment for players to test interactions in Dota 2. Valve provides the basic tools to test skill builds and different items, but there’s a lot more to learn once players take the plunge. Here’s how to set up a custom hero testing environment in Dota 2 demo mode and how to make the most of it.

How to activate cheats in Dota 2

Demo mode’s basic options lets you cast spells for free and instantly level up to 30, but there’s a lot of things it can’t cover. That’s where cheats come in.

To activate cheats, open the developer console and type in sv_cheats 1. After you hit enter, you will then be able to apply other cheats to demo mode. Open up the console again and type in the desired cheat.

Keep in mind that these cheats are made specifically by Valve for players to test things in demo mode. You can’t activate them online but there’s no penalty for trying to do so.

Must-know cheats for Dota 2 demo modes

There are many more cheats in Dota 2, but these ones are the most important. These will cover most methods of experimentation and include some extra options for specific heroes.

How to spawn heroes in Dota 2

Once cheats are activated with the process outlined above, specific heroes can be spawned using the Dota 2 console or chat box. The chat command to spawn heroes in Dota 2 is “-createhero” followed by the name of the desired hero. For example, “-createhero templar” would spawn a friendly Templar Assassin. To create enemy heroes, just add the word enemy at the end of the command line, which would be “-createhero templar enemy” in this case.

Keep in mind that some heroes’ console names have inconsistent spelling. Queen of Pain becomes queenofpain and Outworld Destroyer is actually obsidian_destroyer. Some demons go by their Ozkavosh names. For example, Shadow Fiend is labeled nevermore for the spawn command.

For testing heroes like Chen and Enchantress, you’ll need to manually spawn jungle creeps. It works the same as spawning heroes, but replace the hero name with the creep you want to spawn. For example, typing “-createhero mud_golem” will spawn a Mud Golem.

William Davis
About William Davis

View full profile
Read Also
Yandex to repeat?: BLAST SLAM VIII preview, predictions, and more Dota 2
Yandex to repeat?: BLAST SLAM VIII preview, predictions, and more Michael Hassall If you can believe it, we’re already on the eighth edition of BLAST SLAM, as BLAST SLAM VIII kicks off tomorrow (Sep. 29) pitting 16 of the world’s best Dota 2 teams against each other in what promises to be the first big challenge of this young season. Let’s face it: At PGL Wallachia, we were missing a lot of the heavy hitters. No TI15 champs, no PARIVISION, not BetBoom, ...
Unstoppable Yandex crush NAVI in one-sided PGL Wallachia finals Dota 2
Unstoppable Yandex crush NAVI in one-sided PGL Wallachia finals Michael Hassall Team Yandex has swept the grand finals of the PGL Wallachia Season 9 Dota 2 tournament, defeating Natus Vincere (NAVI) in a 3-0 drubbing this past weekend (Sep. 27). As predicted, the revitalized Yandex, hot off the signing of former Team Falcons star Ammar "ATF" Al-Assaf, crushed their youthful opponents in a three-game sweep in the best-of-five finals. Here’s how it happened: After upsetting the star-studded LGD Gaming roster (albeit ...
Team Yandex to win it all? PGL Wallachia Season 9 Finals preview and predictions Dota 2
Team Yandex to win it all? PGL Wallachia Season 9 Finals preview and predictions Michael Hassall The first big event after TI15, PGL Wallachia Season 9, wraps up this Sunday, Sep. 27, and it’s set to be a hell of a show. After a solid week of action, with some surprise eliminations along the way, we’re down to just three teams from the original 16. Team Yandex, LGD Gaming, and Natus Vincere (NAVI) remain, having battled through some big upsets to get there. Yandex are hot ...
MidOne to Play for Team Liquid at BLAST Slam 8, Replacing Nisha: Permanent or Stand-in? Dota 2
MidOne to Play for Team Liquid at BLAST Slam 8, Replacing Nisha: Permanent or Stand-in? Owen Harsono Like most other Dota 2 teams, Team Liquid have also undergone roster changes after The International 2026, replacing Ace for Wisper. However, a swap in offlaners wasn’t the end, as veteran mid-laner MidOne has been registered under the team ahead of BLAST Slam 8, taking Nisha’s spot. Is MidOne only acting as a stand-in, or is this going to be a permanent move? Here’s what we know. On September 25, ...
PGL Wallachia Season 9 Playoffs preview and predictions Dota 2
PGL Wallachia Season 9 Playoffs preview and predictions Michael Hassall PGL Wallachia Season 9 is the first major tournament since the 2025/2026 Dota 2 season came to its conclusion at TI15, and with the roster shuffle still, well, shuffling, and top teams skipping the event while they get things finalized, it’s been an unusual tournament so far. With some surprising names in the playoffs (especially if you’ve been following the scene for the rest of the year) and the absence ...
ESIC hand down ruling in EWC Dota match-fixing case: Lifetime ban for coach as DarkMago gets a nickel Dota 2
ESIC hand down ruling in EWC Dota match-fixing case: Lifetime ban for coach as DarkMago gets a nickel Michael Hassall South American Dota 2 player Gonzalo "DarkMago" Herrera will be banned for five years from competitive Dota 2, with his coach Juan "Vintage" Angulo banned permanently, following the results of an The Esports Integrity Commission (ESIC) investigation. ESIC handed down the findings and rulings from its investigation into match-fixing allegations leveled at members of South American Dota 2 team PlayTime during the Esports World Cup on Sep. 10, in a ...
Polystrike Turns a Dota 2 Mod Into a Standalone Tactical Shooter News
Polystrike Turns a Dota 2 Mod Into a Standalone Tactical Shooter Hannan Mundia After the community-made mod found success within the community, developer and publisher Robin Entertainment has decided to turn Polystrike into a proper standalone game. Community-made mods of games finding success within the respective game’s community is nothing new. However, only a handful of those mods are able to go on and become a standalone game. One of the more recent examples is The Forgotten City, which started as a mod ...