Enable the developer console:
Go to Settings > Game Settings and set "Enable Developer Console" to "Yes".
Press ` or ~ on your keyboard.
Enter a command and hit ENTER on your keyboard to run it!

Commands List
Command | Description | More | Syntax |
---|---|---|---|
cl_sniper_auto_rezoom | Automatically re-zooms sniper rifles after firing a shot. When enabled, the player's sniper scope will automatically re-zoom after each shot without needing to manually zoom in again. |
Examples, Generator & More | cl_sniper_auto_rezoom
<0 / 1>
|
cl_teamcounter_playercount_instead_of_avatars | Determines whether the team counter displays the number of players instead of avatars. |
Examples, Generator & More | cl_teamcounter_playercount_instead_of_avatars
<0 / 1>
|
cl_versus_intro | This command controls whether the introduction sequence for versus mode is played. |
Examples, Generator & More | cl_versus_intro
<0 / 1>
|
commentary | Enables or disables the commentary mode, which provides developer insights on various aspects of the game. |
Examples, Generator & More | commentary
<0 / 1>
|
csgo_map_preview_scale | Adjusts the scale of the map preview in the Counter-Strike 2 interface. |
Examples, Generator & More | csgo_map_preview_scale
<Scale>
|
csm_viewmodel_farz | Adjusts how far into the distance the viewmodel can render. Primarily used for debugging purposes. |
Examples, Generator & More | csm_viewmodel_farz
<Render Distance>
|
csm_viewmodel_max_visible_dist | This command adjusts the maximum visible distance for viewmodels, affecting how far away models can appear in-game. |
Examples, Generator & More | csm_viewmodel_max_visible_dist
<Distance>
|
csm_viewmodel_nearz | Adjusts the proximity of the viewmodel to the screen on the Z-axis. Useful for fine-tuning how weapons and hands are displayed in the player's view. |
Examples, Generator & More | csm_viewmodel_nearz
<Z-axis proximity>
|
cv_bot_ai_bt_debug_target | This command is used to draw the behavior tree of the specified bot, aiding in understanding and debugging the bot's decision-making processes. It is particularly useful for developers and testers. |
Examples, Generator & More | cv_bot_ai_bt_debug_target
<Bot ID>
|
cv_bot_ai_bt_hiding_spot_show | This command is used to visualize the hiding spots for bots within the game. It is a developer tool mainly used for testing and debugging AI behaviors in various maps. |
Examples, Generator & More | cv_bot_ai_bt_hiding_spot_show
<0 / 1>
|
cv_bot_ai_bt_moveto_show_next_hiding_spot | This command, when enabled, visualizes the next hiding spot a bot plans to check. Useful for understanding bot movement and pathfinding in relation to hiding spots. |
Examples, Generator & More | cv_bot_ai_bt_moveto_show_next_hiding_spot
<0 / 1>
|
exec_async | This command is used to execute a cfg (configuration) file over a period of time instead of all at once. It is particularly useful for applying settings that could potentially disrupt gameplay if loaded instantly. |
Examples, Generator & More | exec_async
<File Name>
|
fps_max_tools | Sets an additional frame rate limit while in tools mode and when a window other than the game window has focus. This allows for lower frame rates in tools mode without affecting the main game's fps_max setting. If set to 0, there is no specific limit for tools mode. |
Examples, Generator & More | fps_max_tools
<Frames per second>
|
fps_max_ui | Sets the maximum frame rate for the game UI. A setting of 0 removes the limit. |
Examples, Generator & More | fps_max_ui
<Frame rate limit>
|
hostname_in_client_status | This command allows the server hostname to be shown in the client's status information. |
Examples, Generator & More | hostname_in_client_status
<0 / 1>
|
inferno_flame_spacing | This console command changes the distance between separate flame spawns when using molotov and incendiary grenades. |
Examples, Generator & More | inferno_flame_spacing
<Spacing>
|
joy_axisx_deadzone | This command sets the deadzone for the x-axis of a joystick, determining the minimum movement required on the x-axis to be recognized as input. |
Examples, Generator & More | joy_axisx_deadzone
<Deadzone Value>
|
joy_axisx_relative | Determines if the joystick's X-axis movements are interpreted as relative inputs. Primarily affects how camera or character movement is handled in relation to the joystick's horizontal movements. |
Examples, Generator & More | joy_axisx_relative
<0 / 1>
|
joy_axisy_deadzone | Sets the deadzone for the Y-axis on a joystick, which is the threshold below which joystick movements are ignored. |
Examples, Generator & More | joy_axisy_deadzone
<Deadzone Value>
|
joy_axisy_relative | This command sets the Y-axis of the joystick to operate in either relative or absolute mode for movement. |
Examples, Generator & More | joy_axisy_relative
<0 / 1>
|