CS2 CONSOLE COMMANDS
Complete list of CS2 console commands. Search, copy, and use them in-game.
80 commands found
cl_crosshairsizeTOPDefault: 5Sets the length of the crosshair lines
cl_crosshairgapTOPDefault: 1Sets the gap between crosshair lines
cl_crosshairthicknessTOPDefault: 0.5Sets the thickness of the crosshair lines
cl_crosshaircolorTOPDefault: 1Sets the color of your crosshair (1-5, or 5 for custom RGB)
sensitivityTOPDefault: 2.5Sets mouse sensitivity
cl_righthandTOPDefault: 1Sets weapon position (0=left, 1=right)
net_graphTOPDefault: 0Displays network statistics on screen
fps_maxTOPDefault: 0Limits maximum FPS (0 = unlimited)
cl_showfpsTOPDefault: 0Shows FPS counter on screen
volumeTOPDefault: 1Sets the master volume
cl_crosshairstyleDefault: 2Sets crosshair style (0-5)
cl_crosshaircolor_rDefault: 50Sets the red value for custom crosshair color (0-255)
cl_crosshaircolor_gDefault: 250Sets the green value for custom crosshair color (0-255)
cl_crosshaircolor_bDefault: 50Sets the blue value for custom crosshair color (0-255)
cl_crosshairalphaDefault: 200Sets crosshair transparency (0-255)
cl_crosshairdotDefault: 0Toggles center dot on crosshair
cl_crosshair_tDefault: 0Toggles T-style crosshair
cl_crosshair_drawoutlineDefault: 0Draws outline around crosshair
cl_crosshair_outlinethicknessDefault: 1Sets outline thickness
cl_crosshair_sniper_widthDefault: 1Sets sniper scope crosshair width
hud_scalingDefault: 0.85Scales the HUD elements
cl_hud_colorDefault: 0Sets HUD color scheme
cl_hud_background_alphaDefault: 0.5Sets HUD background transparency
cl_hud_healthammo_styleDefault: 0Sets health/ammo display style
cl_hud_playercount_showcountDefault: 0Shows player count vs avatars
cl_showloadoutDefault: 1Always show inventory loadout
cl_draw_only_deathnoticesDefault: 0Only show death notices on HUD
m_rawinputDefault: 1Use raw mouse input (recommended)
zoom_sensitivity_ratioDefault: 1Sets sensitivity ratio when scoped
m_pitchDefault: 0.022Mouse pitch (vertical) sensitivity
m_yawDefault: 0.022Mouse yaw (horizontal) sensitivity
viewmodel_fovDefault: 68Sets field of view for weapon model
viewmodel_offset_xDefault: 2.5Horizontal offset of weapon model
viewmodel_offset_yDefault: 0Forward/backward offset of weapon model
viewmodel_offset_zDefault: -1.5Vertical offset of weapon model
viewmodel_presetposDefault: 1Use preset viewmodel position (1-3)
cl_bob_lower_amtDefault: 21How much viewmodel bobs when running
cl_bobamt_latDefault: 0.4Lateral viewmodel bobbing amount
cl_bobamt_vertDefault: 0.25Vertical viewmodel bobbing amount
cl_interpDefault: 0Sets interpolation amount
cl_interp_ratioDefault: 1Sets interpolation ratio
cl_cmdrateDefault: 128Max command packets sent per second
cl_updaterateDefault: 128Max update packets received per second
rateDefault: 786432Max bytes per second to receive
r_drawparticlesDefault: 1Draw particle effects
r_dynamicDefault: 1Enables dynamic lighting
mat_queue_modeDefault: -1Material system queue mode (-1 to 2)
cl_forcepreloadDefault: 0Force preload resources
snd_mixaheadDefault: 0.025Sound mix ahead time
snd_musicvolumeDefault: 0.5Music volume
voice_scaleDefault: 1Voice chat volume
snd_headphone_pan_exponentDefault: 2Headphone panning exponent
snd_headphone_pan_radial_weightDefault: 1Headphone panning radial weight
bindBinds a key to a command
unbindUnbinds a key
unbindallUnbinds all keys
aliasCreates a command alias
execExecutes a config file
sv_cheatsDefault: 0Enables/disables cheat commands
noclipFly through walls (sv_cheats 1)
godGod mode - invincible (sv_cheats 1)
give weapon_ak47Gives AK-47 (sv_cheats 1)
give weapon_awpGives AWP (sv_cheats 1)
bot_addAdds a bot to the game
bot_kickKicks all bots from the game
mp_warmup_endEnds warmup immediately
mp_restartgame 1Restarts the game
cl_autowepswitchDefault: 0Auto switch to picked up weapons
cl_autohelpDefault: 0Show automatic game hints
cl_showhelpDefault: 0Show on-screen help
cl_disablehtmlmotdDefault: 0Disable HTML MOTDs
r_drawtracers_firstpersonDefault: 1Show first person tracers
cl_timeoutDefault: 30Time before disconnect on no response
mm_dedicated_search_maxpingDefault: 150Maximum acceptable ping for matchmaking
con_filter_enableDefault: 0Enable console message filtering
developerDefault: 0Sets developer mode level
clearClears the console
quitQuits the game
disconnectDisconnects from server
statusShows server status
FAQ QUESTIONS
How do I open the console in CS2?
Go to Settings > Game > Game Settings and enable 'Enable Developer Console'. Then press the ~ key during gameplay.
Can I save commands to autoexec.cfg?
Yes! Create an autoexec.cfg file and save it to Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg folder. It will load automatically when the game starts.
Why don't sv_cheats commands work?
These commands only work on local servers after enabling sv_cheats 1. They cannot be used in matchmaking.
What are CS2 Console Commands?
Counter-Strike 2 (CS2) console commands are powerful tools that allow players to control, customize, and optimize various game settings. From crosshair configurations to network parameters, graphics settings, and audio levels, almost everything can be controlled through console commands.
Professional players use console commands to personalize their gaming experience and gain competitive advantages. This reference contains the most important and commonly used commands in CS2.
To open the console, press the ~ key (you need to enable the console first in Settings > Game). Then type the command and press Enter.
Command Categories Overview
Crosshair
Commands to adjust crosshair size, color, thickness, and style. The most customized settings by professional players.
HUD
Customize on-screen interface elements. Modify radar, minimap, health/armor displays and more.
Mouse
Commands for mouse sensitivity, raw input, and zoom sensitivity. Critical for aiming precision.
Network
Network settings, tickrate, interpolation and more. Reduce lag and improve responsiveness.
Graphics
Graphics settings, FPS limits, particle effects. Optimize performance for competitive play.
Audio
Volume levels, music, voice chat settings. Important for hearing enemy footsteps.
Most Important Commands
| Command | Purpose | Recommended |
|---|---|---|
| sensitivity | Mouse sensitivity | 1.0 - 3.0 |
| fps_max | FPS limit | 0 (unlimited) |
| m_rawinput | Raw mouse input | 1 |
| cl_crosshairsize | Crosshair size | 2 - 5 |
| volume | Master volume | 0.3 - 0.7 |
Pro Tips for Console Commands
- Create an autoexec.cfg file to save all your settings in one place
- Write down your current settings before making changes
- Change one command at a time and test it
- Remember that sv_cheats commands won't work in matchmaking
- Use host_writeconfig to save your changes
- Study professional players' configs for inspiration
Creating an Autoexec.cfg File
The autoexec.cfg file contains commands that are automatically loaded every time the game starts. This is the most reliable way to permanently save all your settings.
Navigate to Steam folder
Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg
Create a new text file
Save it as autoexec.cfg (not .txt)
Add your commands
Type your desired commands in the file
Add host_writeconfig
Add this command at the end of the file
Restart CS2
Changes will load automatically
FPS & Performance Optimization
Maintaining high FPS in CS2 is crucial for consistent gameplay. These commands help maximize your computer's performance.
fps_max 0Unlimited FPS - for lowest input lag
fps_max 300300 FPS cap - for stable frame times
cl_forcepreload 1Preload all textures - reduce stuttering
mat_queue_mode 2Enable multi-threaded rendering
Network Optimization for Low Ping
Proper network settings reduce ping and packet loss, allowing for faster response times.
| Command | Value |
|---|---|
| cl_interp_ratio | 1 |
| rate | 786432 |
| cl_cmdrate | 128 |
History of Console Commands
Console commands have been an integral part of Counter-Strike since the original CS 1.0 in 1999. Players have always been able to customize the game through the console.
During CS 1.6, professional players began sharing their settings, creating the 'pro configs' culture.
Frequently Asked Questions
How do I open the console?
Settings > Game > Enable Developer Console, then press ~ in-game.
Why don't sv_cheats commands work?
sv_cheats commands only work on local servers or servers with sv_cheats 1 enabled.