BETREF$

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

  1. In CS2, go to Settings > Game and set Enable Developer Console to Yes.
  2. Press the key under Esc, left of 1 (` or ~ on a US keyboard). The console opens.
  3. 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.

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.

  • sv_cheats 1#

    Turns on cheat commands for the server you're hosting.

    default 0 (off)

  • mp_warmup_end#

    Ends warmup straight away.

  • mp_restartgame 1#

    Restarts the match after this many seconds: 1 restarts it in one second.

    default 0

  • mp_roundtime_defuse 60#

    Round length in minutes on bomb maps (up to 60).

    default 0, 0 to 60

  • 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_freezetime 0#

    Seconds you're frozen at the start of each round.

    default 6, 0 to 60

  • mp_round_restart_delay 0#

    Seconds before the next round starts after one ends.

    default 7, min 0

  • 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_buy_anywhere 1#

    Lets you buy outside the buy zone (1 = both teams).

    default 0

  • mp_buytime 9999#

    Seconds after the round starts that you can still buy.

    default 90, min 0

  • mp_maxmoney 60000#

    Most money a player can hold.

    default 16000, min 0

  • mp_startmoney 60000#

    Money each player starts with.

    default 800, min 0

  • mp_afterroundmoney 60000#

    Money every player gets after each round, so you don't run out.

    default 0

  • 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.

  • mp_drop_knife_enable 1#

    Lets players drop their knife.

    default 0 (off)

  • sv_infinite_ammo 1needs sv_cheats#

    Your weapon never runs out of ammo.

    default 0

  • ammo_grenade_limit_total 5#

    How many grenades you can carry in total.

    default 3

  • 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.

  • sv_showimpacts 1#

    Marks where your bullets hit (1 = client and server).

    default 0

  • sv_showbullethits 1#

    Shows your hits and near misses on players (1), or hits only (2).

    default 0

  • noclipneeds sv_cheats#

    Fly through walls. Run it again to turn it off.

  • sv_noclipspeed 1200#

    How fast you fly with noclip.

    default 1200

  • godneeds sv_cheats#

    You can't take damage.

  • buddha 1needs sv_cheats#

    You take damage but can't die.

    default 0 (off)

  • sv_regeneration_force_on 1needs sv_cheats#

    Your health refills over time.

    default 0 (off)

  • killneeds sv_cheats#

    Kills your own player.

  • mp_respawn_on_death_ct 1#

    Counter-Terrorists respawn after dying.

    default 0 (off)

  • mp_respawn_on_death_t 1#

    Terrorists respawn after dying.

    default 0 (off)

  • host_timescale 0.5needs sv_cheats#

    Speeds the game up or slows it down (1 is normal).

    default 1

  • cl_showpos 1needs sv_cheats#

    Shows your position and angles at the top of the screen.

    default 0

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_quota 5#

    How many bots the server keeps in the game.

    default 10

  • bot_difficulty 3#

    Skill of new bots: 0 easy, 1 normal, 2 hard, 3 expert.

    default 1

  • bot_stop 1needs sv_cheats#

    Bots stop and stand still.

    default 0

  • bot_freeze 1needs sv_cheats#

    Bots can't move.

    default 0 (off)

  • bot_dont_shoot 1needs sv_cheats#

    Bots don't fire their weapons.

    default 0 (off)

  • bot_zombie 1needs sv_cheats#

    Bots stay idle and don't attack.

    default 0 (off)

  • bot_crouch 1needs sv_cheats#

    Bots crouch.

    default 0 (off)

  • bot_placeneeds sv_cheats#

    Puts a bot where you're aiming, handy for practising angles.

  • bot_mimic 1needs sv_cheats#

    Bots copy your movement and actions (1 = copy player 1).

    default 0

  • 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_crosshair_gap 4#

    Space between the centre and the lines.

    default 4, -3840 to 3840

  • cl_crosshair_thickness 2#

    Thickness of the lines.

    default 2, 0 to 32

  • cl_crosshairdot 1#

    Adds a dot in the centre.

    default 0 (off)

  • cl_crosshair_t 1#

    T-style: hides the top line.

    default 0 (off)

  • cl_crosshair_drawoutline 1#

    Black outline: 0 none, 1 full, 2 half.

    default 1, 0 to 2

  • cl_crosshaircolor_r 0#

    Red part of the colour (0 to 255). Set _g and _b the same way.

    default 0, 0 to 255

  • cl_crosshaircolor_g 255#

    Green part of the colour (0 to 255).

    default 255, 0 to 255

  • cl_crosshaircolor_b 0#

    Blue part of the colour (0 to 255).

    default 0, 0 to 255

  • cl_crosshair_recoil 0#

    The crosshair follows your weapon's recoil.

    default 1 (on)

Mouse and sound

Sensitivity and volume, saved to your config. Bring your sensitivity over from another game with our sensitivity converter.

  • sensitivity 1.25#

    Mouse sensitivity.

    default 1.25, 0.0001 to 8

  • zoom_sensitivity_ratio 1#

    Extra sensitivity factor while scoped in.

    default 1, 0.01 to 3

  • m_yaw 0.022#

    How far a sideways mouse movement turns you.

    default 0.022

  • volume 0.5#

    Master volume (0 to 1).

    default 1, 0 to 1

  • snd_voipvolume 1#

    Voice chat volume (0 to 2).

    default 1, 0 to 2

  • snd_menumusic_volume 0#

    Menu music volume (0 to 1).

    default 0.04, 0 to 1

  • snd_mvp_volume 0#

    MVP music volume (0 to 1).

    default 0.16, 0 to 1

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_showfps 1#

    Shows your frame rate at the top of the screen (1 = fps, 2 = smoothed).

    default 0

  • cl_hud_telemetry_frametime_show 2#

    Frame rate in the HUD: 0 never, 1 only when poor, 2 always.

    default 1

  • cl_hud_telemetry_ping_show 2#

    Ping 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

  • fps_max 0#

    Frame rate cap. 0 = no limit.

    default 120

  • cl_ticktiming print#

    Prints a breakdown of where your latency comes from.

  • r_fullscreen_gamma 2.2#

    Screen gamma, only in fullscreen (1 to 4).

    default 2.2, 1 to 4

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.

  • viewmodel_fov 68#

    How wide the weapon view is (60 to 68).

    default 60, 60 to 68

  • viewmodel_offset_x 2.5#

    Moves the weapon left or right (-2 to 2.5).

    default 1, -2 to 2.5

  • viewmodel_offset_y 0#

    Moves the weapon forward or back (-2 to 2).

    default 1, -2 to 2

  • viewmodel_offset_z -1.5#

    Moves the weapon up or down (-2 to 2).

    default -1, -2 to 2

  • viewmodel_presetpos 2#

    Preset positions: 1 Desktop, 2 Classic.

    default 1

  • switchhandsleft#

    Holds your weapon in your left hand.

  • switchhandsright#

    Holds your weapon in your right hand.

  • switchhands#

    Swaps hands. Bind it to a key to switch mid-round.

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_rotate 1#

    Whether the radar turns with you.

    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_hud_color 1#

    HUD colour: 0 team colour, 1 white, 6 red, 9 green and more.

    default 0

  • cl_teamid_overhead_mode 3#

    What shows above teammates: 1 pips, 2 plus name, 3 plus equipment.

    default 3

  • cl_showloadout 1#

    Always show your weapons on the right of the screen.

    default 1 (on)

  • cl_draw_only_deathnotices 1#

    Hides the HUD except the crosshair and the kill feed, for clips.

    default 0 (off)

  • cl_drawhud 0needs sv_cheats#

    0 hides the whole HUD.

    default 1 (on)

  • r_drawviewmodel 0needs sv_cheats#

    0 hides your weapon.

    default 1 (on)

  • 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.

  • mp_c4timer 40#

    Seconds from bomb plant to explosion (at least 10).

    default 40, min 10

  • mp_teammates_are_enemies 1#

    Everyone can damage everyone, teammates included.

    default 0 (off)

  • sv_autobunnyhopping 1#

    Jumps again automatically while you hold jump.

    default 0 (off)

  • sv_enablebunnyhopping 1#

    Lets jump speed go past the normal cap.

    default 0 (off)

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.

  • cl_use_opens_buy_menu 1#

    Your use key also opens the buy menu in a buy zone.

    default 0 (off)

  • cl_mute_enemy_team 1#

    Blocks voice and chat from the enemy team.

    default 0 (off)

  • cl_mute_all_but_friends_and_party 1#

    Only hear friends and your party.

    default 0

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

All tools →