All articles
Setup
1 min read
Jan 24, 2026
How to Enable Console Commands in Team Fortress 2

How to Enable Console Commands in Team Fortress 2

Step-by-step: launch options, console key binding, autoexec.cfg, and verifying commands work on local servers.

If your console will not open, fix bindings before editing advanced scripts. This walkthrough matches current Steam builds as of early 2026.

Launch options and first run

Add `-console -novid` (optional) in Steam launch options. Launch TF2, open Options → Keyboard → Advanced, and bind **Toggle console**. Test with `echo test` in the console output panel.

autoexec.cfg location

Create `autoexec.cfg` in `Steam/steamapps/common/Team Fortress 2/tf/cfg/`. Add `host_writeconfig` once after tuning. See configuration scripts for class-specific execs.

When commands fail

Matchmaking blocks `sv_cheats`. If files will not verify, read fix file verification errors before reinstalling.

FAQ

Straight answers before checkout

Compatibility, VAC risk, pricing, and setup—no vague promises.