CS2 Console Commands List

Below is Total CS' searchable list of all CS2 console commands. Each command in our database has detailed documentation, with help and argument explanation (hover over a command to view). Click on a command's name to visit its individual page, on which you can find more information including working examples and its default setting or value.

Type the name of a command into the search box to instantly filter our entire database of commands. Toggle between different views by pressing the "Card View" and "Table View" buttons.

If you are looking for a more specific selection of commands, you may prefer to sort by category.

Updated for CS2: We've updated our list to include over 1,000 console commands that were added in CS2.

We're the only website that has a complete list of all Counter-Strike 2 commands with complete documentation and examples. CS:GO Commands are hidden from this list by default. If you're playing on CS:GO, check the "Show CS:GO Commands" box to show commands that exist in Counter-Strike: Global Offensive.

How to Use CS:GO & CS2 Commands
  1. Enable the developer console:

    Go to Settings > Game Settings and set "Enable Developer Console" to "Yes".

  2. Press ` or ~ on your keyboard.

  3. Enter a command and hit ENTER on your keyboard to run it!

Are you still stuck? More Help
Ad

Commands List

bot_add <T / CT> <Difficulty> <Name>

This command adds a bot to your current game. If you specify a team (T or CT), the bot will be added to that team. You can also optionally specify a difficulty and a name (if there is an existing profile).

Name Description
T / CT

Enter the letter T to add a Terrorist bot or CT to add a Counter-Terrorist bot.

Difficulty

The difficulty the spawned bot should have. Options are:

  • easy
  • normal
  • hard
  • expert
Name

Optional - if not specified, the bot will have a random name. The name of the bot you wish to add (this name will show in the scoreboard/kill list/chat). The name must have an existing profile (e.g. Mark, Opie, etc).

Examples, Generator & More
bot_add_ct <Difficulty> <Name>

This console command adds a bot to the CT side. If the bot spawns dead, it will respawn at the start of the next round. You can optionally specify a difficulty and a name (if there is an existing profile).

Name Description
Difficulty

The difficulty the spawned bot should have. Options are:

  • easy
  • normal
  • hard
  • expert
Name

Optional - if not specified, the bot will have a random name. The name of the bot you wish to add (this name will show in the scoreboard/kill list/chat). The name must have an existing profile (e.g. Mark, Opie, etc).

Examples, Generator & More
bot_add_t <Difficulty> <Name>

This command adds a bot to the T side. If the bot spawns dead, it will respawn at the start of the next round. You can optionally specify a difficulty and a name (if there is an existing profile).

Name Description
Difficulty

The difficulty the spawned bot should have. Options are:

  • easy
  • normal
  • hard
  • expert
Name

Optional - if not specified, the bot will have a random name. The name of the bot you wish to add (this name will show in the scoreboard/kill list/chat). The name must have an existing profile (e.g. Mark, Opie, etc).

Examples, Generator & More
cl_crosshairgap <Gap>

This console command will adjust the size of the gap in the middle of your crosshair. The smaller the value, the smaller the gap.

Name Description
Gap

A number: the size of the gap between each line in your crosshair.

Examples, Generator & More
cl_crosshairsize <Size>

This command controls the length and size of the 4 lines that make up a standard crosshair. Using a low value will give your crosshair very slight lines, and using a large value makes your crosshair have very long lines.

Name Description
Size

A number to represent what size you want your crosshair to be. The default value is 5.

Examples, Generator & More
cl_crosshairstyle <Style>

This command sets the style of your crosshair such as its general shape and whether or not it opens up whenever your character moves around.

Name Description
Style

Your desired crosshair style (a number). Crosshair styles:

  • 0 - Default CS:GO dynamic crosshair
  • 1 - Static variant of the default crosshair
  • 2 - Classic static crosshair with dynamic dots on each side
  • 3 - Classic dynamic crosshair
  • 4 - Classic static crosshair
  • 5 - Classic static and dynamic crosshair
Examples, Generator & More
cl_crosshairthickness <Thickness>

This console command customizes the thickness of your in game crosshair.

Name Description
Thickness

A numeric value to decide the thickness of your crosshair. The larger the number, the thicker your crosshair will be.

Examples, Generator & More
cl_hud_color <HUD Color>

This is the console command used to change and customize the color of your HUD (heads up display). It can be changed to a variety of colors, which we have listed examples for.

Name Description
HUD Color

A number from 1 to 10 that is used to alter the HUD color.

Examples, Generator & More
cl_hud_radar_scale <Radar Scale>

This useful console command controls how much room in your HUD your radar takes up. You can choose to make it a smaller feature or larger than the default value.

Name Description
Radar Scale

A number between 0.8 and 1.3. The larger the value, the larger the radar will be. The default value for this command is 1.

Examples, Generator & More
cl_radar_scale <Radar Scale>

This command adjusts the scale of your radar, which affects how zoomed in or out the radar is. A lot of players use this command to zoom the radar out and have a complete view of the map.

Name Description
Radar Scale

A number between 0.25 and 1. The smaller the number, the more zoomed out the radar appears. The larger the number, the more zoomed in the radar appears. The default value for this command is 0.7.

Examples, Generator & More
cl_showfps <0 / 1>

This command produces a simple FPS (frames per second) count in the top left corner of your screen. Unlike the net_graph command, the only value shown is your FPS, which some players like for its simplicity.

Name Description
0 / 1

Enter a 1 after this command to turn on the FPS counter, and a 0 after the command to turn it off.

Examples, Generator & More
demo_pause

This useful console command is used to pause the demo you're watching. Playback can be resumed with the command demo_resume.

Examples, Generator & More
demo_resume

This useful command is used to resume the demo you're watching, if you have previously paused it. To pause demos, use the command demo_pause.

Examples, Generator & More
demo_timescale <Playback speed>

This command sets how quickly the demo is played. In other words, it can be used to fast forward through rounds you're not interested in watching.

Name Description
Playback speed

Enter a number to represent how fast you want the demo played back. Entering the number 20 plays the demo back 20 times as fast.

Examples, Generator & More
demo_togglepause

Use this command when watching demos to toggle between being paused or not. The good thing about this command is then it will pause or play the demo, depending on if its running when the command is entered.

Examples, Generator & More
game_mode <Game Mode>

This command can be used in conjunction with the game_type command to change the type of game you are playing (casual, deathmatch, etc). See argument information for help.

Name Description
Game Mode

The number of the game mode you wish to play. Use this in combination with the game_type command. Possible combinations are:

Name game_type game_mode
Casual 0 0
Competitive 0 1
Scrim Competitive 2v2 0 2
Scrim Competitive 5v5 0 2
Arms Race / Gun Game 1 0
Demolition 1 1
Deathmatch 1 2
Training 2 0
Custom 3 0
Cooperative 4 0
Skirmish 5 0
Examples, Generator & More
game_type <Game Type>

This command can be used with the game_mode command to change the game you are playing (e.g. arms race, competitive, etc). See argument information for combinations and help.

Name Description
Game Type

The number of the game type you wish to play. Use this in combination with the game_mode command. Possible combinations are:

Name game_type game_mode
Casual 0 0
Competitive 0 1
Scrim Competitive 2v2 0 2
Scrim Competitive 5v5 0 2
Arms Race / Gun Game 1 0
Demolition 1 1
Deathmatch 1 2
Training 2 0
Custom 3 0
Cooperative 4 0
Skirmish 5 0
Examples, Generator & More
give <Weapon Code>

This command will give you the item with the specified item code. Find item codes on our give command list.

Name Description
Weapon Code

The weapon code of the weapon or grenade you wish to spawn (e.g. AK-47 is weapon_ak47).

Examples, Generator & More
hurtme <Damage>

This command will hurt your character with the specified amount of damage (1 = 1HP).

Name Description
Damage

The amount of damage to deal. 10 = 10HP.

Examples, Generator & More
mp_ignore_round_win_conditions <0 / 1>

This command can be used to enable and disable round win conditions. If round win conditions are disabled (ignored), then the conditions that would usually make a round end (e.g. bomb exploding, team being eliminated) will no longer make the round end - the round would last forever, until manually ended. By default, this command is disabled (meaning win conditions are not ignored).

Name Description
0 / 1

This command, if enabled, would make the game ignore the conditions that usually end the round (e.g. everyone on a team dying, bomb exploding). When enabled, the round will last forever, or until you manually end it or disable this setting. Default is 0 (do not ignore win conditions).

Examples, Generator & More