CS2 console codes; It can be used to track FPS and connection data, edit the radar, customize the reticle, and set up a private training server. With the right commands, you can also bind functions such as jumping, changing hands, or re-throwing the last bomb to a single button.
However, not every command from the CS:GO era works in Counter-Strike 2. With the move to Source 2, the net_graph, cl_righthand and old grenade trajectory commands have been removed or replaced. This guide focuses on current equivalents used in CS2 rather than rehashing old lists.
Most Used CS2 Console Codes
Here are the basic commands you can get started quickly:
| command | What does it do? | Where does it work? |
|---|---|---|
cl_showfps 1 | Shows basic FPS counter on screen. | All modes |
fps_max 400 | It sets the in-game FPS upper limit to 400. | All modes |
cl_hud_telemetry_ping_show 2 | It constantly shows the ping value. | All modes |
sensitivity 1.5 | Adjusts mouse sensitivity. | All modes |
volume 0.5 | Sets the main volume to 50 percent. | All modes |
cl_radar_scale 0.4 | Shows more of the map by zooming out the radar. | All modes |
bind "mwheeldown" "+jump" | Links jumping to the mouse wheel down direction. | All modes |
switchhands | Switches the weapon between right and left hand. | All modes |
sv_cheats 1 | Unlocks protected training commands on a private server. | Local/dedicated server |
noclip | Toggles flying freely on the map on or off. | sv_cheats 1 required |
bot_kick | Removes bots from the server. | Local/dedicated server |
sv_rethrow_last_grenade | He throws the last bomb again in the same way. | sv_cheats 1 required |
The example values next to the commands are not mandatory. For example, you can write your own sensitivity instead of sensitivity 1.5, and the limit appropriate to your system instead of fps_max 400.
How to Open Console in CS2?
The developer console may be off by default. To turn it on, follow these steps:
- Open CS2 and enter the Settings menu.
- Open the Game tab.
- Set Enable Developer Console (~) to Yes.
- After entering the match, press
~. - Type the command and run it with the Enter key.
If the ~ key does not open the console on the Turkish keyboard layout, you can assign a different key to the On/Off Console action from the keyboard settings. Adding -console to the Steam launch options can also help show the console on game launch; But for normal use, it is enough to activate the in-game setting.
If you want to enter more than one command into the console at the same time, you can put a semicolon between them:
cl_showfps 1; cl_hud_telemetry_ping_show 2; fps_max 400Are Console Commands Safe?
Standard commands written into the game's own developer console do not cause a VAC ban. Client settings such as radar scale, audio volume, reticle, viewmodel and keybinds can be used in competitive matches.
Commands that require sv_cheats 1, such as noclip, god, or give, cannot be enabled on Valve's official matchmaking servers. These only work on the map you created yourself or on the private server for which you have the necessary authority. Trying to bypass these restrictions with third-party software is completely different from using a console command and puts your account at risk.
If a command is not working, type help command_name in the console. You can use find kelime to find similar commands, and cvarlist to see all available commands.
| help command | Function |
|---|---|
help fps_max | Shows the command's description and current value. |
find radar | Lists commands that contain "radar" in their name or description. |
cvarlist | Lists console commands and variables in the current build. |
differences | Shows variables that differ from their default value. |
clear | Clears old output from the console screen. |
CS2 FPS, Ping and Telemetry Codes
The legacy net_graph 1 command is not available in CS2. New telemetry variables are used for FPS, ping and network issues. 0 means never show, 1 means only show when conditions are bad, and 2 means always show.
| command | Description | sample value |
|---|---|---|
cl_showfps 1 | Turns on the simple FPS counter. | 1 |
cl_showfps 2 | Shows more smoothed FPS measurement. | 2 |
fps_max 0 | Removes the in-game FPS limit. | 0 |
fps_max 400 | It keeps the FPS value at a certain upper limit. | 400 |
fps_max_ui 120 | Sets the FPS limit in the main menu and game interface. | 120 |
cl_hud_telemetry_frametime_show 2 | It constantly displays FPS and frame time information. | 0 / 1 / 2 |
cl_hud_telemetry_ping_show 2 | It constantly shows the ping value. | 0 / 1 / 2 |
cl_hud_telemetry_net_misdelivery_show 2 | Shows the missed user command and server snapshot rate. | 0 / 1 / 2 |
r_drawtracers_firstperson 0 | First person covers bullet marks. | 0 / 1 |
fps_max 0 does not guarantee to produce more FPS; it just removes the limit. If your system gets hot, power consumption increases, or frame times become unstable, a hard cap may feel better. Try the settings one by one instead of copying long command packages that claim to increase FPS all at once.
Radar and HUD Commands
The purpose of radar settings is to be able to read teammates and a large part of the map rather than seeing your own location. The following values are the starting point; You can change it according to resolution and screen size.
| command | Description | Usage example |
|---|---|---|
cl_hud_radar_scale | Adjusts the size of the radar panel within the HUD. | cl_hud_radar_scale 1.1 |
cl_radar_always_centered | When it is 0, it does not keep the player in the center all the time and uses the space more efficiently. | cl_radar_always_centered 0 |
cl_radar_scale | Adjusts the radar's map zoom. A lower value indicates a larger area. | cl_radar_scale 0.4 |
cl_radar_icon_scale_min | Determines the minimum size of player icons. | cl_radar_icon_scale_min 0.6 |
cl_radar_rotate | When 1, the radar rotates with your viewing direction. | cl_radar_rotate 1 |
cl_radar_square_with_scoreboard | Squares the radar when the scoreboard is open. | cl_radar_square_with_scoreboard 1 |
cl_hud_color | Changes HUD color. | cl_hud_color 10 |
cl_teamid_overhead_mode | Edits the name and equipment information on teammates. | cl_teamid_overhead_mode 3 |
cl_showloadout | Shows or hides the available equipment list. | cl_showloadout 1 |
cl_draw_only_deathnotices | It leaves only crosshairs and kill feed for content production. | cl_draw_only_deathnotices 1 |
toggle can be used to change the radar zoom with one button:
bind "mouse5" "toggle cl_radar_scale 0.4 0.8"Reticle and Viewmodel Commands
Reticle commands do not automatically improve aiming ability; but it creates a consistent view that allows you to follow the target more easily.
| command | Description | Usage example |
|---|---|---|
cl_crosshairstyle | Determines the reticle style. 4 is the classic static style. | cl_crosshairstyle 4 |
cl_crosshairsize | Adjusts the length of lines. | cl_crosshairsize 2.5 |
cl_crosshairthickness | Adjusts the thickness of the lines. | cl_crosshairthickness 0.5 |
cl_crosshairgap | Adjusts the spacing at the center. | cl_crosshairgap -2 |
cl_crosshairdot | Turns the center point on or off. | cl_crosshairdot 0 |
cl_crosshair_drawoutline | Opens the outline around the reticle. | cl_crosshair_drawoutline 1 |
cl_crosshair_outlinethickness | Sets the outline thickness. | cl_crosshair_outlinethickness 1 |
cl_crosshairalpha | Sets the reticle opacity between 0-255. | cl_crosshairalpha 255 |
cl_crosshaircolor | Ready color chooses; 5 uses custom RGB values. | cl_crosshaircolor 5 |
cl_crosshaircolor_r/g/b | Sets custom red, green, and blue values. | cl_crosshaircolor_g 255 |
cl_crosshair_recoil | It allows the sight to move with recoil. | cl_crosshair_recoil 1 |
The viewmodel determines where the weapon appears on the screen. Values written outside the allowed limits are pulled into the valid range by the game.
| command | valid range | Usage example |
|---|---|---|
viewmodel_fov | 54-68 | viewmodel_fov 68 |
viewmodel_offset_x | -2 ile 2.5 | viewmodel_offset_x 2.5 |
viewmodel_offset_y | -2 ile 2 | viewmodel_offset_y 0 |
viewmodel_offset_z | -2 ile 2 | viewmodel_offset_z -1.5 |
switchhands | open/close | switchhands |
cl_prefer_lefthanded | 0 / 1 | cl_prefer_lefthanded 1 |
Instead of cl_righthand 0 in CS:GO, switchhands is used for instant switching in CS2. For example, you can assign a handover function to the H key with the bind "h" "switchhands" command.
Mouse, Voice and Communication Commands
| command | Description | Usage example |
|---|---|---|
sensitivity | Adjusts normal mouse sensitivity. | sensitivity 1.4 |
zoom_sensitivity_ratio | Determines the sensitivity multiplier when the scope is on. | zoom_sensitivity_ratio 1 |
volume | Adjusts overall game audio between 0-1. | volume 0.55 |
snd_voipvolume | Adjusts teammates' volume from 0-2. | snd_voipvolume 0.7 |
voice_modenable | Turns voice communication on or off. | voice_modenable 1 |
snd_mute_losefocus | Mutes the sound when the game is placed in the background. | snd_mute_losefocus 1 |
cl_mute_enemy_team | It blocks the opposing team's written and voice communication. | cl_mute_enemy_team 1 |
cl_mute_all_but_friends_and_party | Allows only friend and party communication. | cl_mute_all_but_friends_and_party 2 |
It is more correct to use snd_voipvolume for team sound in the current CS2 build, instead of voice_scale in the old guides. The old m_rawinput 1 command on the mouse side is also not a necessary setting in CS2.
CS2 Bind Codes
bind assigns a command or action to a key. unbind is used to completely separate the key from its former function, and key_listboundkeys is used to see the current assignments.
| command | Function |
|---|---|
bind "mwheeldown" "+jump" | Mouse wheel jumps downwards. |
bind "mwheelup" "+jump" | Mouse wheel bounces up. |
bind "v" "+voicerecord" | Turns on the microphone while holding down the V key. |
bind "mouse4" "player_ping" | Assigns a ping function to the mouse side button. |
bind "h" "switchhands" | Changes weapon hand with H key. |
bind "f" "+lookatweapon" | Runs the weapon inspection animation with the F key. |
bind "j" "sv_rethrow_last_grenade" | He throws the last bomb again with the J key. It only works in training. |
bind "n" "noclip" | Turns flight mode on and off with the N key. It requires sv_cheats 1. |
bind "f10" "exec practice" | Runs the practice.cfg file with the F10 key. |
unbind "h" | Removes the current task on the H key. |
key_listboundkeys | It lists the assigned keys on the console. |
key_findbinding "+jump" | Finds which keys the jump command is bound to. |
Before typing a new bind on a key, check the current function of that key. In particular, E, F, G, number keys and mouse side keys may already have a used function.

CS2 Training and Special Server Codes
These commands are used to work on the grenade lineup, spray and position on the map you have created. First start a practice map from the main menu or enter a map command such as map de_mirage into the console.
| command | Description |
|---|---|
sv_cheats 1 | Enables protected training commands. |
mp_limitteams 0 | Removes the player difference limit between teams. |
mp_autoteambalance 0 | Turns off automatic tool balancing. |
mp_maxmoney 60000 | Makes the maximum coin limit 60,000. |
mp_startmoney 60000 | Makes the starting money 60,000. |
mp_freezetime 0 | Removes the cooldown at the beginning of the round. |
mp_buytime 9999 | It makes the purchasing time very long. |
mp_buy_anywhere 1 | It allows shopping from anywhere on the map. |
mp_roundtime_defuse 60 | Makes the round duration 60 minutes on bomb disposal maps. |
sv_infinite_ammo 1 | It allows you to fire without running out of magazine and ammunition. |
sv_infinite_ammo 2 | Makes spare ammo unlimited; It is necessary to change the magazine. |
ammo_grenade_limit_total 5 | Increases the total number of bombs that can be carried at once. |
mp_warmup_end | It ends the warm-up instantly. |
mp_restartgame 1 | Restarts the match after one second. |
noclip | Enables flying and passing through walls on the map. |
god | Turns taking no damage on or off. |
Bomb Workout Codes
CS2 has new trajectory commands for practice, replacing the old sv_grenade_trajectory 1.
| command | Description |
|---|---|
sv_grenade_trajectory_prac_pipreview 1 | Shows the result of the thrown bomb in a small preview window. |
sv_grenade_trajectory_prac_trailtime 8 | Keeps bomb trajectory visible for eight seconds. |
sv_rethrow_last_grenade | He throws the last bomb again at the same position and angle. |
cl_sim_grenade_trajectory 8 | It plots the estimated path of the bomb in hand from the current angle in eight seconds. |
sv_showimpacts 1 | Shows client and server bullet impact points. |
sv_showimpacts 2 | It only shows client-side crash points. |
sv_showimpacts 3 | It only shows server-side crash points. |
sv_showimpacts_time 10 | Keeps multiplication marks visible for ten seconds. |
The picture-in-picture preview doesn't just show where the bomb landed; It also makes it easier for you to stay in the starting position while controlling the area where the smoke opens. Binding the command to re-throw the last bomb to a button is useful for repeatedly testing different defensive positions against the same lineup.
Bot Commands
| command | Description |
|---|---|
bot_add | Adds a bot to the server. |
bot_add_ct | Adds bots to CT team. |
bot_add_t | Adds boots to the T team. |
bot_kick | Removes all bots from the server. |
bot_kill | Kills all bots for the current round. |
bot_stop 1 | Stops the movement of bots. |
bot_stop 0 | Allows bots to move again. |
bot_place | Positions a boat where the reticle is pointing. |
bot_crouch 1 | Allows bots to crouch. |
bot_dont_shoot 1 | Prevents bots from shooting. |
bot_mimic 1 | It allows the bot to imitate the player's movement commands. |
bot_mimic_yaw_offset 0 | Adjusts the difference in direction the bot faces when imitating. |
Behavior commands such as bot_place, bot_stop, bot_crouch and bot_mimic may require sv_cheats 1 in the specific practice environment. To put the boat at a certain angle and peek, you can first use bot_stop 1 and then use bot_place at the point you are looking at.
Gun, Pistol and Bomb Giving Codes
give commands run on the dedicated server where sv_cheats 1 is turned on. If the weapon falls to the ground, you can drop your current equipment and try again.
Rifle and Heavy Weapons Codes
| command | Given weapon |
|---|---|
give weapon_ak47 | AK-47 |
give weapon_m4a1 | M4A4 |
give weapon_m4a1_silencer | M4A1-S |
give weapon_awp | AWP |
give weapon_ssg08 | SSG 08 |
give weapon_aug | AUG |
give weapon_sg556 | SG 553 |
give weapon_famas | FAMAS |
give weapon_galilar | Galil A.R. |
give weapon_negev | Negev |
give weapon_xm1014 | XM1014 |
Pistol Codes
| command | Supplied pistol |
|---|---|
give weapon_deagle | desert eagle |
give weapon_glock | Glock-18 |
give weapon_usp_silencer | USP-S |
give weapon_hkp2000 | P2000 |
give weapon_p250 | P250 |
give weapon_fiveseven | Five-SevenN |
give weapon_tec9 | Tec-9 |
give weapon_cz75a | CZ75-Auto |
give weapon_elite | Dual Berettas |
give weapon_revolver | R8 Revolver |
Bomb and Equipment Codes
| command | Equipment supplied |
|---|---|
give weapon_smokegrenade | smoke grenade |
give weapon_flashbang | flashbang |
give weapon_hegrenade | HE grenade |
give weapon_molotov | Molotov |
give weapon_incgrenade | Incendiary grenade |
give weapon_decoy | Decoy grenade |
give weapon_c4 | C4 |
give item_assaultsuit | kevlar and helmet |
give item_kevlar | Kevlar |
give item_defuser | defuse kit |
A significant portion of the knife commands in old CS:GO lists, such as give weapon_knife_karambit, do not work directly the same in CS2. Since knife tests depend on the current item definition and subclass_change structure, they may vary depending on the game update.
Map, Server and Match Commands
| command | Description | example |
|---|---|---|
map | Loads the specified map on the local server. | map de_dust2 |
changelevel | Changes the map on the open server. | changelevel de_mirage |
disconnect | Leaves the current server. | disconnect |
status | Prints server, connection and player information to the console. | status |
mp_maxrounds | Determines the maximum number of rounds in the match. | mp_maxrounds 24 |
mp_halftime | Turns the circuit on or off. | mp_halftime 1 |
mp_friendlyfire | Enables or disables team damage. | mp_friendlyfire 1 |
mp_teammates_are_enemies | He establishes the FFA order by considering his teammates as enemies. | mp_teammates_are_enemies 1 |
mp_respawn_on_death_ct | Allows CT players to respawn upon death. | mp_respawn_on_death_ct 1 |
mp_respawn_on_death_t | Allows T players to respawn upon death. | mp_respawn_on_death_t 1 |
Use the file code when writing the map name. For example, de_dust2 is written for Dust II, de_mirage for Mirage, de_inferno for Inferno, de_nuke for Nuke, de_ancient for Ancient and de_anubis for Anubis.
Demo and Audience Commands
| command | Description |
|---|---|
playdemo dosya_adi | Plays the specified .dem recording. |
demoui | Opens or closes the demo control panel. |
demo_pause | Pauses demo playback. |
demo_resume | Resumes the paused demo. |
demo_togglepause | Switches between pause and resume with a single command. |
demo_timescale 0.5 | Plays the demo at half speed. |
demo_timescale 2 | Plays the demo at double speed. |
spec_show_xray 1 | Shows player outlines allowed in spectator mode. |
cl_draw_only_deathnotices 1 | Hides most of the interface when recording video. |
spec_show_xray visibility is limited by the team and game mode you follow. This command does not allow you to see opponents behind the wall in live competitive matches.

How to Create CS2 Autoexec and Practice CFG?
You can add the commands you use regularly to the autoexec.cfg file instead of retyping them at every startup. The common folder path in Windows is:
C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfgCreate a plain text file named autoexec.cfg in this folder. Note that the file is not autoexec.cfg.txt by mistake. You can write your personal settings in it, one command per line:
fps_max 400
fps_max_ui 120
cl_radar_always_centered 0
cl_radar_scale 0.4
cl_radar_icon_scale_min 0.6
bind "mwheeldown" "+jump"
bind "h" "switchhands"
host_writeconfigIt's more organized to keep only the settings to be used in the workout in a separate file called practice.cfg:
sv_cheats 1
mp_limitteams 0
mp_autoteambalance 0
mp_maxmoney 60000
mp_startmoney 60000
mp_freezetime 0
mp_buytime 9999
mp_buy_anywhere 1
mp_roundtime_defuse 60
sv_infinite_ammo 1
ammo_grenade_limit_total 5
sv_grenade_trajectory_prac_pipreview 1
sv_grenade_trajectory_prac_trailtime 8
sv_showimpacts 1
sv_showimpacts_time 10
bot_kick
mp_warmup_end
mp_restartgame 1After opening the map, you can run all lines at once by typing exec practice in the console. You can also assign the same action to the F10 key with the bind "f10" "exec practice" command.
Commands Remaining from CS:GO and Changed in CS2
Some commands seen in old guides no longer work. This is often the reason why you get the Unknown command warning on the console.
| Old CS:GO command | situation in CS2 | Current approach |
|---|---|---|
net_graph 1 | Removed. | cl_hud_telemetry_frametime_show 2, cl_hud_telemetry_ping_show 2 and network telemetry are used. |
sv_grenade_trajectory 1 | Old command. | sv_grenade_trajectory_prac_pipreview 1 and sv_grenade_trajectory_prac_trailtime 8 are used. |
cl_righthand 0 | It is not used in the same way in CS2. | switchhands is used for instant change. |
voice_scale | It is not a current sound variable. | snd_voipvolume is used for tool sound. |
m_rawinput 1 | It is the old CS:GO setting. | Use CS2's mouse input; Do not add this command to autoexec. |
cl_forcepreload 1 | Not valid in CS2. | Don't force asset loading behavior with the old command. |
fps_max_menu | Old naming. | fps_max_ui is used for the menu border. |
tickrate 128 and -tickrate 128 | It does not change the subtick structure of the official CS2 matchmaking. | Do not try to manipulate the server setting to a competitive advantage by command. |
CS2 updates may change the default values, permissions, or names of commands. When in doubt, outputting help, find, and cvarlist is more reliable for the current build you're playing than older lists on the internet.
Frequently Asked Questions
What is the code to show FPS in CS2?
cl_showfps 1 is used for simple FPS counter. You can type cl_hud_telemetry_frametime_show 2 to constantly see FPS and frame time in the telemetry field.
What is CS2 net graph code?
The old net_graph 1 is not available in CS2. Instead, cl_hud_telemetry_ping_show 2 is used for ping, cl_hud_telemetry_frametime_show 2 for FPS and frametime, and cl_hud_telemetry_net_misdelivery_show 2 for the missed data rate on the network.
What is CS2 unlimited bullet code?
On the private server, type sv_cheats 1, then sv_infinite_ammo 1. If you want to practice changing magazines, use the sv_infinite_ammo 2.
What is the CS2 flight code?
On your own server, type sv_cheats 1 and then use the noclip command. Entering the same command again turns off flight mode.
What is the CS2 left hand code?
switchhands is used to switch the weapon between right and left hand during gameplay. The bind "h" "switchhands" command binds this function to the H key.
Do console codes work in every match?
Client commands such as reticle, radar, audio, FPS limit and bind can work in online matches. sv_cheats 1, noclip, god, give and bot behavior commands can only be used on private or local servers for which you have authorization.
Conclusion
CS2 console codes don't just consist of entertainment commands. With telemetry, you can monitor FPS and connection issues, expand the radar, edit the reticle and viewmodel, create useful binds, and set up a comprehensive grenade or aim training server.
Be careful when copying commands from old CS:GO lists. Replace commands such as net_graph, sv_grenade_trajectory, cl_righthand, voice_scale and cl_forcepreload with their current equivalents from CS2. The most reliable way to check is to examine the list of the version you are playing with the help and find commands on the console.



