CS2 Console Commands
The commands worth knowing, with what they do, their default and their limits. Every one is checked against the game's own command list as of 2 October 2026, so nothing here is from CS:GO and no longer works.
Before you start
- In CS2, go to Settings > Game and set Enable Developer Console to Yes.
- Press the key under Esc, left of 1 (
`or~on a US keyboard). The console opens. - Click Copy on any command below, paste it into the console and press Enter.
New to the console? Start with cl_showfps, fps_max, viewmodel_presetpos, sv_cheats, noclip, bot_kick, cl_radar_scale, bind.
Search every command
All 2,815 commands and settings players can use, with the game's own descriptions (in English, as the game has them). Developer-only commands are left out because they don't work in the released game.
Practice config, no bots
Start a practice match (Play > Practice), open the console and paste this in. $60,000 to spend every round, unlimited ammo, hour-long rounds, buy anywhere, grenade previews and no bots.
Copies as one line, ready to paste.
sv_cheats 1 mp_warmup_end mp_limitteams 0 mp_autoteambalance 0 mp_freezetime 0 mp_roundtime 60 mp_roundtime_defuse 60 mp_roundtime_hostage 60 mp_round_restart_delay 0 mp_buy_anywhere 1 mp_buytime 9999 mp_maxmoney 60000 mp_startmoney 60000 mp_afterroundmoney 60000 sv_infinite_ammo 1 ammo_grenade_limit_total 5 sv_grenade_trajectory_prac_pipreview 1 sv_grenade_trajectory_prac_trailtime 8 sv_showimpacts 1 bot_kick all mp_restartgame 1
Practice config with bots
Start a practice match (Play > Practice), open the console and paste this in. The same, plus 5 Terrorist bots that stand still and don't shoot, for aim practice. Join the Counter-Terrorists. Drop the last two lines for bots that fight back.
Copies as one line, ready to paste.
sv_cheats 1 mp_warmup_end mp_limitteams 0 mp_autoteambalance 0 mp_freezetime 0 mp_roundtime 60 mp_roundtime_defuse 60 mp_roundtime_hostage 60 mp_round_restart_delay 0 mp_buy_anywhere 1 mp_buytime 9999 mp_maxmoney 60000 mp_startmoney 60000 mp_afterroundmoney 60000 sv_infinite_ammo 1 ammo_grenade_limit_total 5 sv_grenade_trajectory_prac_pipreview 1 sv_grenade_trajectory_prac_trailtime 8 sv_showimpacts 1 bot_kick all mp_restartgame 1 bot_difficulty 2 bot_add_t bot_add_t bot_add_t bot_add_t bot_add_t bot_stop 1 bot_dont_shoot 1
Practice commands
For a private practice match or your own server. Cards marked "needs sv_cheats" only work after sv_cheats 1.
mp_warmup_end#Ends warmup straight away.
mp_roundtime 60#Round length in minutes (up to 60) wherever the bomb or hostage round time is 0, such as many workshop maps.
default 5, 0.1 to 60
mp_ignore_round_win_conditions 1#Rounds don't end when a team wins them, for example when every bot is dead.
default 0 (off)
mp_autoteambalance 0#0 stops the game moving players to the other team to even the teams out.
default 1 (on)
mp_limitteams 0#How many more players one team can have than the other. 0 = no limit.
default 2, 0 to 30
give weapon_ak47#Gives you an item by its game name in a game you host, for example weapon_ak47, weapon_awp, weapon_deagle or weapon_m4a1_silencer.
sv_grenade_trajectory_prac_pipreview 1#Shows a small window of where your grenade will land while you aim it.
default 0 (off)
sv_grenade_trajectory_prac_trailtime 8#Draws a thrown grenade's path for this many seconds (up to 8).
default 0, 0 to 8
sv_rethrow_last_grenadeneeds sv_cheats#Throws your last grenade again from the same spot.
noclipneeds sv_cheats#Fly through walls. Run it again to turn it off.
godneeds sv_cheats#You can't take damage.
killneeds sv_cheats#Kills your own player.
Bot commands
Add, remove and control bots in a practice match. Cards marked "needs sv_cheats" only work after sv_cheats 1; the others work in any game you host.
bot_kick all#Removes bots: all of them, one team (t or ct) or one by name.
bot_add_t#Adds a Terrorist bot.
bot_add_ct#Adds a Counter-Terrorist bot.
bot_placeneeds sv_cheats#Puts a bot where you're aiming, handy for practising angles.
bot_kill allneeds sv_cheats#Kills bots: all of them, one team (t or ct) or one by name.
Crosshair
The crosshair settings, saved to your config. A crosshair share code sets all of them at once. Build one with a live preview in our crosshair generator.
cl_crosshairstyle 4#Crosshair style, for example 4 = static cross, 5 = static with shot feedback, 6 = dot only.
default 7, 0 to 9
cl_crosshair_length 8#Length of each line. Older guides call this cl_crosshairsize, which isn't in the game's command list any more.
default 8, 0 to 255
cl_crosshaircolor_r 0#Red part of the colour (0 to 255). Set _g and _b the same way.
default 0, 0 to 255
Mouse and sound
Sensitivity and volume, saved to your config. Bring your sensitivity over from another game with our sensitivity converter.
FPS and network
CS2 has no net_graph: the HUD telemetry settings below replace it, and you can also find them under Settings > Game > Telemetry.
cl_hud_telemetry_frametime_show 2#Frame rate in the HUD: 0 never, 1 only when poor, 2 always.
default 1
cl_hud_telemetry_net_misdelivery_show 2#Shows the share of your inputs and the server's updates lost on the way.
default 1
cl_hud_telemetry_net_quality_graph_show 2#Graph of packet jitter and lost or reordered packets.
default 0
cl_ticktiming print#Prints a breakdown of where your latency comes from.
Viewmodel (gun position)
Where your weapon sits on screen (the viewmodel). These are saved to your config, so you only set them once. Preview the settings before you copy them in our viewmodel generator.
Radar and HUD
Make the radar and HUD easier to read, or hide them for clips and screenshots.
cl_radar_scale 0.4#Radar zoom: how much of the map fits inside the radar (0.25 to 1). Lower shows more of the map.
default 0.7, 0.25 to 1
cl_hud_radar_scale 1.15#Size of the radar box on screen (0.8 to 1.3). It doesn't change the zoom.
default 1, 0.8 to 1.3
cl_radar_always_centered 0#0 = the radar shows as much of the map as it can instead of keeping you in the middle.
default 1 (on)
cl_radar_square_with_scoreboard 1#Radar turns square, with the whole map, while the scoreboard is open.
default 1 (on)
cl_radar_icon_scale_min 1#Smallest size for player icons on the radar (0.4 to 1.25).
default 0.6, 0.4 to 1.25
cl_teamid_overhead_mode 3#What shows above teammates: 1 pips, 2 plus name, 3 plus equipment.
default 3
cl_draw_only_deathnotices 1#Hides the HUD except the crosshair and the kill feed, for clips.
default 0 (off)
r_show_build_info 0#The build text in the corner of the screen; Valve asks you to keep it on in bug reports.
default 1 (on)
Demos and servers
Watch demos (match recordings), load maps and set up a server.
playdemo mydemo#Plays a demo file.
demoui#Shows or hides the demo controls.
demo_timescale 2#Demo playback speed (1 is normal).
demo_gototick 5000#Jumps to a tick (moment) in the demo.
demo_pause#Pauses the demo.
demo_resume#Resumes the demo.
record mydemoneeds sv_cheats#Records a demo of the game you're in.
stop#Stops recording.
map de_mirage#Loads a map, starting a local game.
changelevel de_inferno#Changes the map on a server you're running.
connect 127.0.0.1:27015#Joins a server by its address.
disconnect#Leaves the server.
status#Shows the server you're on and its players.
quit#Closes CS2.
Other useful commands
Binds, configs and quality of life.
bind f "+lookatweapon"#Binds a key to a command.
unbind f#Removes a key's bind.
unbindall#Removes every bind, including movement. Only use it if you'll set them all again.
exec practice#Runs a config file from your cfg folder.
host_writeconfig#Saves your current settings to your config.
alias#Makes a new command that runs others.
clear#Clears the console.
122 commands explained here; search above for the other 2,693.
Commands, defaults and limits come from the game files as published by SteamDB's CS2 game tracking (our copy: 2 October 2026); rule changes from Valve's update notes. See which launch options Valve still supports, copy a pro's settings from our CS2 pro settings, or compare CS2 skin trading sites.
FAQ
- How do I open the console in CS2?
- Go to Settings > Game and set Enable Developer Console to Yes. Then press the key under Esc, left of 1 (` or ~ on a US keyboard) to open it.
- Why does a command say it needs sv_cheats?
- The game flags it as a cheat command, so it only works after sv_cheats 1, which you can only turn on in a game you host, such as a practice match or a private server. That includes some you might not expect, such as kill, host_timescale, cl_showpos and bot_place. They never work in matchmaking or on FACEIT (a third-party matchmaking service).
- How do I make my commands stick?
- Put them in a text file called autoexec.cfg in your cfg folder (Counter-Strike Global Offensive/game/csgo/cfg in your Steam library) and add +exec autoexec to your launch options. CS2 then runs the file every time it starts.
- Is there a net_graph in CS2?
- No. CS2 removed net_graph. Use the HUD telemetry settings instead (cl_hud_telemetry_frametime_show, cl_hud_telemetry_ping_show and the network graphs), or turn them on under Settings > Game > Telemetry.
- What replaced cl_crosshairsize?
- cl_crosshair_length sets the length of each crosshair line. cl_crosshairsize isn't in CS2's command list any more, so older guides that use it don't work.
- Do jump throw binds still work?
- No. Since 19 August 2024, binds that do more than one movement or attack action at once no longer work, which includes jump throw and null binds (binds that cancel the opposite movement key). Valve made jump throws reliable without a bind instead: jump and throw quickly.
- How do I save a practice config?
- Paste the practice commands into a text file called practice.cfg in the same cfg folder, then type exec practice in the console after starting a practice match.
More free tools
- Config & launch optionsBuild an autoexec, binds and launch options, ready to paste.
- Viewmodel generatorPreview viewmodel settings and copy the console commands.
- Crosshair generator & codesBuild a crosshair with a live preview, or copy a pro's share code.
- Sensitivity converterConvert your sens between CS2, Valorant, Apex, Fortnite, Overwatch 2, Rust and more.
- eDPI calculatorYour eDPI and cm/360, compared with the pros.