Skip to content

CS2 Console Commands

Search the list or pick a category. Each command has what it does, Valve's default, an example to copy and whether it needs cheats. Defaults come from Valve's own command list, not from guesses.

142 commands, checked 24 Nov 2026

All commands

142 commands

All commands
CommandWhat it doesDefaultExampleCheats
toggleconsoleConsole basics · Client settingOpens and closes the console. Bind it to a key if the default key does nothing.Commandbind "F10" "toggleconsole"No
con_enableConsole basics · Client settingAllows the console to be opened. The Enable Developer Console setting in Game settings is the same switch.falsecon_enable 1No
execConsole basics · Client settingRuns a .cfg file from the game/csgo/cfg folder, one line at a time.Commandexec autoexecNo
host_writeconfigConsole basics · Client settingSaves your current settings to your config file.Commandhost_writeconfigNo
bindConsole basics · Client settingAttaches a command to a key.Commandbind "n" "noclip"No
unbindConsole basics · Client settingRemoves the binding from one key.Commandunbind "n"No
unbindallConsole basics · Client settingRemoves every binding. You will need to bind your movement keys again.CommandunbindallNo
aliasConsole basics · Client settingGives a command, or a list of commands, a short name you can bind.Commandalias "hello" "say hello"No
echoConsole basics · Client settingPrints a line of text in the console. Handy as the last line of a config to show it ran.Commandecho "config loaded"No
clearConsole basics · Client settingClears the console window.CommandclearNo
toggleConsole basics · Client settingFlips a setting between its on and off values.Commandtoggle cl_drawhudNo
findConsole basics · Client settingSearches command names and help text for a word.Commandfind radarNo
helpConsole basics · Client settingShows what one command or setting does.Commandhelp cl_radar_scaleNo
cvarlistConsole basics · Client settingLists commands and settings. The list is long, so give it the first letters of the ones you want.Commandcvarlist cl_radarNo
mapConsole basics · Client settingLoads a map and starts a local game on it.Commandmap de_dust2No
changelevelConsole basics · Client settingChanges the map of the game you are hosting.Commandchangelevel de_mirageNo
disconnectConsole basics · Client settingLeaves the current game or server.CommanddisconnectNo
quitConsole basics · Client settingCloses the game.CommandquitNo
statusFPS and network · Client settingPrints your connection to the current server: the server, the players and the connection type.CommandstatusNo
sensitivityMouse and sound · Client settingYour mouse sensitivity.Archived setting: the value in the 2023 dump is the dumping machine's own, so no default is shown.–sensitivity 1.2No
zoom_sensitivity_ratioMouse and sound · Client settingExtra sensitivity multiplier while scoped.1zoom_sensitivity_ratio 1No
m_yawMouse and sound · Client settingHow far the view turns sideways for each count of mouse movement.0.022m_yaw 0.022No
m_pitchMouse and sound · Client settingHow far the view turns up and down for each count of mouse movement.0.022m_pitch 0.022No
volumeMouse and sound · Client settingMaster volume, from 0 to 1.Archived setting: the value in the 2023 dump is the dumping machine's own, so no default is shown.–volume 0.4No
snd_mute_losefocusMouse and sound · Client settingMutes the game when its window is not in front.truesnd_mute_losefocus 0No
snd_menumusic_volumeMouse and sound · Client settingVolume of the menu and non-match music.Archived setting: the value in the 2023 dump is the dumping machine's own, so no default is shown.–snd_menumusic_volume 0.1No
recordDemos · Client settingStarts recording a demo of the game you are in.Commandrecord mydemoNo
stopDemos · Client settingEnds the demo recording.CommandstopNo
playdemoDemos · Client settingPlays a recorded .dem file.Commandplaydemo mydemoNo
demouiDemos · Client settingShows or hides the demo playback controls.CommanddemouiNo
demo_pauseDemos · Client settingPauses the demo.Commanddemo_pauseNo
demo_resumeDemos · Client settingResumes the demo.Commanddemo_resumeNo
demo_timescaleDemos · Client settingSets how fast the demo plays.Commanddemo_timescale 0.5No
demo_gototickDemos · Client settingJumps to a tick in the demo.Commanddemo_gototick 10000No
sv_cheatsPractice · Client settingTurns cheat-protected commands on. Only works in a local game or on a server you run, never on Valve's servers.falsesv_cheats 1No
mp_warmup_pausetimerPractice · Server settingSet to 1 to stay in warmup with no time limit. Set to 0 to let the timer run again.0mp_warmup_pausetimer 1No
mp_warmup_startPractice · Server settingStarts warmup.Commandmp_warmup_startNo
mp_warmup_endPractice · Server settingEnds warmup and starts the match.Commandmp_warmup_endNo
mp_warmuptimePractice · Server settingLength of warmup, in seconds. Changing it restarts warmup.90mp_warmuptime 600No
mp_restartgamePractice · Server settingRestarts the game after the number of seconds you give. Run it last so round and money settings apply.0mp_restartgame 1No
mp_ignore_round_win_conditionsPractice · Server settingStops a round ending when a team is dead or the clock runs out.falsemp_ignore_round_win_conditions 1No
mp_roundtimePractice · Server settingRound length in minutes.3mp_roundtime 60No
mp_roundtime_defusePractice · Server settingRound length in minutes on bomb maps. If 0, mp_roundtime is used.2.25mp_roundtime_defuse 60No
mp_freezetimePractice · Server settingSeconds players are frozen at the start of a round.5mp_freezetime 0No
mp_respawn_on_death_ctPractice · Server settingCounter-Terrorists respawn after dying when set to 1.falsemp_respawn_on_death_ct 1No
mp_respawn_on_death_tPractice · Server settingTerrorists respawn after dying when set to 1.falsemp_respawn_on_death_t 1No
mp_startmoneyPractice · Server settingMoney every player gets when the game restarts.1000mp_startmoney 16000No
mp_maxmoneyPractice · Server settingThe most money a player can hold.10000mp_maxmoney 60000No
mp_buytimePractice · Server settingSeconds after the round starts that you can still buy.45mp_buytime 9999No
mp_buy_anywherePractice · Server settingLets players buy outside the buy zone. 1 is both teams, 2 is Terrorists, 3 is Counter-Terrorists.0mp_buy_anywhere 1No
mp_limitteamsPractice · Server settingThe most players one team can have over the other. 0 turns the check off.2mp_limitteams 0No
mp_autoteambalancePractice · Server settingMoves players between teams to keep them even.truemp_autoteambalance 0No
sv_infinite_ammoPractice · Server settingYour active weapon never runs out of ammo.0sv_infinite_ammo 1Yes
ammo_grenade_limit_totalPractice · Server settingThe total number of grenades a player can carry.4ammo_grenade_limit_total 5No
sv_showimpactsPractice · Server settingDraws where bullets land: red for what your client sees, blue for the server. 1 is both, 2 client only, 3 server only.0sv_showimpacts 1No
sv_showimpacts_timePractice · Server settingHow long, in seconds, the impact markers stay on screen.4sv_showimpacts_time 10No
sv_grenade_trajectory_prac_pipreviewPractice · Server settingShows a small preview of where your grenade will go before you throw it.falsesv_grenade_trajectory_prac_pipreview 1No
sv_grenade_trajectory_prac_trailtimePractice · Server settingDraws the path of grenades you throw for this many seconds.0sv_grenade_trajectory_prac_trailtime 8No
cl_sim_grenade_trajectoryPractice · Client settingDraws the path a grenade would take if thrown from where you stand. Takes an optional time for how long to draw it.Commandcl_sim_grenade_trajectory 5Yes
sv_rethrow_last_grenadePractice · Server settingThrows the last grenade again, the same way, so you can test a lineup. Bind it to a key.Commandbind "," "sv_rethrow_last_grenade"Yes
noclipPractice · Server settingToggles flying through walls. Add 0 or 1 to force it off or on.Commandbind "n" "noclip"Yes
godPractice · Server settingToggles invulnerability. Add 0 or 1 to force it off or on.CommandgodYes
ent_remove_allPractice · Server settingRemoves every entity of one class from the map. Used to clear smokes, molotovs and fire.The class names smokegrenade_projectile, molotov_projectile and inferno are the ones the practice setups on this site use. Valve's list does not name them.Commandent_remove_all smokegrenade_projectileYes
host_timescalePractice · Client settingScales the game clock. Under 1 is slow motion, over 1 is faster.1host_timescale 0.5Yes
weapon_accuracy_nospreadPractice · Server settingRemoves the random spread of shots, so you can study recoil on its own.falseweapon_accuracy_nospread 1No
cl_allow_multi_input_bindsPractice · Client settingValve ignores binds that combine movement or attack inputs, which includes the jump-throw bind. This cheat-protected setting turns them back on for practice.Valve update notes: 19 Aug 2024–cl_allow_multi_input_binds 1Yes
bot_addBots · Server settingAdds a bot. You can name a team, a type, a difficulty and a name after it.Commandbot_addNo
bot_add_ctBots · Server settingAdds a Counter-Terrorist bot.Commandbot_add_ctNo
bot_add_tBots · Server settingAdds a Terrorist bot.Commandbot_add_tNo
bot_kickBots · Server settingRemoves bots. With no extra words it removes all of them; you can limit it by team, type, difficulty or name.Commandbot_kickNo
bot_killBots · Server settingKills bots, with the same team, type, difficulty and name options as bot_kick.Commandbot_killYes
bot_quotaBots · Server settingThe number of bots the game keeps in the match. Set it to 0 first, or kicked bots come back.1bot_quota 0No
bot_quota_modeBots · Server settingHow the quota is counted: normal, fill or match.The 2023 dump lists a value that is not one of the allowed ones, so no default is shown.–bot_quota_mode normalNo
bot_difficultyBots · Server settingHow good new bots are: 0 easy, 1 normal, 2 hard, 3 expert.2bot_difficulty 3No
bot_knives_onlyBots · Server settingBots use only knives.Commandbot_knives_onlyNo
bot_pistols_onlyBots · Server settingBots use only pistols.Commandbot_pistols_onlyNo
bot_snipers_onlyBots · Server settingBots use only sniper rifles.Commandbot_snipers_onlyNo
bot_all_weaponsBots · Server settingLets bots use any weapon again.Commandbot_all_weaponsNo
bot_stopBots · Server settingFreezes bots in place when set to 1.0bot_stop 1Yes
bot_zombieBots · Server settingBots stand idle and do not attack.falsebot_zombie 1Yes
bot_dont_shootBots · Server settingBots never fire their weapons.falsebot_dont_shoot 1Yes
bot_freezeBots · Server settingFreezes the bots.falsebot_freeze 1Yes
bot_crouchBots · Server settingMakes the bots crouch.falsebot_crouch 1Yes
bot_placeBots · Server settingPuts a bot where you are pointing.Commandbot_placeYes
bot_join_teamBots · Server settingWhich team new bots join: any, T or CT.anybot_join_team CTNo
bot_chatterBots · Server settingHow much bots talk: off, radio, minimal or normal.normalbot_chatter offNo
cl_showfpsFPS and network · Client settingShows a frame-rate counter at the top of the screen. 1 is frames per second, 2 is a smoothed figure, 3 is server milliseconds, 4 is frames per second and a log to file.0cl_showfps 1No
fps_maxFPS and network · Client settingCaps the frame rate. 0 removes the cap. Valve stopped it being changed while you are connected to a server, so set it before you join.Valve update notes: 14 Aug 2025400fps_max 0No
fps_max_uiFPS and network · Client settingCaps the frame rate in menus and loading screens. 0 removes the cap.Valve update notes: 26 Jun 2024200fps_max_ui 200No
cl_hud_telemetry_serverrecvmargin_graph_showFPS and network · Client settingShows the network graph that replaced the old one. Valve names it as the replacement but publishes no values, so type it alone to see its value, or use the Telemetry section of Game settings.Valve update notes: 16 Feb 2024–cl_hud_telemetry_serverrecvmargin_graph_showNot stated
net_connections_statusFPS and network · Client settingPrints a report on your network connections. Valve says it includes jitter.Valve update notes: 10 Sep 2024Commandnet_connections_statusNot stated
cl_ticktimingFPS and network · Client settingPrints a report that breaks down where latency comes from.Valve update notes: 7 Feb 2024Commandcl_ticktimingNot stated
viewmodel_fovViewmodel · Client settingHow big the weapon looks on screen. It does not change how much of the map you see.60viewmodel_fov 68No
viewmodel_offset_xViewmodel · Client settingSlides the weapon left or right.1viewmodel_offset_x 2.5No
viewmodel_offset_yViewmodel · Client settingMoves the weapon toward or away from you.1viewmodel_offset_y 0No
viewmodel_offset_zViewmodel · Client settingRaises or lowers the weapon.-1viewmodel_offset_z -1.5No
viewmodel_presetposViewmodel · Client settingPicks a built-in weapon position: 1 Desktop, 2 Couch, 3 Classic. Valve deprecated Couch in April 2024.Valve update notes: 25 Apr 20241viewmodel_presetpos 1No
switchhandsleftViewmodel · Client settingPuts the weapon in your left hand.Valve update notes: 23 May 2024CommandswitchhandsleftNot stated
switchhandsrightViewmodel · Client settingPuts the weapon in your right hand.Valve update notes: 23 May 2024CommandswitchhandsrightNot stated
r_drawviewmodelViewmodel · Client settingDraws or hides the weapon model in your view.truer_drawviewmodel 0Yes
fov_cs_debugViewmodel · Client settingSets your field of view. It is the only field-of-view command in Valve's list that is not a viewmodel setting, and it needs cheats.0fov_cs_debug 90Yes
cl_radar_scaleRadar and HUD · Client settingZoom of the radar. Valve gives the range as 0.25 to 1.0.7cl_radar_scale 0.4No
cl_hud_radar_scaleRadar and HUD · Client settingSize of the radar panel on screen.1cl_hud_radar_scale 1.1No
cl_radar_always_centeredRadar and HUD · Client setting1 keeps you in the middle of the radar. 0 lets the radar use its space better, so you sit off-centre near map edges.truecl_radar_always_centered 0No
cl_radar_rotateRadar and HUD · Client settingTurns the radar with your view so up is always where you look.truecl_radar_rotate 1No
cl_radar_icon_scale_minRadar and HUD · Client settingSmallest size of radar icons. Valve gives the range as 0.4 to 1.25.0.6cl_radar_icon_scale_min 0.6No
cl_radar_square_with_scoreboardRadar and HUD · Client settingMakes the radar square while the scoreboard is open.truecl_radar_square_with_scoreboard 1No
cl_drawhudRadar and HUD · Client settingDraws or hides the whole HUD. Cheat-protected.truecl_drawhud 0Yes
cl_drawhud_force_radarRadar and HUD · Client settingKeeps the radar when the HUD is hidden: 1 forces it on, -1 forces it off, 0 is the default behaviour.0cl_drawhud_force_radar 1No
cl_draw_only_deathnoticesRadar and HUD · Client settingDraws only the crosshair and the kill feed. Made for filming.falsecl_draw_only_deathnotices 1No
cl_hud_colorRadar and HUD · Client settingHUD colour: 0 team colour, 1 white, 2 bright white, 3 light blue, 4 blue, 5 purple, 6 red, 7 orange, 8 yellow, 9 green, 10 aqua, 11 pink.Archived setting: the value in the 2023 dump is the dumping machine's own, so no default is shown.–cl_hud_color 3No
hud_scalingRadar and HUD · Client settingScales HUD elements up or down.1hud_scaling 0.9No
safezonexRadar and HUD · Client settingShare of the screen width treated as safe from overscan.1safezonex 1No
safezoneyRadar and HUD · Client settingShare of the screen height treated as safe from overscan.1safezoney 1No
cl_showloadoutRadar and HUD · Client settingShows or hides your current loadout on the HUD.truecl_showloadout 1No
cl_teamid_overhead_modeRadar and HUD · Client settingWhat shows over teammates: 1 pips, 2 pips with name and equipment.2cl_teamid_overhead_mode 2No
cl_teammate_colors_showRadar and HUD · Client settingShows teammates in separate colours on the radar and scoreboard. 2 adds letters.1cl_teammate_colors_show 1No
sv_enablebunnyhoppingBhop and movement · Server settingLets your speed go past the normal running limit while you hop. Valve put the limit back in June 2023.Valve update notes: 1 Jul 2023falsesv_enablebunnyhopping 1No
sv_autobunnyhoppingBhop and movement · Server settingJumps again for you while the jump key is held.falsesv_autobunnyhopping 1No
sv_jump_spam_penalty_timeBhop and movement · Server settingJump presses closer together than this are treated as one. A lower value makes bunny hopping easier.0.015625sv_jump_spam_penalty_time 0.01No
sv_bhop_time_windowBhop and movement · Server settingA jump press inside this window around landing counts as a successful bunny hop. Valve added it in January 2026.Valve update notes: 21 Jan 2026–sv_bhop_time_windowNot stated
sv_legacy_jumpBhop and movement · Server settingBrings back the jump behaviour from before January 2026, on private servers.Valve update notes: 21 Jan 2026–sv_legacy_jump 1Not stated
sv_jump_precision_enableBhop and movement · Server settingServers running custom modes such as surf can use it to opt out of Valve's jump precision changes.Valve update notes: 30 Oct 2024–sv_jump_precision_enableNot stated
sv_airaccelerateBhop and movement · Server settingHow fast you can change direction in the air. This is the main number surf servers change.12sv_airaccelerate 12No
sv_air_max_wishspeedBhop and movement · Server settingLimits the air speed gained from air strafing.30sv_air_max_wishspeed 30No
sv_accelerateBhop and movement · Server settingHow quickly you speed up on the ground.5.5sv_accelerate 5.5No
sv_frictionBhop and movement · Server settingGround friction.5.2sv_friction 5.2No
sv_gravityBhop and movement · Server settingWorld gravity.800sv_gravity 800No
sv_maxspeedBhop and movement · Server settingTop running speed.320sv_maxspeed 320No
sv_maxvelocityBhop and movement · Server settingThe top speed any moving thing can reach on each axis.3500sv_maxvelocity 3500No
sv_jump_impulseBhop and movement · Server settingThe upward speed you leave the ground with when you jump.301.993sv_jump_impulse 301.993No
cl_showposBhop and movement · Client settingPrints your position and speed at the top of the screen. It is cheat-protected in Valve's list.0cl_showpos 1Yes
giveGive and knife · Server settingGives you an item by its entity name, such as weapon_awp. If the weapon needs a slot you have filled, the game drops what you hold; add -keep_gear to drop the new one on the ground instead.Valve's list has no cheat flag on give and no Valve page says either way. Practice guides run it after sv_cheats 1, and the snippets here do the same.Valve update notes: 19 Dec 2024Commandgive weapon_awpNot stated
mp_ct_default_meleeGive and knife · Server settingThe melee weapon Counter-Terrorists spawn with. A knife is always given. Add weapon_taser to give a Zeus too.weapon_knifemp_ct_default_melee "weapon_knife weapon_taser"No
mp_t_default_meleeGive and knife · Server settingThe melee weapon Terrorists spawn with.weapon_knifemp_t_default_melee "weapon_knife weapon_taser"No
mp_weapons_allow_zeusGive and knife · Server settingHow many Zeus purchases a player can make a round. 0 allows none, -1 has no limit.2mp_weapons_allow_zeus 1No
mp_ct_default_secondaryGive and knife · Server settingThe pistol Counter-Terrorists spawn with.weapon_hkp2000mp_ct_default_secondary weapon_hkp2000No
mp_t_default_secondaryGive and knife · Server settingThe pistol Terrorists spawn with.weapon_glockmp_t_default_secondary weapon_glockNo
mp_ct_default_grenadesGive and knife · Server settingGrenades Counter-Terrorists spawn with. Separate several with spaces.0mp_ct_default_grenades "weapon_molotov weapon_hegrenade"No
mp_t_default_grenadesGive and knife · Server settingGrenades Terrorists spawn with. Separate several with spaces.0mp_t_default_grenades "weapon_molotov weapon_hegrenade"No
mp_drop_knife_enableGive and knife · Server settingLets players drop their knife.falsemp_drop_knife_enable 1No
weapon_reticle_knife_showGive and knife · Server settingShows the knife reticle to players.trueweapon_reticle_knife_show 1No

Defaults are the values in Valve's list, taken from build 9832 on 2 Oct 2023. Valve has changed some since; where a Valve update note says so, the new value is used and marked. A blank default means the list shows a command (not a setting), or the value in it is not trustworthy.

ADLeaderboard

How to open the CS2 console

  1. Open Settings, then the Game tab, and set Enable Developer Console to Yes. That switches on con_enable, which is off by default.
  2. Press the console key. On a US keyboard it is the tilde key (~) under Esc. The key is the one bound to toggleconsole.
  3. Type a command and press Enter. Type a command on its own to see its current value.

If the key does nothing, check that the setting above is on and that another action is not using the key. You can also start the game with -console in your launch options. Valve does not allow toggleconsole to be bound to mouse 1.

Commands by job

Tools that write these for you

CS2 console commands FAQ

How do I open the console in CS2?

Turn on Enable Developer Console in Settings, Game, then press the tilde key (~). If it does nothing, add -console to your launch options.

What are the best CS2 console commands?

cl_showfps 1 to see your frame rate, the viewmodel commands to place your weapon, bot_kick with bot_quota 0 to clear bots, and sv_cheats 1 with the mp_ settings for practice. Each has a page above.

Do I need sv_cheats for console commands?

Only for the ones Valve flags as cheat-protected. The Cheats column shows which. Commands for settings such as the viewmodel, radar and frame cap need none. Cheats cannot be turned on in matchmaking.

Where does my CS2 config go?

In the game/csgo/cfg folder inside the Counter-Strike 2 install folder. Run a file in it from the console with exec and the file name, without .cfg.

Why does a command print unknown command?

Either it needs sv_cheats 1, it only exists on a server you host, or Valve removed it. Old CS:GO commands such as net_graph and cl_righthand are not in Valve's CS2 list.

How accurate are the defaults?

They come from Valve's list taken at build 9832 on 2 Oct 2023. Where a Valve update note changes one, the new value is used and linked. A blank default means the entry is a command, or the 2023 value was not trustworthy.

Commands, defaults and flags come from Valve's command list on the Valve Developer Community wiki (build 9832, 2 Oct 2023). Changes since come from Valve's Counter-Strike 2 update notes (used here: 1 Jul 2023, 7 Feb 2024, 16 Feb 2024, 25 Apr 2024, 23 May 2024, 26 Jun 2024, 19 Aug 2024, 10 Sep 2024, 30 Oct 2024, 19 Dec 2024, 14 Aug 2025, 21 Jan 2026). Checked 24 Nov 2026.