All CS2/CSGO Commands List

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).
spec_cameraman_set_xray
spec_cameraman_set_xray
This console command enables spectators to switch between three different viewing modes: X-ray vision, no X-ray vision, or viewing the perspective of the player they are spectating.
Examples, Generator & More
right
<+right> <-right>
In CSGO, “+right” is a console command that will make your player face endlessly to the right. You can still move your mouse while the command is active, but it will continuously spin your camera to the right. 
Name:
+right
Description:
This command makes your camera spin to the right.
Name:
-right
Description:
This command will stop your camera from spinning to the right.
Examples, Generator & More
left
<+left> <-left>
This command will cause your camera to rotate in a left direction, Using the -left command ends it.
Name:
+left
Description:
To start the command.
Name:
-left
Description:
To stop the command.
Examples, Generator & More
demoui
This command toggles the visibility of the demo player UI. With the demo UI open, this allows you to speed up and slow down & skip rounds.
Examples, Generator & More
demo_recordcommands
demo_recordcommands
<0 / 1>
Enabling this will keep track of what commands you used in a certain demo session and save them along with the recording. This can be useful when testing out new things on your own private server and want to keep track of the commands you used.
Name:
0 / 1
Description:
Enter a 1 after the command, this will begin recording commands in a demo, and enter a 0 after the command to stop recording.
Examples, Generator & More
demo_resume
The complete polar opposite of demo_pause, demo_resume will basically continue to play the demo which had been previously paused. This command will only work if the demo is paused, otherwise typing this into the console and pressing enter will do nothing.
Examples, Generator & More
demo_pause
The demo_pause command will pause the demo you are currently watching. Playback also can be resumed with the demo_resume command.
Examples, Generator & More
Playdemo
<Demo File Name>
This command will play the specific demo file.
Name:
Demo File Name
Description:
This command will play the specified demo file. Demos are stored in this location by default Steam\steamapps\common\Counter-Strike Global Offensive\csgo folder. If you decide to place them in your replays folder, put replays/" before the name.
Examples, Generator & More
record
<Demo File Name>
This command will allow you to start recording your current game as a demo. You will need to use a specific file name. You can use the stop command to stop the recording. The Demo will be saved in Steam\steamapps\common\Counter-Strike Global Offensive\csgo. By default.
Name:
Demo File Name
Description:
The name of the file in which the demo will be saved.
Examples, Generator & More
Show entries:

Above 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).

You can type in the name of a specific command to filter that command.

We also have a Command category making it easier for those looking for CSGO commands in a certain category.