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!
Enabling this command (set to 1) removes weapon spread, making all weapons perfectly accurate at any distance. By default, weapon spread is active (set to 0).
Control whether your crosshair displays when holding a knife. This affects only crosshair styles that hide the crosshair by default when the knife is equipped.