Profilerr
Settings

CS2 Console Commands

All Console Commands

sv_cheats 1
client
🔥

On sv_cheats 1

Off sv_cheats 0

impulse 101
client

Cash/Money.

_autosave
default

Autosave

_autosavedangerous
default

AutoSaveDangerous

_bugreporter_restart
default

Restarts bug reporter .dll

_record
default

Record a demo incrementally.

_resetgamestats
server

Erases current game stats and writes out a blank stats file

_restart
default

Shutdown and restart the engine.

achievement_debug
client

Default: 0
Turn on achievement debug msgs. Requires sv_cheats 1

achievement_disable
client

Default: 0
Turn off achievements. Requires sv_cheats 1

addip
default

Add an IP address to the ban list.

adsp_debug
default

Default: 0

adsp_reset_nodes
default
Agency
server

cs_agency

ai_clear_bad_links
server

Clears bits set on nav links indicating link is unusable

ai_debug_los
server

Default: 0
NPC Line-Of-Sight debug mode. If 1, solid entities that block NPC LOC will be highlighted with white bounding boxes. If 2, it'll show non-solid entities that would do it if they were solid. Requires sv_cheats 1

ai_debug_node_connect
server

Debug the attempted connection between two nodes

ai_debug_shoot_positions
client

Default: 0
Requires sv_cheats 1

ai_disable
server

Command for the "sv_cheats 1" mode. Bots will only perform idle actions.

ai_drawbattlelines
server

Default: 0
Requires sv_cheats 1

ai_drop_hint
server

Drop an ai_hint at the player's current eye position.
Requires sv_cheats 1

ai_dump_hints
server
ai_hull
server

Controls which connections are shown when ai_show_hull or ai_show_connect commands are used
Arguments: NPC name or classname, =NPC under crosshair Requires sv_cheats 1

ai_next_hull
server

Cycles through the various hull sizes. Currently selected hull size is written to the screen. Controls which connections are shown when ai_show_hull or ai_show_connect commands are used
Arguments: -none- Requires sv_cheats 1

ai_nodes
server

Toggles node display. First call displays the nodes for the given network as green objects. Second call displays the nodes and their IDs. Nodes are color coded as follows:
Green - ground node Cyan - air node Magenta - climb node Grey - node not available for selected hull size Orange - node currently locked Requires sv_cheats 1

ai_report_task_timings_on_limit
server

Default: 0

ai_resume
server

If NPC is stepping through tasks (see ai_step ) will resume normal processing.
Requires sv_cheats 1

ai_set_move_height_epsilon
server

Set how high AI bumps up ground walkers when checking steps

ai_setenabled
server

Like ai_disable but you manually specify the state (with a 0 or 1) instead of toggling it.
Requires sv_cheats 1

ai_show_connect
server

Displays the allowed connections between each node for the currently selected hull type. Hulls are color code as follows:
Green - ground movement Blue - jumping movement Cyan - flying movement Yellow - crawling movement Magenta - climbing movement Red - connection disabled Requires sv_cheats 1

ai_show_connect_crawl
server

Displays the allowed connections between each node for the currently selected hull type. Hulls are color code as follows:
Green - ground movement Blue - jumping movement Cyan - flying movement Yellow - crawling movement Magenta - climbing movement Red - connection disabled Requires sv_cheats 1

ai_show_connect_fly
server

Displays the allowed connections between each node for the currently selected hull type. Hulls are color code as follows:
Green - ground movement Blue - jumping movement Cyan - flying movement Yellow - crawling movement Magenta - climbing movement Red - connection disabled Requires sv_cheats 1

ai_show_connect_jump
server

Displays the allowed connections between each node for the currently selected hull type. Hulls are color code as follows:
Green - ground movement Blue - jumping movement Cyan - flying movement Yellow - crawling movement Magenta - climbing movement Red - connection disabled Requires sv_cheats 1

ai_show_graph_connect
server

Toggles graph connection display for the node that the player is looking at. Nodes that are connected to the selected node by the net graph will be drawn in red with magenta lines connecting to the selected node. Nodes that are not connected via the net graph from the selected node will be drawn in blue.
Requires sv_cheats 1

ai_show_grid
server

Draw a grid on the floor where looking.
Requires sv_cheats 1

ai_show_hints
server

Displays all hints as small boxes
Blue - hint is available for use Red - hint is currently being used by an NPC Orange - hint not being used by timed out Grey - hint has been disabled Requires sv_cheats 1

ai_show_hull
server

Displays the allowed hulls between each node for the currently selected hull type. Hulls are color code as follows:
Green - ground movement Blue - jumping movement Cyan - flying movement Yellow - crawling movement Magenta - climbing movement Arguments: -none- Requires sv_cheats 1

ai_show_node
server

Highlight the specified node
Requires sv_cheats 1
Modified in v1.34.6.6

ai_show_visibility
server

Toggles visibility display for the node that the player is looking at. Nodes that are visible from the selected node will be drawn in red with yellow lines connecting to the selected node. Nodes that are not visible from the selected node will be drawn in blue.
Requires sv_cheats 1

ai_step
server

NPCs will freeze after completing their current task. To complete the next task, use 'ai_step' again. To resume processing normally use 'ai_resume'
Requires sv_cheats 1

Commands List

// Add commands from the list

Why are Console Commands Needed in CS2?

Console commands for CS2 allow players to activate changes or settings in the game instantly. All you need to do is to open the console (click ‘~’), type the one you need, and press the ‘Enter’ key. The whole process takes as long as you need to read this sentence.

Despite the presence of 3,057 CS2 commands available via the console, the most important settings are available in the main menu of the game. All basic aspects needed for comfortable playing — Video, Audio, Game, Keyboard/Mouse, Controller — all can be adjusted without touching a keyboard. But you still can use your console to copy-paste someone's entire settings list rather than adjusting various options one by one.

There is also a huge list of commands, like adding bots and their control, activating infinite armor, or grenade trajectories, that are vital for training. Or, you can use them for fun with friends when you are tired of competitive mode and just want something wild. 

Including all CS2 console commands into a basic display menu would be a huge waste of space and not at all user-friendly, so developers left these options for configuration but "hid" them into the console. Advanced players usually know about a hundred from the whole CS2 commands list, but they only scratch the surface. To easily find the needed one, we’ve added all and grouped them, so you can quickly find the required by choosing the category.

What Commands Cannot be Used in Competitive Modes?

With the variety of Counter-Strike 2 console commands, the majority of them are used like pre-game settings. In other words, they are set at once and rarely need changes, especially during the match.

However, a huge cluster can be used only during training sessions. Their activation starts by typing ‘sv_cheats 1’ in the console, opening the road for things forbidden in the competitive modes. An easy character’s flying across the map, god mode, infinite weapon, closest spawn to test timings, grenade trajectories, and many more can help while training.

Another cluster of commands that are not for competitive modes usage is related to adjusting a local server with the game. Thus, you cannot change the freeze-time, round time, team sizes, or money amount when playing official Matchmaking.

Still, all CS2 commands mirrored in the game default menu (screen above) are available anytime. Thus, you can easily change crosshair details, viewmodel, radar orientation, voice and HUD settings, bind new messages, and many more.

FAQ

To activate the console in CS2, follow this procedure: Launch Game → Settings → Game → Enable Developer Console → Yes. Then, press the “~” button to activate it.

Basically, you need to type the opposite command. For some, it means adding the opposite value, which is usually ‘1’ for activation and ‘0’ for deactivation (e.g., sv_cheats 1 enables 'cheat' commands, and sv_cheats 0 disables them). For others, you need to find an opposite command (e.g., bot_add/bot_kick)

The most often used commands are related to adjusting game volume rates, mouse sensitivity, and binds, which can be changed up to several times per single map.

Console commands have almost no impact on the skill itself but can definitely make the gaming process smoother and more pleasant, so you can easily kill more enemies.