CS2 console commands, grouped by what you want to change

CS2 Console Commands

Enable Developer Console in Settings → Game, then press ` (the key left of 1) to open it. The lists below are grouped by what you are trying to change, and every command has been checked against CS2 — the CS:GO commands that no longer do anything are in their own section rather than padding out the rest.

How to open the console in CS2

  1. Open Settings → Game and set Enable Developer Console to Yes.
  2. Press the ` key — the one directly left of 1, above Tab. On a non-US layout it may be ~, § or ö; the game binds the physical key, not the character.
  3. Type a command and press Enter. Typing a command with no value prints its current value and its default, which is the fastest way to check what a setting is doing.

If the key does nothing, rebind it: bind "F1" "toggleconsole" will open the console from F1 instead. If you cannot open the console at all to type that, add -console to your launch options and it will open on startup.

Crosshair commands

Our crosshair generator writes all of these for you and shows a live preview, and our crosshair codes page has ready-made ones. Since the September 2026 crosshair rework, sizes are pixels and these are the commands that count:

CommandWhat it does
cl_crosshairstyle 4Shape and behaviour, 0 to 9. 4 is Static Cross. The game default is 7, Dynamic Quad.
cl_crosshair_length 8Length of each bar in pixels, 0 to 255.
cl_crosshair_thickness 2Thickness of the bars in pixels, 0 to 32.
cl_crosshair_gap 4Offset added to the gap between the centre and the bars. Can be negative.
cl_crosshairdot 0Adds a dot in the centre.
cl_crosshaircolor_r 0 · _g 255 · _b 0 · _a 255Colour and opacity, 0 to 255 each.
cl_crosshair_drawoutline 1Outline: 0 none, 1 full, 2 half (top-left edges only).
cl_crosshairoutline_r 0 · _g 0 · _b 0 · _a 255Outline colour, added on 30 September 2026.
cl_crosshair_t 0Removes the top bar, leaving a T shape. Frees up what you are aiming at.
cl_crosshair_recoil 1The crosshair follows the predicted recoil (aim punch). On by default.

cl_crosshairsize, cl_crosshairthickness, cl_crosshairgap and the cl_crosshaircolor presets from older guides are hidden or gone in the current build (CS2 convar dump, build 2000938, checked 2026-11-02).

Viewmodel and hands

CommandWhat it does
viewmodel_fov 68Field of view of the weapon model. Range 60 to 68, default 60. Higher values make the gun look smaller and push it further out of your line of sight.
viewmodel_offset_x 2.5Moves the weapon left or right. Range −2 to 2.5, default 1.
viewmodel_offset_y 2Moves it forward or back. Range −2 to 2, default 1.
viewmodel_offset_z -1.5Moves it up or down. Range −2 to 2, default −1.
viewmodel_presetpos 2Ready-made positions: 1 Desktop (the default) and 2 Classic. A quick starting point before fine-tuning the offsets.
cl_prefer_lefthanded 1Holds the gun in the left hand. 0 puts it back in the right. Worth trying: it uncovers the right side of the screen.
switchhandsSwaps hands for the moment. H runs it by default; switchhandsleft and switchhandsright pick a side directly.

cl_righthand from CS:GO guides does not exist in CS2. Valve added the handedness setting and the H key on 25 April 2024, when it also dropped the old Couch viewmodel position, and the two one-sided commands on 23 May 2024 (25 April notes, 23 May notes). Ranges and defaults above are from CS2's convar dump, build 2000938, checked 2026-11-03.

Radar commands

The default radar is zoomed too far in to show the whole map, which is the single most common fixable information problem at every rank.

CommandWhat it does
cl_radar_always_centered 0Stops the radar centring on you and shows the whole map instead. Set this first.
cl_radar_scale 0.3How much of the map fits on the radar. Lower shows more; 0.3–0.4 usually fits an entire map.
cl_hud_radar_scale 1.15Size of the radar element itself on screen.
cl_radar_rotate 1Rotates the radar with your view. Turning it off keeps the map in a fixed orientation, which some players find easier to read.
cl_radar_icon_scale_min 1Size of the player dots. Larger dots are easier to catch in peripheral vision.

HUD and performance

CommandWhat it does
cl_showfps 1Frame-rate counter at the top of the screen. 2 smooths it, 3 shows server timing, 4 also logs to a file.
hud_scaling 0.9Size of the whole HUD. Range 0.9 to 1.1, default 1. The smallest setting keeps the most screen clear.
safezonex 0.9 · safezoney 0.9Values below 1 pull HUD elements in from the screen edges (x from 0 to 1, y from 0.8 to 1, both default 1). Useful on ultrawide monitors, where the default spreads them out of view.
cl_showloadout 1Shows your current loadout on the HUD. On by default.
cl_hud_color 0HUD colour, 0 to 12. 0 is your team colour, 1 to 11 are fixed colours from white to pink, 12 is your teammate colour.

r_cleardecals, the old bind for wiping bullet holes, is not in CS2's command list. The nearest command, cl_removedecals, only clears the object under your crosshair and is cheat-flagged, so it needs sv_cheats 1 (command dump, build 2000938, checked 2026-11-03).

Practice server setup

Start an offline game with bots, open the console and paste these. sv_cheats 1 must come first or the rest are rejected.

CommandWhat it does
sv_cheats 1Unlocks every command below. Only works on a server you host.
mp_limitteams 0 · mp_autoteambalance 0Stops the game moving you between teams.
mp_roundtime 60 · mp_roundtime_defuse 60Round length in minutes. 60 means the round will not end while you practise.
mp_maxmoney 60000 · mp_startmoney 60000Unlimited money for buying.
mp_buytime 9999 · mp_buy_anywhere 1Buy at any time, anywhere on the map.
mp_freezetime 0Removes the pause at round start.
mp_restartgame 1Applies everything above. Run it last.
bot_kickRemoves all bots. bot_add_t and bot_add_ct put them back one at a time.
bot_stop 1Freezes bots in place — useful as static targets.
noclipFly through walls. Bind it to a key; you will use it constantly.
godTake no damage. A bare god toggles; god 1 always turns it on.
sv_infinite_ammo 1Your active weapon never runs out of ammo, so you can spray without stopping.
sv_showimpacts 1Draws a box where each bullet lands: red for where your client saw the hit, blue for the server. 2 shows only the client boxes, 3 only the server ones. The fastest way to learn a spray pattern.

Grenade practice commands

CommandWhat it does
sv_grenade_trajectory_prac_pipreview 1Shows a picture-in-picture preview of where the grenade lands, so you can check a lineup without walking to it.
sv_grenade_trajectory_prac_trailtime 8How many seconds each throw's trajectory stays on screen, 0 to 8. Older guides call this sv_grenade_trajectory_time, which is no longer in the game.
sv_rethrow_last_grenadeThrows your last grenade again from the exact same spot. Bind this — it turns lineup practice from minutes per attempt into seconds.
ammo_grenade_limit_total 5How many grenades you can carry, default 3. 5 lets you hold one of each type. Since 22 September 2026 it also caps how many you can buy in a round.
bind "x" "sv_rethrow_last_grenade"The bind worth setting before anything else on a practice server.

Checked against CS2's convar dump (build 2000938) and Valve's 22 September 2026 notes on 2026-11-03.

Sound commands

Menu and event music sits over the footsteps you need to hear. Turning it off is the cheapest audio improvement in the game.

CommandWhat it does
snd_menumusic_volume 0Silences the main-menu music.
snd_roundstart_volume 0 · snd_roundend_volume 0Silences the round start and end stingers.
snd_mapobjective_volume 0Silences the bomb-plant and objective music.
snd_deathcamera_volume 0Silences the death-camera sting, which otherwise plays over your team's callouts at the worst moment.

Console commands that no longer work in CS2

These still turn up in "best CS2 console commands" lists. Checked against CS2's convar dump and command dump, build 2000938 of 28 October 2026:

  • cl_cmdrate and cl_updaterate — gone from the game.
  • cl_interp — still there, but only as a read-out: it prints the interpolation the game is using and no longer takes a value. cl_interp_ratio (default 2) and rate (default 80000) do still exist. We know of no Valve guidance that changing them helps, so copying a "pro" set gains you nothing.
  • net_graph — gone. Use cl_showfps and the in-game telemetry panel instead.
  • cl_bob family (cl_bobcycle, cl_bob_lower_amt, cl_bobamt_lat, cl_bobamt_vert) — gone. Weapon bob is no longer adjustable.
  • mat_queue_mode — a CS:GO renderer setting with no CS2 equivalent.
  • cl_righthand — gone. Use cl_prefer_lefthanded and switchhands instead (see Viewmodel and hands).
  • r_cleardecals — gone. cl_removedecals is cheat-flagged and only clears the object under your crosshair.
  • sv_grenade_trajectory_time — gone. The current setting is sv_grenade_trajectory_prac_trailtime.
  • cl_crosshairgap, cl_crosshaircolor, cl_crosshair_outlinethickness, cl_crosshairgap_useweaponvalue — gone since the September 2026 crosshair rework; cl_crosshairsize and cl_crosshairthickness are hidden. See Crosshair commands for the replacements.

None of these will break anything. They simply do nothing, and an autoexec full of them makes it much harder to find the command that actually caused a problem.

Where to put commands so they survive a restart

Don't count on the console to remember a change. Put everything you want to keep in an autoexec.cfg file in the game\csgo\cfg folder of your CS2 install, one command per line. If the game does not load the file on its own, add +exec autoexec to your launch options: Steam's launch-options help says many console commands work there with a "+" in front (Setting Game Launch Options).

Anything the game can change while running belongs in the file: crosshair, viewmodel, radar, HUD, sound and every bind. Things that must be true before the game window exists — resolution, display mode — belong in launch options instead.

Wallhack and X-ray commands

We found no console command in CS2's convar list that shows enemies through walls while you play. The one X-ray setting there is for watching:

CommandWhat it does
spec_show_xray 1Shows player outlines and name IDs through walls while you spectate, for example a demo or a GOTV broadcast. Who you can see depends on your team and the mode. On by default.

Older guides also list r_drawothermodels 2 with sv_cheats 1. It is in neither CS2's current convar dump (build 2000938, 28 October 2026) nor the Valve Developer Community cvar list, so we do not list it as a working command.

No console command aims for you either. Anything sold as a CS2 "aimbot command" is third-party cheat software, not a game setting.

Frequently asked questions

How do I open the console in CS2?

Set Enable Developer Console to Yes in Settings → Game, then press the key left of the 1 key. If that key does nothing on your layout, runbind "F1" "toggleconsole"once, or add-console` to your launch options so it opens on startup.

Do CS:GO console commands still work in CS2?

Most do, but not all. cl_cmdrate, cl_updaterate, net_graph, mat_queue_mode, cl_righthand, r_cleardecals and the weapon-bob commands are gone, the old crosshair commands were replaced in the September 2026 rework, and cl_interp now only reports a value. Pasting an old CS:GO config will not break the game, but those lines do nothing.

What is the best cl_interp for CS2?

There is none to set. In CS2, cl_interp only prints the interpolation the game is using; it no longer takes a value. cl_interp_ratio still exists with a default of 2, but we know of no Valve guidance that changing it helps. Any guide still recommending a specific cl_interp value was written for CS:GO.

How do I make my console commands permanent?

Put them in autoexec.cfg in the game\csgo\cfg folder of your CS2 install, one per line. If the game does not load the file itself, add +exec autoexec to your launch options.

Which console commands actually help you aim better?

None directly. The ones that help are the ones that give you information: sv_showimpacts 1 on a practice server to see your spray, cl_radar_always_centered 0 with a low cl_radar_scale to see the whole map, and turning the music volumes to 0 so footsteps are not buried.

CS2 tools

More on this topic

CS2 guides