Console Commands: Full Lists for PC Games

Some games ship with the developer console the studio used while building them. Typing a command there can add money, spawn an item, turn on god mode or change the world outright. 82 of our guides are command lists of this kind.

We write commands exactly as the game expects them, including the arguments they take and their valid ranges.

Games in this collection

82 guides
7 Days to Die01
7 Days to Die Cheats: Console Commands for PC

How to open 7 Days to Die's F1 console and use debug mode, creative mode and item commands on PC.

PC11 codes↗
American Truck Simulator02
American Truck Simulator Cheats: Console Commands PC

How to turn on American Truck Simulator's developer console through the config file and the commands for traffic, fines, time, and teleporting.

PC12 codes↗
ARK: Survival Evolved03
ARK Console Commands: Admin Cheats for PC, Xbox, PS

ARK: Survival Evolved admin commands for PC, Xbox and PlayStation: god mode, infinite stats, items, engrams, fly, taming and summoning.

PC, Xbox, PlayStation30 codes↗
Arma 304
Arma 3 Console Commands: Admin Commands for PC

Arma 3's built-in server admin commands: log in as admin, control missions, restart or shut down the server, and vote or monitor players.

PC13 codes↗
Black Mesa05
Black Mesa Console Commands for PC

Black Mesa's single-player console commands: god mode, noclip, notarget, item and weapon give codes, and NPC spawning.

PC11 codes↗
Civilization VI06
Civ 6 Console Commands: Debug Menu Guide for PC

Civ 6 console commands: set EnableDebugMenu 1 in AppOptions.txt, press ~ in game and type Reveal All to uncover the whole map.

PC4 codes↗
Company of Heroes07
Company of Heroes Console Commands: Codes for PC

15 Company of Heroes dev-console commands for PC: manpower, munitions, fuel, population cap, fog of war and more.

PC15 codes↗
Company of Heroes 208
Company of Heroes 2 Console Commands: Codes for PC

Company of Heroes 2 console commands: add -dev to the launch options, open the SCAR console and set manpower, munitions and fuel or reveal the map.

PC · Steam, single player and skirmish against the AI13 codes↗
Conan Exiles09
Conan Exiles Cheats: Admin Panel Commands for PC

How to open Conan Exiles' single-player admin panel and the commands for god mode, flying, spawning items and teleporting.

PC17 codes↗
Cookie Clicker10
Cookie Clicker Cheats: Console Commands for Browser

The Game.cookies browser console commands and the saysopensesame debug menu, built right into Cookie Clicker.

Browser12 codes↗
Counter-Strike 1.611
CS 1.6 Console Commands: Full List for PC

CS 1.6 console commands for PC: sv_cheats, god, noclip, impulse 101 for $16,000, gravity, bots, buy time and round settings for your own server.

PC30 codes↗
Counter-Strike 212
CS2 Console Commands: Full List for PC

CS2 practice console commands for PC: sv_cheats, noclip, buddha mode, infinite ammo, max money, grenades, bots and round setup.

PC40 codes↗
Crusader Kings II13
Crusader Kings 2 Cheats: Console Commands for PC

How to open Crusader Kings II's console and the commands for gold, piety, prestige, traits, and titles.

PC20 codes↗
Crusader Kings III14
Crusader Kings 3 Cheats: Console Commands for PC

How to turn on debug mode for Crusader Kings III and the console commands for gold, titles, traits, and time.

PC19 codes↗
Crysis15
Crysis (2007) Console Commands and Dev Mode Cheats

Crysis (2007) PC dev mode cheats: god mode, unlimited ammo, unlimited weapons, all items and a speed boost.

PC15 codes↗
CS:GO16
CS:GO Console Commands: Full List for PC

CS:GO practice console commands for PC: sv_cheats, god mode, noclip, infinite ammo, 60,000 money, grenade trajectories, bots and round setup.

PC35 codes↗
Diablo II: Resurrected17
Diablo 2 Commands: Full List of Chat Commands for PC

Diablo 2 commands for Resurrected on PC: /players 1-8 for harder solo games, plus /nopickup, /fps and the chat, friends and channel commands.

PC26 codes↗
Don't Starve18
Don't Starve Cheats: All Console Commands for PC

Don't Starve's built-in debug console: god mode, spawning and giving items, revealing the map, and skipping days.

PC13 codes↗
Dragon Age: Origins19
Dragon Age: Origins Console Commands for PC

Dragon Age: Origins console commands for PC: money, XP, pc_immortal god mode, kill all hostiles, party and approval scripts, and how to enable the console.

PC29 codes↗
Euro Truck Simulator 220
Euro Truck Simulator 2 Cheats: Console Commands for PC

How to turn on Euro Truck Simulator 2's developer console through config.cfg and the commands for traffic, fines, time, and teleporting.

PC12 codes↗
Europa Universalis IV21
EU4 Console Commands: Cheats and Codes for PC

How to open the Europa Universalis IV console and the commands for ducats, monarch points, manpower, annexing countries and revealing the map.

PC31 codes↗
Europa Universalis V22
EU5 Cheats: Console Commands for PC

Europa Universalis V console commands confirmed for the current game, covering diplomacy, conquest, research, and time.

PC19 codes↗
Factorio23
Factorio Cheats: Console Commands for PC

How to open Factorio's console and use /cheat mode or Lua commands for free items, instant research, and more.

PC14 codes↗
Fallout 324
Fallout 3 Cheats: Console Commands for PC

The PC console commands for Fallout 3: turn on god mode, hand yourself caps, level up fast, and teleport anywhere.

PC19 codes↗
Fallout 425
Fallout 4 Console Commands: Full List for PC

Every useful Fallout 4 PC console command: god mode, caps, noclip, level and SPECIAL edits, map reveal, teleports and quest fixes.

PC31 codes↗
Fallout: New Vegas26
Fallout New Vegas Cheats: Console Commands

The PC console commands for Fallout: New Vegas, from god mode and free caps to faction reputation and fast travel.

PC20 codes↗
Farming Simulator 2227
Farming Simulator 22 Cheats: Console Commands for PC

How to unlock Farming Simulator 22's developer console on PC and use its commands for money, farmland, fuel and time.

PC11 codes↗
Garry's Mod28
Garry's Mod Console Commands: Cheats for PC

Garry's Mod console commands for PC: sv_cheats 1, god, buddha, noclip, impulse 101 and give, plus the sbox_ settings for god mode, noclip and prop limits.

PC15 codes↗
Gothic 329
Gothic 3 Cheats: Console Commands for PC

How to open Gothic 3's hidden marvin/test mode console and the god, item and stat commands it unlocks.

PC16 codes↗
Green Hell30
Green Hell Console Commands: Full List for PC

Green Hell's debug mode keys on PC: god mode, item and creature spawning, time skips, a full notebook, teleporting and the debug menus.

PC34 codes↗
Half-Life31
Half-Life Cheats: Console Commands for PC

Half-Life cheats for PC: turn on sv_cheats 1, then use god, noclip, impulse 101, give and map in the developer console of the 1998 original.

PC21 codes↗
Half-Life 232
Half-Life 2 Cheats: Console Commands for PC

The Half-Life 2 developer console commands worth knowing: sv_cheats 1, god, noclip, impulse 101 and more.

PC18 codes↗
Hearts of Iron IV33
Hearts of Iron 4 Console Commands: Full List for PC

How to open the Hearts of Iron 4 console and the commands for manpower, political power, equipment, research, annexation and debug tools.

PC29 codes↗
Heroes of Might and Magic V34
Heroes of Might and Magic 5 Cheats: Console Commands for PC

Heroes of Might and Magic V console cheats for PC: unlock the console with one autoexec.cfg line, then add gold, resources, armies, spells and experience.

PC11 codes↗
House Flipper35
House Flipper Cheats: Console Commands for PC

House Flipper cheats for PC: unlock the hidden console with iddqd, then add money, unlock all tools, max skills, finish jobs instantly and fly with noclip.

PC22 codes↗
Icarus36
Icarus Console Commands: All Admin Commands for PC

Every official Icarus admin command for dedicated servers: log in as admin, kick, ban and unban players, return to lobby and send server messages.

PC · dedicated servers7 codes↗
Imperator: Rome37
Imperator: Rome Cheats: Console Commands for PC

How to enable Imperator: Rome's debug console and the commands for gold, manpower, characters, and war.

PC20 codes↗
Kingdom Come: Deliverance38
Kingdom Come Deliverance Cheats: Console Commands for PC

Turn on devmode for Kingdom Come: Deliverance's console commands: money, items, and camera and HUD tweaks.

PC17 codes↗
Kingdom Come: Deliverance II39
KCD2 Cheats: Console Commands for PC

The KCD2 console commands that still work after launch, from free Groschen to teleporting across the map.

PC13 codes↗
Left 4 Dead40
Left 4 Dead Console Commands: Full List for PC

Left 4 Dead console commands for PC: sv_cheats 1, god mode, infinite ammo, give items, spawn a Tank or Witch, warp survivors and stop the Director.

PC30 codes↗
Left 4 Dead 241
Left 4 Dead 2 Console Commands for PC

Left 4 Dead 2 console commands for PC: god mode, buddha, noclip, infinite ammo, weapon give codes, Director controls and teleports.

PC39 codes↗
Mass Effect42
Mass Effect Console Commands: Full List for PC

Mass Effect console commands for the original PC release: credits, XP, gear, fly and ghost, plus the BIOInput.ini line that turns the console on.

PC30 codes↗
Medal of Honor: Allied Assault43
Medal of Honor: Allied Assault Console Commands

The PC console commands for Medal of Honor: Allied Assault: god mode, all weapons, no clipping and level warps.

PC13 codes↗
Medieval II: Total War44
Medieval 2 Total War Cheats: Console Commands for PC

The built-in console commands for money, units, traits, and the campaign map in Medieval II: Total War.

PC20 codes↗
Minecraft45
Minecraft Commands: Cheat List for Java and Bedrock

The Minecraft commands people use most, from /gamemode and /give to keep inventory, time and teleport, with Java and Bedrock syntax side by side.

Java Edition · Bedrock Edition29 codes↗
My Summer Car46
My Summer Car Cheats: Console Commands for PC

My Summer Car console commands for PC: unlock the hidden console with the Rauhijoketti surname, then add money, god mode, teleports, time and weather.

PC28 codes↗
Neverwinter Nights47
Neverwinter Nights Cheats: Console Commands for PC

Neverwinter Nights cheats: turn on DebugMode, then use dm_ console commands for gold, XP, levels, god mode, ability scores and teleporting.

PC / Mac29 codes↗
Of Ash and Steel48
Of Ash and Steel Cheats: Debug Console Commands for PC

Every official Of Ash and Steel debug console command: spawn items, revive NPCs, finish quests and edit stats, skills and perks with Shift + F12.

PC19 codes↗
Palworld49
Palworld Cheats: All Admin Commands for PC Servers

All official Palworld admin commands for dedicated servers: become admin, spectator mode, teleport, kick, ban, broadcast, save and shutdown.

PC · Steam dedicated server13 codes↗
Portal 250
Portal 2 Console Commands: Full List for PC

Portal 2 console commands for PC: sv_cheats 1, god, noclip, portals on any surface, spawn cubes and gels, and co-op commands for Atlas and P-Body.

PC29 codes↗
Postal 251
Postal 2 Cheats: Sissy & Console Commands for PC

How to enable Postal 2's console cheats with sissy, plus the invulnerability, ammo and no-clip commands.

PC22 codes↗
Project Zomboid52
Project Zomboid Cheats: Console Commands for PC

How to turn on Project Zomboid's -debug mode solo, and the main admin commands for a server you host yourself.

PC16 codes↗
Quake53
Quake Cheats: All Console Commands for PC

Every Quake cheat for PC: god, noclip, fly, impulse 9 for all weapons and keys, quad damage, give commands and level warps, for the original and remaster.

PC21 codes↗
Quake II54
Quake 2 Cheats: Console Commands for PC

Quake 2 cheats for PC: god, noclip, notarget, give all, single weapons, ammo and key items, infinite ammo with dmflags and level warps with map.

PC33 codes↗
Quake III Arena55
Quake III Arena Console Commands for PC

Every Quake III Arena PC console command worth knowing: god mode, give-all, powerups, no clipping and more.

PC21 codes↗
Return to Castle Wolfenstein56
Return to Castle Wolfenstein: Console Commands for PC

The PC console commands for Return to Castle Wolfenstein: god mode, no clipping, every weapon, and full ammo.

PC15 codes↗
Risen57
Risen Console Commands: Full List for PC

How to unlock Risen's hidden test-mode console on PC, plus commands for god mode, gold, items, teleporting NPCs and skills.

PC14 codes↗
Rust58
Rust Admin Commands: Key Console Commands for PC

Rust admin commands for your own PC server: make yourself owner, noclip, god mode, teleport, give items, kick, ban, time, weather and saves.

PC · your own server (admin auth level)30 codes↗
S.T.A.L.K.E.R.: Shadow of Chernobyl59
STALKER Console Commands: Shadow of Chernobyl PC

Every S.T.A.L.K.E.R.: Shadow of Chernobyl console command on PC: movement, saves, HUD, FPS counter and video settings.

PC29 codes↗
SCUM60
SCUM Admin Commands: Full List for PC Servers

SCUM admin commands for your own server: spawn items and vehicles, teleport, set time and weather, kick, ban, mute and announce, plus how to become admin.

PC · servers where you are admin28 codes↗
Sons of the Forest61
Sons of the Forest Cheats: Commands for PC

How to open the debug console in Sons of the Forest and the commands worth trying, from god mode to a full inventory.

PC16 codes↗
Soulmask62
Soulmask Admin Commands: Full List for PC Servers

Soulmask admin commands for your own server: add experience, teleport, reveal the map, unlock tech, recruit NPCs, set time and weather, plus how to become GM.

PC · servers where you have the admin password38 codes↗
Star Wars: Jedi Knight II - Jedi Outcast63
Jedi Outcast Cheats: Console Commands for PC

Jedi Outcast cheats for PC: turn on cheat mode with helpusobi 1, then use console commands for god mode, weapons, Force powers and levels.

PC30 codes↗
Star Wars: Knights of the Old Republic64
KOTOR Cheats: Visible Console Commands for PC

KOTOR cheats for PC: enable the console in swkotor.ini, then use givecredits, invulnerability, addlevel, whereami and dancedancemalak.

PC34 codes↗
Star Wars: Knights of the Old Republic II - The Sith Lords65
KOTOR 2 Cheats: Console Commands for PC

Enable KOTOR 2's invisible PC cheat console with one ini edit, then use its commands for stats, items and credits.

PC30 codes↗
Starfield66
Starfield Console Commands: Full List for PC

Useful Starfield PC console commands: credits, digipicks, god mode, noclip, level and perks, carry weight, all powers, gravity and NPC control.

PC30 codes↗
Stellaris67
Stellaris Cheats: Console Commands for PC

Stellaris console commands for resources, research, population, diplomacy, and your fleets, straight from the Paradox wiki.

PC22 codes↗
Stranded Deep68
Stranded Deep Console Commands for PC

Stranded Deep's developer console commands: fly around the map, open the item-spawning menu, set the time of day, and show your FPS.

PC13 codes↗
Subnautica69
Subnautica Cheats: Console Commands for PC

How to open Subnautica's built-in console on PC and the commands for creative mode, infinite oxygen and teleporting.

PC14 codes↗
SWAT 470
SWAT 4 Console Commands: Cheats for PC

SWAT 4's single-player console commands: god mode, ghost/fly mode, invisibility, third-person view and ammo refills.

PC10 codes↗
Team Fortress 271
TF2 Console Commands: Full List for PC

TF2 console commands for your own sv_cheats server: buddha, noclip, impulse 101, addcond buffs, spawning sentries and bosses, and bot controls.

PC27 codes↗
Terra Invicta72
Terra Invicta Console Commands: Full List for PC

Terra Invicta console commands for PC: resources, all techs, control points, GDP, councilor XP, prospecting, coups and how to enable the console.

PC40 codes↗
The Elder Scrolls III: Morrowind73
Morrowind Console Commands for PC

Morrowind console commands for PC: tgm god mode, gold with player-AddItem, tcl, coc teleports, levitation, stat menus and the syntax rules that trip people up.

PC34 codes↗
The Elder Scrolls IV: Oblivion74
Oblivion Console Commands for PC and Remastered

Oblivion console commands for PC: tgm god mode, gold with player.additem F, psb, coc teleports, quest fixes, and what changed in Oblivion Remastered.

PC35 codes↗
The Elder Scrolls V: Skyrim75
Skyrim Console Commands: 54 Codes for PC

Every Skyrim console command worth knowing: god mode, item IDs, perks, quest stages and targeted NPC commands, with how to select a target.

PC54 codes↗
The Witcher 3: Wild Hunt76
Witcher 3 Console Commands: Full List for PC

The Witcher 3 PC debug console: how to turn it on and the commands for god mode, money, items, experience and fast travel.

PC21 codes↗
Unturned77
Unturned Console Commands: Cheats for PC

Unturned's built-in cheat commands for giving items, spawning vehicles and teleporting, plus how they differ on servers.

PC11 codes↗
V Rising78
V Rising Admin Commands: Full List for PC

V Rising admin commands for PC: invulnerability, item and blood potion spawning, teleports, time skips, and kick and ban tools for your server.

PC26 codes↗
Valheim79
Valheim Console Commands: Cheats for PC

Valheim's console cheats: god mode, ghost mode, free camera, spawning, skill and character resets, and world time and weather controls.

PC12 codes↗
Victoria 380
Victoria 3 Cheats: Console Commands for PC

How to open Victoria 3's debug console and the commands for money, population, politics, and diplomacy.

PC19 codes↗
Warhammer 40,000: Dawn of War81
Dawn of War Console Commands: Codes for PC

19 Dawn of War console commands for PC: requisition, power, instant building, map reveal and rendering toggles.

PC19 codes↗
XCOM 282
XCOM 2 Cheats: Console Commands for PC

How to turn on XCOM 2's hidden debug console and the single-player commands worth trying once it's open.

PC19 codes↗

How you enter cheats in each game

GamePlatformsCodesHow you enter them
7 Days to DiePC11PC: Press F1 to open the console, type a command and press Enter.
American Truck SimulatorPC12PC: Set g_console and g_developer to 1 in the config file, then press ` in-game to open the console.
ARK: Survival EvolvedPC, Xbox, PlayStation30PC: Press Tab to open the console, type a command and press Enter. Single-player needs no password.; Xbox: Open the pause screen and press LB + RB + X + Y together to open the console.
Arma 3PC13PC: Open chat, log in with #login and the admin password, then type a # command and press Enter.
Black MesaPC11PC: Add -console to the Steam launch options, press ~, type sv_cheats 1, then type a command and press Enter.
Civilization VIPC4PC: Set EnableDebugMenu 1 in AppOptions.txt, restart the game, then press ~ and type Reveal All.
Company of HeroesPC15PC: Add -dev to the game's Steam launch options, then press Ctrl+Shift+~ in a single-player match to open the console and type a command.
Company of Heroes 2PC · Steam, single player and skirmish against the AI13PC: Add -dev to the Steam launch options, start a match, press Ctrl + Shift + ~ and paste a command.
Conan ExilesPC17PC: Grant yourself admin from Settings Server Settings, then press Insert or ~ to type commands.
Cookie ClickerBrowser12Browser console: Open developer tools (F12) and type a command in the Console tab, then press Enter.; Debug menu: Add saysopensesame to your bakery's name, then click the cookie and framerate counter that appears.
Counter-Strike 1.6PC30PC: Tick Enable developer console (~) under Options, Keyboard, Advanced, then press ~ on your own server, type sv_cheats 1 and press Enter.
Counter-Strike 2PC40PC: Turn on the developer console in Settings, press ~ in a private match, type sv_cheats 1 and press Enter.
Crusader Kings IIPC20PC: Press ` (grave/tilde) to open the console, type a command and press Enter.
Crusader Kings IIIPC19PC: Turn on debug mode via launch options, then press the tilde (~) key to open the console, type a command and press Enter.
CrysisPC15PC: Launch with -DEVMODE, press ~, type con_restricted = 0, then type a command and press Enter.
CS:GOPC35PC: In an offline match with bots, press ~ to open the console, type sv_cheats 1 and press Enter.
Diablo II: ResurrectedPC26PC: Press Enter to open the chat box, type the command and press Enter again.; Single player: Type /players 8 in a solo game to get party-sized monsters, drops and experience.
Don't StarvePC13PC: Press ~ to open the console, run RunScript("consolecommands") once, then type a command and press Enter.
Dragon Age: OriginsPC29PC: Launch with -enabledeveloperconsole, press ` in-game, type a command such as runscript addxp 1000 and press Enter.; Blind typing: The console stays invisible, so type carefully; the hotkeys stop working while it is open.
Euro Truck Simulator 2PC12PC: Set g_console and g_developer to 1 in config.cfg, then press ` in-game to open the console.
Europa Universalis IVPC31PC: Press ` or ~ to open the console, type a command and press Enter.
Europa Universalis VPC19PC: Add -debug_mode to the game's launch options, then press the tilde (~) key to open the console, type a command and press Enter.
FactorioPC14PC: Press the grave key (`) to open the console. Type /cheat all for quick cheats, or /c followed by a Lua command for anything else.
Fallout 3PC19PC: Press ~ (tilde) to open the console, type a command and press Enter.
Fallout 4PC31PC: Press ~ (tilde) to open the console, type a command and press Enter.
Fallout: New VegasPC20PC: Press ~ (tilde) to open the console, type a command and press Enter.
Farming Simulator 22PC11PC: Enable controls in game.xml, add -cheats to your Steam launch options, then press ` (backtick) to type commands.
Garry's ModPC15PC: Turn on the developer console, press ~, type sv_cheats 1, then type a command and press Enter.
Gothic 3PC16Unpatched: Set TestMode=true in ge3.ini, then press ~ (tilde) in-game to open the console.; Community Patch 1.7x: Press C to open the character screen and type marvin to turn on marvin mode, then press ~ (tilde) to open the console.
Green HellPC34PC: Create an empty file named DEBUG in GH_Data/Resources/scripts/Debug, start the game and press the keys below.
Half-LifePC21PC: Launch with -console, press ~, type sv_cheats 1, reload a save, then type a command and press Enter.
Half-Life 2PC18PC: Enable the developer console in Options Keyboard, press ~ to open it, type sv_cheats 1 and press Enter, then type each command and press Enter.
Hearts of Iron IVPC29Turn off ironman: Start a single-player game with ironman off; the console is dead in ironman and multiplayer.; Open the console: Press ~, or §, Shift+2, Shift+3, \, `, ^ or TAB on other keyboard layouts.
Heroes of Might and Magic VPC11PC: Unlock the console in autoexec.cfg, then press ~ in a game, type a command and press Enter.
House FlipperPC22PC: In the pause menu press ~, type iddqd and press Enter, then press ~ in the game to open the console and enter a command.
IcarusPC · dedicated servers7PC: Open the chat on a dedicated server, type /AdminLogin with the admin password, then type the other commands with a / in front.
Imperator: RomePC20Enable debug mode: Add -debug_mode to the game's launch options in Steam (right-click the game, Properties, General, Launch Options).; Open the console: Press the grave/tilde key (`); some keyboards use Shift+2, Shift+3, Alt+2+1, §, ^ or ° instead.
Kingdom Come: DeliverancePC17PC: Add -devmode to the game's Steam launch options, then press ~ to open the console.
Kingdom Come: Deliverance IIPC13PC: Add -devmode to the game's Steam launch options, then press ~ in-game to open the console.
Left 4 DeadPC30PC: Turn on the developer console, press ~ in a local game, type sv_cheats 1, then type a command and press Enter.
Left 4 Dead 2PC39PC: Turn on the developer console, press ~, type sv_cheats 1, then type a command and press Enter.
Mass EffectPC30PC: Add ConsoleKey=Tilde under [Engine.Console] in BIOInput.ini, then press ~ in-game, type a command and press Enter.
Medal of Honor: Allied AssaultPC13PC: Edit your shortcut to add the developer flags, turn on the Console option, press ~, then type a command.
Medieval II: Total WarPC20PC: Press ~ to open the console, type a command and press Enter.
MinecraftJava Edition · Bedrock Edition29Java: Turn on Allow Commands for the world, press T or /, type the command and press Enter.; Bedrock: Turn on Allow Cheats in the world settings, open chat, type the command and press Enter.
My Summer CarPC28PC: Start a new game with the last name Rauhijoketti, press F1 or Esc to open the console, type a command and press Enter.
Neverwinter NightsPC / Mac29PC / Mac: Press ~, type DebugMode 1 and press Enter, then type a dm_ command and click your character if the game asks for a target.; Enhanced Edition: If ~ does nothing, load a module and type the command in the chat line with ## in front, such as ##DebugMode 1.
Of Ash and SteelPC19PC: Load a save on patch 1.05 or later, press Shift + F12, type a command and press Enter.
PalworldPC · Steam dedicated server13PC server: Press Enter to open chat, type /AdminPassword and your server's admin password, then type any admin command.
Portal 2PC29PC: Turn on the console in Options Keyboard/Mouse, press ~, type sv_cheats 1, then type a command and press Enter.
Postal 2PC22PC: Press ~ to open the console, type sissy twice to turn on cheats, then type any command and press Enter.
Project ZomboidPC16Single-player debug mode: Add -debug to the game's Steam launch options, then click the ladybug icon that appears in-game.; Server admin commands: Press T or Enter to open chat and type a command starting with a slash.
QuakePC21PC: Press ~ to open the console, type a command such as god and press Enter.; Remaster: In the 2021 remaster, type sv_cheats 1 first, then enter the commands.
Quake IIPC33PC: Press ~ to open the console, type a command such as god and press Enter.; Several at once: Separate commands with semicolons, for example notarget; god; noclip.
Quake III ArenaPC21PC: Open the console with ~, type /sv_cheats 1, load a level with /devmap mapname, then type any command.
Return to Castle WolfensteinPC15PC: Add +set sv_cheats 1 to your shortcut, launch the game, press ~ to open the console, then type a command and press Enter.
RisenPC14PC: Type minsky and press Enter to unlock the console, then press ~ or F1 to open it, type a command and press Enter.
RustPC · your own server (admin auth level)30PC server: Run ownerid with your SteamID64 from the server console, reconnect, then press F1 in the game and type a command.
S.T.A.L.K.E.R.: Shadow of ChernobylPC29PC: Press ~ to open the console, type a command followed by a space and its value, then press Enter.
SCUMPC · servers where you are admin28PC: List your Steam64 ID in AdminUsers.ini, restart the server, then press T in game and type the command with a # in front.
Sons of the ForestPC16PC: Type cheatstick during gameplay, press F1 to open the console, then type a command and press Enter.
SoulmaskPC · servers where you have the admin password38PC: Press ~ to open the console, type gm key and the server's admin password, then type any command.
Star Wars: Jedi Knight II - Jedi OutcastPC30PC: Press Shift + ~, type helpusobi 1 and press Enter, then type any command and press Enter.
Star Wars: Knights of the Old RepublicPC34PC: Add EnableCheats=1 under [Game Options] in swkotor.ini, then press ~ in-game, type a command and press Enter.; Numbers: Where a command shows #, type a number in its place, for example a credit amount or a skill value.
Star Wars: Knights of the Old Republic II - The Sith LordsPC30PC: Add EnableCheats=1 under [Game Options] in swkotor2.ini, then press ~ in-game to open the invisible console.
StarfieldPC30PC: Press ~ (tilde) to open the console, type a command and press Enter.
StellarisPC22PC: Press ~ (or your layout's console key) to open the console, type a command and press Enter.
Stranded DeepPC13PC: Press \ (or ~) to open the developer console, type a command and press Enter.
SubnauticaPC14Enable the console: Press F3 for the debug menu, then F8 for mouse control, and untick Disable Console.; Run a command: Press Enter to open the console box, type a command, and press Enter again to run it.
SWAT 4PC10PC: Turn on EnableDevTools in SWAT4.ini, press ~ in a mission, then type a command and press Enter.
Team Fortress 2PC27PC: Enable the developer console, host your own server, press ~, type sv_cheats 1, then type a command and press Enter.
Terra InvictaPC40PC: Set "debug_ConsoleActive" to true in TIGlobalConfig.json, then press ~ in game, type a command and press Enter.
The Elder Scrolls III: MorrowindPC34PC: Press ~ (` on UK keyboards), type a command such as tgm and press Enter.; Targeted: Start with player- to affect yourself, or click an object with the console open.
The Elder Scrolls IV: OblivionPC35PC: Press ~ to open the console, type a command such as tgm and press Enter.; Remastered: The same ~ key opens the console; prefix an old command with obvConsole if it isn't recognised.
The Elder Scrolls V: SkyrimPC54PC: Press ~ (tilde) to open the console, type a command and press Enter. Click an NPC or object first for the commands that need a target.
The Witcher 3: Wild HuntPC21PC: Enable the console once in general.ini, then press ~ (tilde) in-game, type a command and press Enter.
UnturnedPC11PC: Turn on Cheats when creating your world, then type a / command in chat and press Enter.
V RisingPC26PC: Turn on the console in the options, press `, type adminauth, then type a command and press Enter.
ValheimPC12PC: Add -console to Steam launch options, press F5, type devcommands, then type a command and press Enter.
Victoria 3PC19Enable debug mode: Add -debug_mode to the launch options in Steam, or launch in debug mode from the Paradox Launcher.; Open the console: Press the grave/tilde key (~); some keyboard layouts use Shift+2, Shift+3, or §.
Warhammer 40,000: Dawn of WarPC19PC: Add -dev to the game's launch options, then press Ctrl+Shift+~ during a match to open the console and type a command.
XCOM 2PC19Enable the console: On Steam, add -allowconsole to XCOM 2's launch options. On GOG, add it to the end of the game shortcut's Target field.; Run a command: Press ~ in-game to open the console, type a command, then press Enter.

FAQ

What is the difference between a cheat code and a console command?

A cheat code is a word or button sequence you enter while playing. A console command is typed into a separate developer console, usually takes arguments, and can do much more.

Can commands break my game?

Some can. Commands that spawn or remove objects, change quests or teleport you can leave a save in a bad state. Keep a separate save before experimenting; each guide's warnings cover the risky ones.

Other collections