English
Back to Home

CS2 CONSOLE COMMANDS

Complete list of CS2 console commands. Search, copy, and use them in-game.

80 commands found

cl_crosshairsizeTOPDefault: 5

Sets the length of the crosshair lines

cl_crosshairgapTOPDefault: 1

Sets the gap between crosshair lines

cl_crosshairthicknessTOPDefault: 0.5

Sets the thickness of the crosshair lines

cl_crosshaircolorTOPDefault: 1

Sets the color of your crosshair (1-5, or 5 for custom RGB)

sensitivityTOPDefault: 2.5

Sets mouse sensitivity

cl_righthandTOPDefault: 1

Sets weapon position (0=left, 1=right)

net_graphTOPDefault: 0

Displays network statistics on screen

fps_maxTOPDefault: 0

Limits maximum FPS (0 = unlimited)

cl_showfpsTOPDefault: 0

Shows FPS counter on screen

volumeTOPDefault: 1

Sets the master volume

cl_crosshairstyleDefault: 2

Sets crosshair style (0-5)

cl_crosshaircolor_rDefault: 50

Sets the red value for custom crosshair color (0-255)

cl_crosshaircolor_gDefault: 250

Sets the green value for custom crosshair color (0-255)

cl_crosshaircolor_bDefault: 50

Sets the blue value for custom crosshair color (0-255)

cl_crosshairalphaDefault: 200

Sets crosshair transparency (0-255)

cl_crosshairdotDefault: 0

Toggles center dot on crosshair

cl_crosshair_tDefault: 0

Toggles T-style crosshair

cl_crosshair_drawoutlineDefault: 0

Draws outline around crosshair

cl_crosshair_outlinethicknessDefault: 1

Sets outline thickness

cl_crosshair_sniper_widthDefault: 1

Sets sniper scope crosshair width

hud_scalingDefault: 0.85

Scales the HUD elements

cl_hud_colorDefault: 0

Sets HUD color scheme

cl_hud_background_alphaDefault: 0.5

Sets HUD background transparency

cl_hud_healthammo_styleDefault: 0

Sets health/ammo display style

cl_hud_playercount_showcountDefault: 0

Shows player count vs avatars

cl_showloadoutDefault: 1

Always show inventory loadout

cl_draw_only_deathnoticesDefault: 0

Only show death notices on HUD

m_rawinputDefault: 1

Use raw mouse input (recommended)

zoom_sensitivity_ratioDefault: 1

Sets sensitivity ratio when scoped

m_pitchDefault: 0.022

Mouse pitch (vertical) sensitivity

m_yawDefault: 0.022

Mouse yaw (horizontal) sensitivity

viewmodel_fovDefault: 68

Sets field of view for weapon model

viewmodel_offset_xDefault: 2.5

Horizontal offset of weapon model

viewmodel_offset_yDefault: 0

Forward/backward offset of weapon model

viewmodel_offset_zDefault: -1.5

Vertical offset of weapon model

viewmodel_presetposDefault: 1

Use preset viewmodel position (1-3)

cl_bob_lower_amtDefault: 21

How much viewmodel bobs when running

cl_bobamt_latDefault: 0.4

Lateral viewmodel bobbing amount

cl_bobamt_vertDefault: 0.25

Vertical viewmodel bobbing amount

cl_interpDefault: 0

Sets interpolation amount

cl_interp_ratioDefault: 1

Sets interpolation ratio

cl_cmdrateDefault: 128

Max command packets sent per second

cl_updaterateDefault: 128

Max update packets received per second

rateDefault: 786432

Max bytes per second to receive

r_drawparticlesDefault: 1

Draw particle effects

r_dynamicDefault: 1

Enables dynamic lighting

mat_queue_modeDefault: -1

Material system queue mode (-1 to 2)

cl_forcepreloadDefault: 0

Force preload resources

snd_mixaheadDefault: 0.025

Sound mix ahead time

snd_musicvolumeDefault: 0.5

Music volume

voice_scaleDefault: 1

Voice chat volume

snd_headphone_pan_exponentDefault: 2

Headphone panning exponent

snd_headphone_pan_radial_weightDefault: 1

Headphone panning radial weight

bind

Binds a key to a command

unbind

Unbinds a key

unbindall

Unbinds all keys

alias

Creates a command alias

exec

Executes a config file

sv_cheatsDefault: 0

Enables/disables cheat commands

noclip

Fly through walls (sv_cheats 1)

god

God mode - invincible (sv_cheats 1)

give weapon_ak47

Gives AK-47 (sv_cheats 1)

give weapon_awp

Gives AWP (sv_cheats 1)

bot_add

Adds a bot to the game

bot_kick

Kicks all bots from the game

mp_warmup_end

Ends warmup immediately

mp_restartgame 1

Restarts the game

cl_autowepswitchDefault: 0

Auto switch to picked up weapons

cl_autohelpDefault: 0

Show automatic game hints

cl_showhelpDefault: 0

Show on-screen help

cl_disablehtmlmotdDefault: 0

Disable HTML MOTDs

r_drawtracers_firstpersonDefault: 1

Show first person tracers

cl_timeoutDefault: 30

Time before disconnect on no response

mm_dedicated_search_maxpingDefault: 150

Maximum acceptable ping for matchmaking

con_filter_enableDefault: 0

Enable console message filtering

developerDefault: 0

Sets developer mode level

clear

Clears the console

quit

Quits the game

disconnect

Disconnects from server

status

Shows 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

CommandPurposeRecommended
sensitivityMouse sensitivity1.0 - 3.0
fps_maxFPS limit0 (unlimited)
m_rawinputRaw mouse input1
cl_crosshairsizeCrosshair size2 - 5
volumeMaster volume0.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.

1

Navigate to Steam folder

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

2

Create a new text file

Save it as autoexec.cfg (not .txt)

3

Add your commands

Type your desired commands in the file

4

Add host_writeconfig

Add this command at the end of the file

5

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 0

Unlimited FPS - for lowest input lag

fps_max 300

300 FPS cap - for stable frame times

cl_forcepreload 1

Preload all textures - reduce stuttering

mat_queue_mode 2

Enable multi-threaded rendering

Network Optimization for Low Ping

Proper network settings reduce ping and packet loss, allowing for faster response times.

CommandValue
cl_interp_ratio1
rate786432
cl_cmdrate128

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.

Verified June 2026

The CS2 developer console opens with the tilde key (~) and runs commands across crosshair, HUD, sensitivity, network, video and audio. This reference groups the most-used commands by category; some require sv_cheats 1 and only work on private servers.

Key facts
WhenSourceFact
Jun 2026CS2The developer console opens with the tilde key (~) once enabled in game settings.
Jun 2026cs2.mnCommands are grouped into 6 categories: crosshair, HUD, sensitivity, network, video and audio.
Jun 2026ValveCheat-protected commands require sv_cheats 1 and only run on private/practice servers.

How we verify: The cs2.mn team cross-checks every setting against player streams, in-game config files and tournament footage, then re-verifies on each update. Figures reflect configs confirmed as of the verified date above; sources are named in plain text and no links are fabricated.

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

CommandPurposeRecommended
sensitivityMouse sensitivity1.0 - 3.0
cl_crosshairsizeCrosshair size1 - 5
volumeMaster volume0.3 - 1.0
fps_maxFPS limit0 or 300+
cl_righthandWeapon hand0 or 1
net_graphNetwork statistics1

Tips for Using Console Commands

  • •Create an autoexec.cfg file to save your settings permanently
  • •Use the 'find' command to search for specific commands
  • •Most commands require 'sv_cheats 1' for offline practice
  • •Back up your config before making major changes
  • •Test changes in offline mode before competitive matches

Frequently Asked Questions

How do I open the console in CS2?

Enable console in Settings > Game, then press ~ (tilde key) to open it.

Are console commands safe to use?

Yes, all official console commands are safe and VAC-approved for competitive play.

How do I save my settings permanently?

Create an autoexec.cfg file in your CS2/cfg folder and add your commands there.

Why isn't my command working?

Some commands require 'sv_cheats 1' which only works offline. Check if the command is valid in CS2.