Console commands 101: the tilde key and how to use it responsibly
Half the PC cheats on CheatBook require the same tilde key. Here's what a developer console is, why games ship them, and how to avoid breaking your save.
If you have used PC cheats in any of the last twenty years' worth of major games, you have probably tapped the tilde key. ~ opens a developer console in Skyrim, in Fallout 4, in Baldur's Gate 3, in Half-Life, in every id Software title since Quake, in Star Wars: Jedi Knight, in Deus Ex, in every Bethesda title back to Morrowind, and in dozens more.
The console is not a cheat. It is a diagnostic tool that developers use during development and forgot — or chose — to remove before shipping. Learning to use it well is one of the highest-value skills a PC player can pick up, and this guide is the version I wish someone had written for me in 2004.
What the console actually is
Every game engine of the last three decades ships with an internal command interpreter. During development, the interpreter is how programmers test features, spawn enemies, teleport around maps, and tweak variables without recompiling. In most engines, the interpreter is bound to a hotkey — traditionally tilde, because it is on almost every keyboard layout and is rarely used for anything else.
At release, some studios strip the console out. Most do not, because:
- Removing it is more work than leaving it.
- QA needs it for post-release bug reproduction.
- Modders and speedrunners like it, and both communities extend the game's lifetime.
- On PC, the culture expects it.
The tilde console is therefore not a hidden feature. It is a developer tool that ships in the retail build for good reasons.
Opening it: keyboard layout notes
The single most common frustration for new console users is the tilde key not working. This is almost always a keyboard layout issue.
- US ANSI keyboard: tilde is the key above Tab, next to 1. Just press it.
- UK, German, French layouts: the key in that physical position is a different character (
~moves to shift+#, for example). The game may or may not remap. - Non-Latin layouts: often needs a manual rebind. Look for
ConsoleorToggle consolein the game's key bindings menu.
If tilde does nothing, try backtick (`) — most engines accept both. If neither works, check the game's .ini file for a console entry, or look for a launch flag like -console on the game's Steam properties.
The three commands you actually need
Almost every "cheat" in a Bethesda, Larian, Valve, or id title reduces to some combination of three primitives:
- Toggle a game flag: infinite health, no clipping, god mode, invulnerability. Skyrim's
tgm, Fallout'stim, Half-Life'ssv_cheats 1thengod. - Spawn an item or entity:
player.additem <id> <count>in Bethesda titles,give <item>in Valve titles,spawn npc_alyxin Half-Life. - Teleport or set position:
coc <cell>in Bethesda,noclipthen walk,setposwith coordinates in Valve engines.
Learn those three families and you can navigate almost any console in the wild. Every other command is specialised — quest completion, faction manipulation, weather forcing — and easy to look up on demand.
The five habits that keep your save alive
1. Save before you type. Every experienced console user has typed a wrong command once. Every one of them also has a manual save slot from thirty seconds ago. Cultivate the muscle memory.
2. Read the argument order. player.additem 0000000f 100 in Fallout gives you 100 caps. player.additem 100 0000000f gives you a stack of 15 caps and probably fails. Argument order is usually <id> <count>, but not always. When in doubt, look it up.
3. Case sensitivity varies. Fallout and Skyrim are case-insensitive. Some source engine games are not. If a command silently fails, try lowercase.
4. Autocomplete exists in most modern consoles. Type the first few letters and press Tab. If nothing happens, the command probably does not exist. Do not invent syntax; the console does not fuzzy-match.
5. Never paste a command you do not understand. Especially in modded games, "hey try this in the console" is a well-known way to nuke someone's save. The console is powerful. It will do exactly what you tell it, even if what you told it is stupid.
Why the same command works across so many games
Half of the games in the preceding paragraphs use variants of the same engine family — id Tech, Source, or Bethesda's Creation family, plus the various Unreal generations. Engine reuse is why noclip is a universal PC command even though no single studio "owns" it.
Where you see divergence, it is because a studio built its own interpreter. Larian's Divinity engine uses a bespoke command set that shares almost nothing syntactically with Bethesda's. Modern Unreal games each ship their own subset. This is why an engine-agnostic cheat directory has to be organised by game rather than by keyword.
When the console is disabled
A small number of PC titles ship with the console removed or disabled by default. In those cases:
- A launch flag:
-consoleon Steam properties, or an equivalent in the game's launcher. Works for many older Valve titles. - A config edit: many Unreal titles enable the console via
Engine.ini(bAllowCheats=Trueor similar). - A community mod: the ecosystem has restored consoles to games that shipped without one. This is one of the few places where a mod meaningfully changes what CheatBook can document.
If the game genuinely has no console and never has, and no mod exists to add one, that game will show up on CheatBook as "no active cheats" and we will point you at community strategy guides instead.
The unglamorous truth
Console commands are not fancy. They are a text prompt. The pleasure of them is not in the interface but in the sense of standing behind the curtain — the same commands your favourite developers used to test the game are now sitting inside your copy of it.
Once you get comfortable, the console is genuinely the best interface for cheats. It is faster than a menu, it is precise, and it forces you to read what you are asking the game to do. Every PC entry on CheatBook that references a console is written on the assumption that you know at least this much.