Below is CSDB's searchable list of all CS2 console commands. Each command in our database has in-depth insights on each command, with help and argument details (simply hover over a command to view).
How to Use CS:GO & CS2 Commands
First, turn on the developer console. Go to Settings > Game Settings and switch "Enable Developer Console" to Yes.
Press the ` or ~ key on your keyboard to open the console.
Type in a command, or copy it from here, hit ENTER, and you’re good to go!
Search for and list all in-game entities with classnames or targetnames containing the specified text. Useful for developers and server admins to debug or manage game entities.
<Entity Name / !self><Action><Parameter><Delay><0 / 1>
Use this command to send inputs to game entities, allowing interaction beyond normal gameplay. It's mainly used for testing and debugging server-side behaviors in CS2.
Displays the entity hierarchy tree, focusing on specified entities, to help debug and understand their structure and relationships within the game environment.