1. DMarket Blog
  2. Guides
  3. The Most Useful CS2 Console Commands

The Most Useful CS2 Console Commands

Counter-Strike 2 has taken quite a few steps towards better accessibility in customizing various settings. Many options are available directly in the game menu, which is quite in tune with modern standards. Still, console commands are also here, if you prefer this classic approach, and if you’re looking for the finest adjustments possible.

For this article on DMarket, we’ve selected the most useful CS2 console commands to help you create a comfortable playing environment, let your skills shine, and achieve countless exciting victories.

Sure, these CS2 commands can’t make you a better player. Regular training is essential for this. But with some settings adjusted through the console, you can certainly remove annoying obstacles or inconveniences on your path to success—and better CS2 ranks.

Before delving into the actual list of console commands and some technical details around them, let me give you one more piece of advice. It’s always a good idea to obtain some basic experience in Counter-Strike 2 with default settings, feel what can be changed/improved, and only then apply custom parameters through the commands. You should know what you do in the developer console and your reasons to make personal progress.

How to Enable the Developer Console in CS2

Unlike in CS:GO, the developer console in Counter-Strike 2 is disabled by default (at least in the game build at the time of writing this guide).

These steps are needed to start using CS2 commands:

  1. Open ‘Settings’ (an icon in the upper left corner)
  2. Head to the ‘Game’ tab
  3. Choose ‘Yes’ for ‘Enable Developer Console’ (~)**

As the menu clearly suggests, the developer console can be activated by pressing the tilde key (~) in the game. After that, you are ready to enter commands.

enabling the developer console in CS2

It is possible to re-bind the console button in Counter-Strike 2. In the ‘Settings’, go to the ‘Keyboard/Mouse’ tab, and change the key near ‘Toggle Console’.

The Best (and Most Useful) CS2 Commands

There are lots of console commands in Counter-Strike 2, and every one of them changes various game aspects: from HUD to FPS settings. It’s important to consider how these CS2 commands can help you win matches and become one of the best players. Let’s go!

  • fps_max 0

It’s a command to remove any limitations for the number of frames per second. Moments to notice opponents and take actions are often crucial for winning in CS2. With high FPS, you don’t have unnecessary technical delays. fps_max 0 allows players to unleash the full potential of the gaming computers and monitors. For older hardware, it may be a good idea to set up the exact number of FPS, like fps_max 45, to achieve stable performance—and thanks to this, also play better.

  • cl_showfps 1

It may support the previous command, showing you how many frames your gaming machine can really support. With cl_showfps 1, an FPS count appears in the right upper corner, and cl_showfps 0 removes the count.

  • cl_interp_ratio 1

This command adjusts the interpolation amount, which affects movement smoothness between ticks, or moments of exchanging data packages between the server and the client (your computer). In practice, this command should be used mainly to overcome network issues, and it may not be as helpful for your progress as regular training. cl_interp_ratio 1 is for improving generally normal internet connections. Try out cl_interp_ratio 2 if your internet is laggy. Solve your connection issues by paying for a better plan or by connecting your PC via Ethernet instead of Wi-Fi, and return normal interpolation with cl_interp_ratio 0.

  • +cl_show_team_equipment

Enter this command to permanently place info on your teammates above their heads. You will see their nicknames and current weapons/equipment. Usually, such info is available only at the beginning of game rounds. Activate it to view what teammates have purchased or picked up, to make decisions on your own buys. -cl_show_team_equipment returns to normal mode.

  • cl_drawhud 0

For the purpose of individual practice, you may decide to remove all the HUD elements during Counter-Strike 2 matches—cl_drawhud 0 does the magic. Such a step may help you focus on the action without any distractions. Still, it’s worth remembering that HUD gives you essential info on what’s going on in the game. You need to reinstate it with the command cl_drawhud 0 once practice is over for the most effective team play.

In addition, we can name a few other useful CS2 commands, related to HUD. They can force various elements to appear or disappear regardless of cl_drawhud. Their values are universal: -1 to never show, 1 to always show, and 0 to use the general HUD settings. The commands are:

  • cl_drawhud_force_deathnotices 0 for death notices,
  • cl_drawhud_force_radar 0 for the radar,
  • cl_drawhud_force_teamid_overhead 0 for the info above teammates’ heads.

One of the most important pieces of information on a current in-game situation is how much health teammates have. This will help you to use it most effectively. You may want to take a look at our guide on CS2 damage to better understand how this game system works.

  • bind [action] [key]

Use this command to bind a game action to a specific key. With the advanced customization settings in CS2, only very specific bindings require the developer console assist. Most action-key connections can be easily changed directly in the game menu. Still, with the bind command, it’s possible to have a few actions added to one button, and you need to separate them with ; and add the quotation mark for the [action] group. An example could be p “buy smokegrenade; buy flashbang”.

Two additional commands can reverse the first one: unbind [key] to unbind one selected key, and unbindall to cancel all your custom bindings and return to the default settings. Binding keys is an effective way to adapt CS2 controls for your habits and preferences. You need to feel comfortable in the game to win matches.

  • sensitivity

It’s a pretty important CS2 console command, as it sets the mouse sensitivity. 2 is the default value, so change it if you need to.

Most pro players and enthusiastic competitors prefer low sensitivity to make precise in-game actions with big real-world movements. Of course, having one of the best mouse models for CS2 may give you even better control and easy accuracy.

  • voice_scale 0

You can mute other players with this command. While team communication is crucial for your CS2 success, sometimes, your partners are too toxic or simply noisy. voice_scale 1 sets the default volume for the voice chat, and you can use something in between to make teammates not that distracting.

If you often find yourself put on a team of toxic and just indecent players, consider using the magic of VPNs for CS2 and teleport into another dimension of the community.

  • voice_modenable 0

Turn off your microphone. Sure, the game and your computer have other ways to mute you when it’s needed. But if you like the CS2 console commands better, use this one. voice_modenable 1 returns the usual mode for your mic.

CS2 Crosshair Commands

The whole idea of adjusting the CS2 crosshair is to create the most comfortable environment specifically for you. Seeing where you shoot but with an unnoticeable crosshair is the balance to strive for.

The game gives some options in the standard menu, sure. But if you prefer the console, here are some CS2 commands for the crosshair.

  • cl_crosshairstyle [style]—there are six possible crosshair styles with this command: 0 for the default one, 1 for default static, 2 for classic static with dynamic dots, 3 for classic static, 4 for classic dynamic, 5 for the classic static and dynamic style. It’s a good idea to try them all out to see the difference with your own eyes.
  • cl_crosshairsize [size]—change the size of your CS2 crosshair. 5 is the default value.
  • cl_crosshairthickness [thickness]—adjust the thickness of the crosshair lines.
  • cl_crosshaircolor [color number]—the command can activate different colors: 0 for red, 1 for green, 2 for yellow, 3 for dark blue, and 4 for cyan.
  • cl_crosshairgap [size]—the size of the gap in the middle. Change the number to see the difference.
  • cl_crosshairdot 1—to add a dot to the center. cl_crosshairdot 1 removes it.
crosshair commands in cs2

For more info on this aspect, check out our article on the best CS2 crosshairs.

CS2 Commands for Training

Quite a few console commands in Counter-Strike 2 affect the physical features of game objects and give various unfair advantages. That’s why they are unavailable in the official multiplayer and on most public servers. Still, such CS2 commands can help players create specific training scenarios, focusing on selected aspects and situations. We’ve put them in this sub-category. Use these commands in offline matches or on your custom servers.

training in cs2
  • sv_cheats 1

It’s the basic command to allow most practice commands (cheats) in your game. To remove this option, simply enter sv_cheats 0.

  • sv_infinite_ammo 1

Reloading your guns is an important part of CS2 gameplay. You need to learn when it is best to do so. But when improving your accuracy, you may not want to get distracted. With this command, you’ll get infinite ammo. Cancel this with sv_infinite_ammo 0. If you enter sv_infinite_ammo 2, you will have infinite reloads for a weapon—it’s great to have a more realistic game experience without bullet limitations.

  • give weapon_[name]

Practice with a selected CS2 weapon without purchasing it. Just enter this code and add a weapon name to it. For example, use give weapon_awp to get the AWP sniper rifle or give weapon_m4a4 for CT’s assault rifle. Check all the weapon commands to try in our article.

  • noclip

Your character will be able to fly around CS2 maps, moving through solid objects. The noclip command is helpful for learning shooting locations.

  • sv_gravity

You can set the gravity in Counter-Strike 2 thanks to this console command. The default value is 800, so with 450 for example, everything will be almost twice lighter; your character will jump much higher, and the fall time will be longer. It’s an interesting option for training, a variation of noclip regarding movements.

  • god

Add the feature of invulnerability, so no harm can be done to you in CS2. Getting killed during training is a clear measurement of how you spend the health resource in risky situations. But that may be annoying if you want to improve your movement in CS2 or focus on something else.

  • kill

Enter this to kill your character. This may be helpful for some training situations, such as when you are located on a wrong bombsite, and the fastest way to reach the action is to use kill and then take control of a bot on your team.

  • mp_respawn_on_death_t, mp_respawn_on_death_ct

Terrorists/Counter-Terrorists will respawn immediately after being killed. These CS2 console commands can intensify your training by adding endless waves of opponents. And also, they have the power to give you extra support from returning teammates. Both options may have their applications in training. If you use mp_respawnwavetime_ct 18 or mp_respawnwavetime_t 18, the respawn will happen 18 seconds after death (the number can be changed).

  • mp_roundtime [minutes]

Time for game rounds can be adjusted with this command. The number corresponds to minutes, and if you need to have, say, two minutes and 30 seconds, it will be mp_roundtime 2.5. Together with the respawn CS2 commands, you can create quite an effective training mode.

With mp_roundtime_defuse 3 and mp_roundtime_hostage 3, you can specify round time for exact game modes: Bomb Defusal and Hostage Rescue.

  • mp_buytime [seconds]

You will have 10 extra seconds to make your purchases at the beginning of every round if you enter 10. Note that the time you add to this command starts after 15 seconds of the round countdown. Increasing the buy time may be a good idea for beginners to improve speed and then make no mistakes in real CS2 matches.

  • mp_buy_anywhere [0/1/2/3]

It’s an alternative to the previous command in your purchase training, The buy menu will be available for both teams anywhere on the map if it’s 1. Add 2 instead of 1 to make this option available only for Terrorists or 3 for Counter-Terrorists. mp_buy_anywhere 0 returns the usual CS2 weapon purchases in the Spawn zones.

  • mp_startmoney [amount]

Set the amount of money you have at the start of each match half during CS2 training matches. The default amount is 800.

Money is an important part of team and player strategy in Counter-Strike. The amount you earn directly affects what weapons and equipment can be bought and how effective you will be. Sometimes, it might be helpful to ignore the economic game and focus on other aspects.

mp_startmoney 1000 command in CS2
  • mp_maxmoney 65,535

Specify the cap of money players can earn in CS2 matches. The game limits the max amount to not give a too big advantage to one team and to leave some chances for comeback even after a few lost rounds. 65,535 is the biggest amount a player can have in the game.

Not all game modes are affected by the economy, as you can play Deathmatch or Arms Race, introduced in the first big CS2 update.

  • mp_restartgame

This command gives you a quick way to restart the game. This may be needed to activate some commands and to start playing with new settings. You can use mp_restartgame 30 to restart in 30 seconds.

  • mp_match_restart_delay [seconds]

Use this command to have some extra time before your match restarts. The number corresponds to seconds.

  • changelevel [map code]

It’s a command for changing the CS2 map you play on; using it is quicker than resetting the match. Map codes come in the format of de_mirage, de_inferno, de_ancient, de_dust2, de_anubis, de_nuke, and cs_vertigo. For example, it will be changelevel de_inferno for a quick jump to Inferno.

changelevel de_inferno command in CS2
  • launch_warmup_map [map code]

It’s a useful command for serious players. It activates a 10-minute-long Deathmatch on a chosen map. The map codes are universal for all CS2 console commands.

Such warm-up sessions will make you nicely prepared for proper Counter-Strike 2 matches. It’s better to go through them than be unable to perform well in the game, rage quit, and thus potentially negatively affect your CS2 Trust Factor.

  • viewmodel_fov [number]

Change your field of view with this command. 60 is default, and 68 is the max. Increasing the value will bring you more visual information. Matches with such a view are not real for CS2, but training with unusual conditions may help you develop specific skills.

viewmodel_fov command in CS2

If 68 is not enough for you, use fov_cs_debug [number] which has no limitations. It works only with sv_cheats 1.

  • bot_add

Training with bots is a good idea for developing and polishing your CS2 skills. To take control over the number of bots, you can use this command, which adds one bot to your current team. bot_add_ct and bot_add_t are practical alternatives, as they specify a team to add a bot to. With the command bot_place, a new bot for your team will appear in the area you are looking at.

  • bot_knives_only [0/1]

All bots in your match will play with knives only if you enter 1. It’s an effective trick to make them harmless on long and mid distances. This setting may be convenient for practicing accuracy with sniper rifles and some other game aspects.

  • bot_crouch 1

All bots in your game will crouch. This may be helpful to train your aim when opponents hide behind low objects. It also may be part of map learning. bot_crouch 0 returns the usual behavior.

bot_crouch 1 command in CS2
  • bot_stop 1

Every bot in the game will freeze. This may give you time to think about strategic positioning, consider possible team actions, or just have some extra fun in Counter-Strike 2.

  • cl_disable ragdolls 1

You can disable ragdoll physics, slightly decreasing the load on your system and removing weird positioning of bodies. It is still a training command, but its practical usage is very niche. Also, check out our dedicated article that specifically describes CS2 practice commands and configs. Maybe you’ll find something interesting for your unique purposes.

CS2 Console Commands in Autoexec

After you have found your best Counter-Strike 2 settings, it might be a good idea to save them in an autoexec file—to quickly activate on a different computer or to reverse your own experimental changes.

Autoexec is basically a text file with all your console commands. It has to be saved in the game folder with the name autoexec.cfg. Then you will be able to activate your settings with one command only, exec autoexec.cfg, or to use them permanently by adding +exec autoexec.cfg to the Launch Options.

Here is a step-by-step tutorial on how to create an autoexec config file for CS2:

  1. Open the game folder: right click CS2 in Steam, choose Manage -> Browse Local Files, and head to the folder game\csgo\cfg.
  2. Create a new .txt document here: right click and choose New -> Text Document.
  3. Rename the new document to autoexec.cfg. Confirm that you want to change the file extension.
  4. Open your autoexec.cfg with Notepad and add all your CS2 commands—each on a new line. Save all the changes.
  5. Launch Steam, right click CS2, choose Properties and in the General tab find Launch Option. Add the command +exec autoexec.cfg to the text box.
  6. Launch Counter-Strike 2 and enjoy the game.

The autoexec.cfg file will be used automatically after that, and if you need to reverse this action, just delete the command from your CS2 Launch Options.

How to Remove Console Commands from CS2

When you need to return to the default settings:

  1. Just restart CS2, and most console commands will be removed.
  2. Head to your game folder (game\csgo\cfg), and delete the config.cfg file (the game will create a new one when you launch it). If you’ve created autoexec.cfg, delete it or remove +exec autoexec.cfg from the Launch Options.

Let me say it once again—before adjusting CS2 settings in the game console, get enough basic experience in Counter-Strike 2. You need to know what works for you to eliminate obstacles on your way to success. No console command on its own can make you a better player, only dedicated practice.

For other practical CS2 guides, stay tuned to the DMarket blog! And to support your progress (and style) in the game with cool weapons, buy the best CS2 skins on our marketplace.

Trade on the go - install the mobile app of DMarket from Google Play or App Store. Never miss great prices and unique skins. The best CS2, Dota 2, Rust and TF2 marketplace is always at hand!

download DMarket app on the Appstore get DMarket app on Google Pay

Follow us on Facebook and Twitter to get more interesting articles about CS2!

Eugene Bozhenko image
Eugene Bozhenko
Eugene Bozhenko is an enthusiastic gamer and professional gaming journalist with 14 years of writing experience. Since 2007 he has been a member of the Ukrainian National Union of Journalists. Eugene has experience writing about culture, sports, modern technology and politics but gaming remains his long-term favorite topic.
enhance your game
Refresh your skins inventory
Go to market