Counter-Strike 2Cheats

CS2 console commands 2026: FPS, crosshair & the essentials

The console is the secret control room of Counter-Strike 2. Turn it on once and you can show your FPS, unlock frame rates, tweak your crosshair and viewmodel in seconds.

Updated 2026-10-06 · 10 min read

CS2

Every serious CS2 player ends up typing into the console sooner or later. It is faster than digging through menus, and some settings only live there. Here is how to switch it on and which commands actually matter.

How to enable the developer console

The console is turned off by default. Open Settings → Game and set Enable Developer Console (~) to Yes. From now on, press the ~ key (the one under Esc on most keyboards) to open and close it.

Prefer launch options? In your Steam Library, right-click Counter-Strike 2, open Properties and add -console to the launch options. The console will then open by itself every time the game starts.

The essential commands

These are the commands most players use every week. None of them need cheats, so they work on any server, including official matchmaking. Click a command to copy it, then paste it into the console and press Enter.

Counter-Strike 2
EffectConsole commandNeeds sv_cheats
Show FPS counter–
Show frame-time telemetry–
Remove the FPS limit (default 400)–
Crosshair size–
Crosshair gap–
Crosshair centre dot–
Weapon view-model FOV (54–68)–
View-model preset position (1–3)–
Join a server by IP–
Leave the server–

Show your FPS and frame time

Want to know if your PC keeps up? Type cl_showfps 1 for a simple FPS counter in the corner. Set it back to 0 to hide it.

For more detail, CS2 has a built-in telemetry overlay. cl_hud_telemetry_frametime_show 2 shows your frame time, which tells you more than FPS alone: a smooth, steady frame time feels better than a high but jumpy FPS number. You can also find these telemetry options in the game settings menu.

Looking for the classic net_graph from CS:GO? It does not exist in CS2, and old replacement commands you may find online don't work either — use the telemetry options instead.

Counter-Strike 2 – Moving Beyond Tick Rate · YouTube

fps_max: remove the frame cap

By default CS2 limits your frame rate with fps_max 400. On a strong PC with a high-refresh monitor, you can type fps_max 0 to remove the limit completely.

Unlimited is not always better, though. If your PC runs hot or your frame time jumps around, a fixed cap a bit above your monitor's refresh rate can feel smoother. Test both and trust what you see on the telemetry overlay.

Crosshair basics

You can build a crosshair in the in-game editor, but the console is quicker for small changes. The three cvars that matter most:

  • cl_crosshairsize — how long the lines are (try 2 for a small, clean cross).
  • cl_crosshairgap — the space in the middle (negative values like -1 make it tighter).
  • cl_crosshairdot 1 — adds a dot in the centre; 0 removes it.

Small and tight crosshairs are popular for precise headshots, while a bigger gap helps some players see the target behind the cross. There is no perfect setting — pick what keeps your eyes on the enemy's head.

m3wsuLIVEm3wsu97zonerLIVE97zonerchopperinhoLIVEchopperinhoCozart_2s1LIVECozart_2s1dima_wallhacksLIVEdima_wallhacksVLATESSAXLIVEVLATESSAX
Live right now: Counter-Strike 2 streams

Viewmodel: where your gun sits

The viewmodel is the weapon and hands you see on screen. Moving it out of the way gives you a cleaner view of the action. These are the allowed ranges:

CommandRangeWhat it does
viewmodel_fov54 to 68Higher = gun looks smaller and further away
viewmodel_offset_x-2.5 to 2.5Moves the gun left / right
viewmodel_offset_y-2 to 2Moves the gun forward / back
viewmodel_offset_z-2 to 2Moves the gun up / down
viewmodel_presetpos1 to 3Quick preset positions

A common start is viewmodel_fov 68 with a preset, then fine-tune the offsets until the gun stops blocking your view.

Save everything in an autoexec

Typing the same commands every session gets old fast. Instead, create a plain text file called autoexec.cfg in the game's cfg folder (inside your CS2 install, under game/csgo/cfg). Put one command per line, for example cl_showfps 1 and fps_max 0, and save it.

To load it, type exec autoexec in the console. If you want it to run automatically, add +exec autoexec.cfg to your launch options. Keep the file simple: only add commands you understand, and change one thing at a time so you know what made the difference.

Practice server commands

Practice commands are where the console gets powerful, with one big catch: most of them are cheat-protected. Start your own offline match or a private server, then type sv_cheats 1 first. They do not work in matchmaking or on someone else's server, where cheats stay off.

CommandWhat it doesNeeds sv_cheats 1?
sv_cheats 1Unlocks cheat-protected commands for everyone on your serverIs the switch
noclip / noclip 0Fly through walls; turn it off againYes
godMakes you invulnerableYes
getpos, setpos x y z, setang pitch yawPrint or set your position and view angles, handy for repeating a lineupYes
sv_infinite_ammo 1Your active weapon never runs dryYes
sv_rethrow_last_grenadeThrows your last grenade again from the same spotYes
sv_showimpacts 1Shows bullet impact boxes (client in red, server in blue)Yes
sv_showimpacts_time 10How many seconds impacts stay visibleUsed together with the one above
sv_grenade_trajectory_prac_pipreview 1Picture-in-picture camera that follows your grenadePractice-server command; turn cheats on to be safe
sv_grenade_trajectory_prac_trailtime 8Seconds the flight path stays drawn (8 is the maximum)Same as above
mp_warmup_endEnds warmup so the round can startNo
mp_restartgame 1Restarts the game after one secondNo (server settings only)
mp_ignore_round_win_conditions 1The round never ends, even if a team is wipedNo
mp_buy_anywhere 1, mp_buytime 9999, mp_freezetime 0Buy anywhere, with no time limit and no freeze timeNo

Server-side mp_ settings only apply when you are the host. On a community server you need admin rights, so on a public server they simply do nothing for you.

Bots

bot_kick removes all bots from your server. If bots keep coming back, set bot_quota 0 first and then run bot_kick. bot_place drops a bot at your crosshair, which is perfect for testing a peek or a spray. Bot commands are meant for your own practice match; as with the rest of this section, they do nothing useful in matchmaking.

Sound and mouse

Volume sliders in the menu are blunt. These cvars let you fine-tune what you hear, so footsteps stand out from the music.

CommandRange / defaultWhat it does
volume0.0 to 1.0Master volume, e.g. volume 0.4
snd_roundstart_volume and snd_roundend_volume0.0 to 1.0Round start and end music
snd_mvp_volume0.0 to 1.0MVP anthem
snd_tensecondwarning_volume0.0 to 1.0Ten-second bomb warning
snd_mute_losefocus0 or 1Mute the game when it is not the active window
voice_scale0.0 to 1.0Volume of teammates' voice chat
voice_enable0 or 1Voice chat on or off

For your mouse, sensitivity 2.0 sets the base speed and zoom_sensitivity_ratio scales it while scoped. Careful with old CS:GO guides: m_rawinput was removed in CS2 and returns an unknown-command message, so don't put it in your autoexec.

Network and obsolete commands

Old CS:GO tutorials are full of network tweaks. Most of them are dead in CS2, which uses a sub-tick system instead of the old rate model.

CommandStatus in CS2
cl_cmdrate, cl_updaterateObsolete: gone with Source 2
cl_interpRead-only: it reports the interpolation in use, you cannot tune it
cl_interp_ratioStill exists, but Valve says not to set it directly
rateStill active, default 786432 (the Unrestricted option); leave it alone
net_graphRemoved: use the Telemetry options in Settings → Game

The short version: if a guide tells you to paste a block of network commands, skip it. Check your ping and loss in the telemetry overlay instead.

Crosshair share codes

You do not have to rebuild a pro crosshair by hand. Share codes start with CSGO- followed by five groups of letters, and old CS:GO codes still work. Import one in Settings → Game → Crosshair, or type apply_crosshair_code CSGO-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx in the console with the real code. The import overwrites your current crosshair, so export your own code first. Size scales with resolution, so you may need a small tweak to size or gap afterwards.

Autoexec, host_writeconfig and resetting settings

host_writeconfig saves your current settings to config.cfg right away. It is a good last line for your autoexec, so the changes stick. To start from a clean slate, you can set a cvar back to its default value by hand, and unbindall wipes every key binding, so use it with care.

Troubleshooting: console will not open or settings reset

  • The ~ key does nothing: enable Enable Developer Console (~) in Settings → Game, or bind Toggle Console to another key as described above.
  • Autoexec is ignored: check the file is named exactly autoexec.cfg (not autoexec.cfg.txt), sits in the cfg folder, and that your launch option reads +exec autoexec.cfg.
  • Commands say unknown: the command is probably a CS:GO leftover, such as m_rawinput, cl_updaterate or the old net_graph.
  • Practice command refused: turn on sv_cheats 1 on your own server. It never works in matchmaking.
  • Settings reverted: run host_writeconfig after changes, and keep your important commands in the autoexec so they load every launch.

Put your settings to work

Fresh crosshair, smooth frames — now go play. Join a live community server with connect IP:PORT or simply pick one from our CS2 server list. Want to grind aim and nades first? Check our CS2 practice commands guide.

Command cheat sheet: copy and paste

GoalCommand
Show FPS and pingcl_showfps 1
Remove the FPS capfps_max 0
Move the gun on screenviewmodel_fov, viewmodel_offset_x and related values
Save everythinghost_writeconfig
Practice: infinite money and ammosv_cheats 1, mp_maxmoney 65535, sv_infinite_ammo 1 on your own server

Images are provided by Steam and belong to their publishers.

Where to use these commands

Console settings that change the client, such as crosshair and viewmodel, work everywhere. Cheat commands only work on your own practice server or a community server that allows them. To find a community server for aim, surf or retakes, browse the CS2 server list and read the community servers guide. If you want to run your own, see how to host a CS2 server.

Live now: Counter-Strike 2

See all →

Watching good players is the fastest way to steal ideas for your own setup. Catch more live CS2 action on Oggo Live.

Practice on the best live CS2 servers

Put this into practice. These community servers are online right now, sorted by players. See the full list on the CS2 server list, or browse servers by tag.

All servers →

FAQ

How do I open the console in CS2?

Go to Settings → Game and set Enable Developer Console (~) to Yes, then press the ~ key. You can also add -console to your Steam launch options.

How do I show FPS in CS2?

Type cl_showfps 1 in the console. For frame-time details, use cl_hud_telemetry_frametime_show 2 or the telemetry options in the settings.

What is the default fps_max in CS2?

The default is fps_max 400. Setting fps_max 0 removes the limit.

Is there a net_graph in CS2?

Not like the old CS:GO one. Use the built-in telemetry options to see your performance and connection.

How do I import a crosshair code in CS2?

Open Settings → Game → Crosshair and use the Share or Import icon, or type apply_crosshair_code followed by the CSGO-… code in the console.

Do practice commands like sv_infinite_ammo work in matchmaking?

No. Cheat-protected commands only work on your own practice server or offline match with sv_cheats 1, never in matchmaking.

Sources

Read next

See all →

Was this guide helpful?

Tell us in the comments below what worked, what did not, or what we should add next. React with an emoji if it helped.

No comments yet. Be the first!

Post as a guest, or type a nickname and password: a new nickname becomes your account in one step.