Many PC games built on Valve’s engines, along with a handful of other Steam titles, hide a developer console that lets you type commands to change settings, check performance, or troubleshoot problems. This guide shows you how to enable developer console in Steam games such as Counter-Strike, Half-Life, and other Source-based titles, plus how to bring it up once it is switched on.

What you’ll need

  • A Steam account with the game already installed
  • Access to the game’s in-game options menu
  • A few minutes to adjust launch options and key bindings

Enable the console through Steam launch options

The most reliable way to enable developer console in Steam games is to add a launch option before you start the game. This works for most Source engine titles and several other games that share the same console system.

  1. Open Steam and go to your Library.
  2. Right-click the game you want to adjust and select Properties.
  3. Find the field for launch options, sometimes labelled “General” or “Launch Options” depending on the Steam version.
  4. Type -console into the box, leaving a space before it if other options already appear there.
  5. Close the Properties window and launch the game as normal.

Once the game loads, the console usually appears automatically or can be brought up with a key press, which is covered in the next section.

Turn on the console from in-game settings

Most games that support a console also let you switch it on from within the options menu, without touching launch options at all. This is often simpler if you are not comfortable editing Steam properties.

  1. Start the game and open its Options or Settings menu.
  2. Look for a tab called Keyboard, Game, or Advanced, depending on the title.
  3. Find an option labelled something like “Enable Developer Console” and set it to Yes or Enabled.
  4. Save your changes and return to the main menu or gameplay.

If you cannot find this setting, check the game’s key bindings menu instead, since some titles only expose the console through a bound key rather than a toggle.

Bind a key to open the console

With the console enabled, you still need a key to open it during play.

  1. Open the Keyboard or Controls section of the game’s settings.
  2. Search for an entry called “Toggle Console” or similar wording.
  3. Assign it to a key that is not already in use, such as the tilde key, which is the traditional default in many Source engine games.
  4. Confirm the change and test it by pressing the key during a match or a loaded level.

Once bound, pressing that key should slide the console panel into view, ready for you to type commands.

Using the console once it is open

With the panel visible, click into the text field and type a command, then press Enter to run it. Commands vary widely between games, but common examples include ones that display frame rate, adjust network settings, or reveal debug information. The official Valve developer wiki maintains a detailed list of commands for Source engine titles, which is a good reference once you start experimenting.

Tips and troubleshooting

  • If the console does not appear after adding -console, double check for typos and make sure there is a space separating it from any other launch parameters.
  • Some competitive games restrict certain console commands during online matches to prevent unfair advantages, so do not be surprised if a command has no effect while you are in a live match.
  • If your keyboard layout does not include a tilde key in the usual spot, rebind the console key to something more accessible, such as F1 or another unused function key.
  • Restart the game after changing launch options if the console still does not show up, since some titles only read these settings on startup.
  • Check the Steam support pages for the specific title if a launch option does not seem to be recognised, as a small number of games use a different flag or method entirely.

Frequently asked questions

Does every Steam game have a developer console?

No. The console is a feature built into certain engines, most notably Valve’s Source and Source 2 engines, along with some other titles that borrow similar systems. Many games, especially those built on other engines, do not include this feature at all.

Is it safe to use the developer console?

Generally yes for single-player or offline use, since most commands only adjust settings like graphics or display information. In competitive online games, some commands may be disabled or flagged, so stick to commands you understand and avoid anything that could be seen as giving an unfair advantage.

Why does pressing the console key do nothing?

This usually means the console has not been enabled yet, or the key you are pressing is not actually bound to the console toggle. Revisit the launch options and key binding steps above, and confirm the setting was saved before you loaded the game.

Can I use the console on the Steam Deck or other handheld devices?

Yes, provided the game supports it and you can access launch options or an on-screen keyboard to type commands. It can be a little more fiddly than on a desktop setup, so a connected keyboard makes the process much easier.