PARTNER Open CS2 cases with code LOOT — 20% deposit bonus + $0.50 free

cl_crosshairsize TOP Crosshair
Sets the length of the crosshair lines
default: 5
cl_crosshairgap TOP Crosshair
Sets the gap between crosshair lines
default: 1
cl_crosshairthickness TOP Crosshair
Sets the thickness of the crosshair lines
default: 0.5
cl_crosshaircolor TOP Crosshair
Sets the color of your crosshair (1–5, or 5 for custom RGB)
default: 1
sensitivity TOP Mouse
Sets mouse sensitivity
default: 2.5
cl_righthand TOP Viewmodel
Sets weapon position (0=left, 1=right)
default: 1
net_graph TOP Network
Displays network statistics on screen
default: 0
fps_max TOP Graphics
Limits maximum FPS (0 = unlimited)
default: 0
cl_showfps TOP HUD
Shows FPS counter on screen
default: 0
volume TOP Audio
Sets the master volume
default: 1
cl_crosshairstyle Crosshair
Sets crosshair style (0–5)
default: 2
cl_crosshaircolor_r Crosshair
Sets the red value for custom crosshair color (0–255)
default: 50
cl_crosshaircolor_g Crosshair
Sets the green value for custom crosshair color (0–255)
default: 250
cl_crosshaircolor_b Crosshair
Sets the blue value for custom crosshair color (0–255)
default: 50
cl_crosshairalpha Crosshair
Sets crosshair transparency (0–255)
default: 200
cl_crosshairdot Crosshair
Toggles center dot on crosshair
default: 0
cl_crosshair_t Crosshair
Toggles T-style crosshair
default: 0
cl_crosshair_drawoutline Crosshair
Draws outline around crosshair
default: 0
cl_crosshair_outlinethickness Crosshair
Sets outline thickness
default: 1
cl_crosshair_sniper_width Crosshair
Sets sniper scope crosshair width
default: 1
hud_scaling HUD
Scales the HUD elements
default: 0.85
cl_hud_color HUD
Sets HUD color scheme
default: 0
cl_hud_background_alpha HUD
Sets HUD background transparency
default: 0.5
cl_hud_healthammo_style HUD
Sets health/ammo display style
default: 0
cl_hud_playercount_showcount HUD
Shows player count vs avatars
default: 0
cl_showloadout HUD
Always show inventory loadout
default: 1
cl_draw_only_deathnotices HUD
Only show death notices on HUD
default: 0
m_rawinput Mouse
Use raw mouse input (recommended)
default: 1
zoom_sensitivity_ratio Mouse
Sets sensitivity ratio when scoped
default: 1
m_pitch Mouse
Mouse pitch (vertical) sensitivity
default: 0.022
m_yaw Mouse
Mouse yaw (horizontal) sensitivity
default: 0.022
viewmodel_fov Viewmodel
Sets field of view for the weapon model
default: 68
viewmodel_offset_x Viewmodel
Horizontal offset of weapon model
default: 2.5
viewmodel_offset_y Viewmodel
Forward/backward offset of weapon model
default: 0
viewmodel_offset_z Viewmodel
Vertical offset of weapon model
default: -1.5
viewmodel_presetpos Viewmodel
Use preset viewmodel position (1–3)
default: 1
cl_bob_lower_amt Viewmodel
How much the viewmodel bobs when running
default: 21
cl_bobamt_lat Viewmodel
Lateral viewmodel bobbing amount
default: 0.4
cl_bobamt_vert Viewmodel
Vertical viewmodel bobbing amount
default: 0.25
cl_interp Network
Sets interpolation amount
default: 0
cl_interp_ratio Network
Sets interpolation ratio
default: 1
cl_cmdrate Network
Max command packets sent per second
default: 128
cl_updaterate Network
Max update packets received per second
default: 128
rate Network
Max bytes per second to receive
default: 786432
r_drawparticles Graphics
Draw particle effects
default: 1
r_dynamic Graphics
Enables dynamic lighting
default: 1
mat_queue_mode Graphics
Material system queue mode (-1 to 2)
default: -1
cl_forcepreload Graphics
Force preload resources
default: 0
snd_mixahead Audio
Sound mix ahead time
default: 0.025
snd_musicvolume Audio
Music volume
default: 0.5
voice_scale Audio
Voice chat volume
default: 1
snd_headphone_pan_exponent Audio
Headphone panning exponent
default: 2
snd_headphone_pan_radial_weight Audio
Headphone panning radial weight
default: 1
bind Binds & Alias
Binds a key to a command
unbind Binds & Alias
Unbinds a key
unbindall Binds & Alias
Unbinds all keys
alias Binds & Alias
Creates a command alias
exec Binds & Alias
Executes a config file
sv_cheats Cheats / Bots
Enables/disables cheat commands
default: 0
noclip Cheats / Bots
Fly through walls (sv_cheats 1)
god Cheats / Bots
God mode — invincible (sv_cheats 1)
give weapon_ak47 Cheats / Bots
Gives AK-47 (sv_cheats 1)
give weapon_awp Cheats / Bots
Gives AWP (sv_cheats 1)
bot_add Cheats / Bots
Adds a bot to the game
bot_kick Cheats / Bots
Kicks all bots from the game
mp_warmup_end Cheats / Bots
Ends warmup immediately
mp_restartgame 1 Cheats / Bots
Restarts the game
cl_autowepswitch Other
Auto switch to picked up weapons
default: 0
cl_autohelp Other
Show automatic game hints
default: 0
cl_showhelp Other
Show on-screen help
default: 0
cl_disablehtmlmotd Other
Disable HTML MOTDs
default: 0
r_drawtracers_firstperson Other
Show first person tracers
default: 1
cl_timeout Other
Time before disconnect on no response
default: 30
mm_dedicated_search_maxping Other
Maximum acceptable ping for matchmaking
default: 150
con_filter_enable Other
Enable console message filtering
default: 0
developer Other
Sets developer mode level
default: 0
clear Other
Clears the console
quit Other
Quits the game
disconnect Other
Disconnects from server
status Other
Shows server status

How to use CS2 console commands

Press the tilde key (~) in-game to open the developer console. Type any command and press Enter. To make a setting permanent, paste the command into autoexec.cfg inside your CS2 cfg folder, then add +exec autoexec to your Steam launch options. The cfg folder is at:

Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/cfg/

Most-used categories

The biggest impact commands fall into a few buckets:

  • Crosshaircl_crosshair* commands shape every aspect of the in-game crosshair. The Crosshair Generator tool wraps these into a single share code.
  • Viewmodelviewmodel_offset_* moves your hand and weapon out of the way; pros run small offsets to keep more screen real-estate visible.
  • Networkcl_interp, rate, cl_cmdrate tune how your client predicts and exchanges data with the server. Bad values cause peeker/jitter issues.
  • Mousem_rawinput 1 bypasses Windows acceleration; zoom_sensitivity_ratio aligns scoped sensitivity with hipfire.

Frequently Asked Questions

How do I open the console in CS2?

Press the tilde key (~) in-game. If it doesn't open, enable the developer console in Settings → Game → Enable Developer Console (Yes), then bind a key with bind "`" "toggleconsole" if needed.

Where do I save console commands permanently?

Add commands to autoexec.cfg inside your CS2 cfg folder: Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/cfg/. Then add "+exec autoexec" to your CS2 launch options so the file runs every time the game starts.

Are these commands tournament-legal?

All commands listed here are standard CS2 console commands. They are allowed on FACEIT, ESEA, and Valve Premier matchmaking. Cheat-flagged commands (anything requiring sv_cheats 1) only work on private servers and offline/practice maps.

What does sv_cheats 1 mean?

Setting sv_cheats to 1 unlocks debug and cheat commands like noclip, god mode, give weapon_*, bot_add, and similar. Servers running sv_cheats 1 cannot be played for matchmaking — it's a private practice mode only.