CS2 Console Commands Reference
A comprehensive reference of useful Counter-Strike 2 console commands organized by category. All commands can be entered in the console or saved to your autoexec.cfg file.
Crosshair Commands
Control every aspect of your crosshair appearance. Use our Crosshair Generator for a visual editor.
| Command | Range | Description |
|---|---|---|
| cl_crosshairsize | 0-10 | Length of crosshair lines |
| cl_crosshairthickness | 0-5 | Width of crosshair lines |
| cl_crosshairgap | -5 to 5 | Gap between center and lines |
| cl_crosshaircolor | 0-5 | Color (0=Red, 1=Green, 2=Yellow, 3=Blue, 4=Cyan, 5=White) |
| cl_crosshairalpha | 0-255 | Transparency (255 = fully opaque) |
| cl_crosshairdot | 0/1 | Show center dot |
| cl_crosshairstyle | 0-5 | Crosshair style (4 = static, 2 = dynamic) |
| cl_crosshair_drawoutline | 0/1 | Draw dark outline around crosshair |
| cl_crosshair_outlinethickness | 0-3 | Outline width |
Viewmodel Commands
Adjust weapon model position. Use our Viewmodel Generator for visual configuration.
| Command | Range | Description |
|---|---|---|
| viewmodel_fov | 54-68 | Weapon field of view |
| viewmodel_offset_x | -2.5 to 2.5 | Horizontal position |
| viewmodel_offset_y | -2 to 2 | Depth position |
| viewmodel_offset_z | -3 to 3 | Vertical position |
| cl_righthand | 0/1 | Right hand (1) or left hand (0) |
Network Commands
| Command | Recommended | Description |
|---|---|---|
| rate | 786432 | Maximum network bandwidth in bytes per second |
| cl_interp_ratio | 1 | Interpolation ratio (1 for good connections) |
| cl_interp | 0 | Let engine calculate optimal interpolation |
| cl_cmdrate | 128 | Client command rate |
| cl_updaterate | 128 | Client update rate |
Performance Commands
| Command | Value | Description |
|---|---|---|
| fps_max | 0 | Remove FPS cap (0 = unlimited) |
| r_dynamic | 0 | Disable dynamic lighting |
| cl_showfps | 1 | Show FPS counter |
| net_graph | 1 | Show network statistics |
| r_drawtracers_firstperson | 0 | Disable first-person bullet tracers |
Audio Commands
| Command | Range | Description |
|---|---|---|
| volume | 0-1 | Master volume |
| snd_mixahead | 0.01-0.1 | Audio buffer (lower = less latency) |
Practice / sv_cheats Commands
These commands require sv_cheats 1 and only work in offline or private servers. Use our Practice Config Generator to build complete practice setups.
| Command | Description |
|---|---|
| sv_cheats 1 | Enable cheat-protected commands |
| sv_infinite_ammo 1 | Unlimited ammo |
| noclip | Fly through walls |
| sv_grenade_trajectory_prac_pipreview 1 | Show grenade trajectory |
| cl_grenadepreview 1 | Preview grenade path before throwing |
| bot_kick | Remove all bots |
| bot_add_t / bot_add_ct | Add a bot to T or CT side |
| mp_roundtime_defuse 999 | Set round time to maximum |
| mp_freezetime 0 | Remove freeze time |
| mp_warmup_end | End warmup immediately |
Bind Commands
Custom key bindings for common actions.
| Command | Description |
|---|---|
| bind "mwheeldown" "+jump" | Jump on mouse wheel down (for bunny hopping) |
| bind "n" "noclip" | Toggle noclip on N key (practice only) |
Config Tools
Console FAQ
How do I open the console in CS2?
Press the tilde key (~) to open the console. If it does not open, go to Settings then Game and enable the developer console option.
Are console commands allowed in CS2 competitive?
Yes, most console commands are allowed in competitive matchmaking. Only sv_cheats protected commands are restricted to offline or private servers.
How do I find a specific command in CS2?
Type the beginning of the command in the console and CS2 will show autocomplete suggestions. You can also use the find command to search.