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).
log
<On/Off>
Using this command will allow you to log server data to the file and console.
Name:
On/Off
Description:
Entering the word on after the command will enable it, input off after the command to stop the log.
Examples, Generator & More
cl_use_opens_buy_menu
cl_use_opens_buy_menu
<Value>
This command determines ifot you can use the "+use" key (which is usually E) when in the player is in the buy zone to open the buy menu.
Name:
Value
Description:
Input a 0 after this command to turn off using the +use key to open the buy menu, and use a 1 after the command which will turn this feature off.
Examples, Generator & More
cl_bobamt_lat
<Value>
This command will adjust how your viewmodel and gun barrel moves from side to side when moving.
Name:
Value
Description:
The higher the command the more the gun barrel will move side to side. The highest value is 2 and the lowest is 0.1. The default value is set at 0.
Examples, Generator & More
net_maxroutable
<Bytes>
This command will set the maximum packet size for the client to receive before its split.
Name:
Bytes
Description:
The maximum packet size before it gets split. Default is 1200.
Examples, Generator & More
spec_show_xray
<0 / 1>
This command will enable or disable x rays in overwatch or spectation.
Name:
0 / 1
Description:
1 to enable 0 to disable. 1 is default value.
Examples, Generator & More
buymenu
This command will enable or disable the buymenu, you need to be standing in the buy zone and is in the time limit.
Examples, Generator & More
cl_clock_recvmargin_enable
cl_clock_recvmargin_enable
<0 / 1>
This enables a new client clock that will allow for margins improving network performances in CS2.
Name:
0 / 1
Description:
0 to disable 1 to enable.
Examples, Generator & More
give
<Weapon Code>
This command will give you the item while using the specified item code For example AK-47 is (weapon_ak47)
Name:
Weapon Code
Description:
Use your desired weapon code after the command to select what item you would like to use.
Examples, Generator & More
cl_forcepreload
<0 / 1>
This command will allow you to enable or disable preloading on the server.
Name:
0 / 1
Description:
1 to enable 0 to disable.
Examples, Generator & More
cl_usenewbob
<0 / 1>
This command will allow you to enable or disable the weapon bobbing effect in CS2.
Name:
0 / 1
Description:
1 to enable 0 to disable.
Examples, Generator & More
sv_rethrow_last_grenade
sv_rethrow_last_grenade
This command will force the server to release the last grenade which was thrown. This command is useful for those wanting to test grenade trajectories in CS2, in a cheating environment.
Examples, Generator & More
status
This command will prin console information about the server which you connected to, includes, the map, the players, your connection and more.
Examples, Generator & More
fps_max_menu
<FPS Cap>
This command will allow you to set your FPS while you are on the main screen of the game the default value is 0.
Name:
FPS Cap
Description:
Your desired FPS cap. The FPS will not go above this number, setting this to 0 will remove the cap.
Examples, Generator & More
bind
<Bind Key> <"Bind Command">
This command allows you to bind a command, to a specific key on your keyboard or a button on your mouse.
Name:
Bind Key
Description:
They key in which you would like to bind
Name:
"Bind Command"
Description:
This command & sequence of commands, that you can set the bind key. You can bind multiple by using ; and by using quotation marks on each side "
Examples, Generator & More
rate
<Rate (Bytes/s)>
This command will allow you to set the rate, which the client will receive network data which is in bytes. Setting this to a lower value will help if you have a poor internet connection.
Name:
Rate (Bytes/s)
Description:
The number of bytes in seconds of the network rate.
Examples, Generator & More
cl_showpos
<0 / 1>
This command will allow you to see values for where on the map you are located, this will be located at the left of your screen, this will allow you to see velocity.
Name:
0 / 1
Description:
1 to enable 0 to disable.
Examples, Generator & More
viewmodel_fov
<FOV>
This command will alow you set your FOV in the client to the max of 68. The default is set at 60.
Name:
FOV
Description:
A number which you would like to set the FOV.
Examples, Generator & More
fps_max
<FPS Cap>
This command sets the max FPS in for the game in the client.
Name:
FPS Cap
Description:
0 to remove the FPS cap it will not go above this number. Or set to your required FPS cap.
Examples, Generator & More
viewmodel_offset_y
viewmodel_offset_y
<Y Offset>
The Y offset of the viewmodel is used to move the weapon forward and backward, following the Y axis in a 3D environment.
Name:
Y Offset
Description:
You can adjust the command using values between -2 to 2. 2 is closer to the top of the screen. -2 is closer the bottom of the screen.
Examples, Generator & More
viewmodel_offset_x
viewmodel_offset_x
<X Offset>
The X offset of the viewmodel is used to move the weapon left and right, following the X axis in a 3D environment. You can adjust the command using values between -2 to 2.5.
Name:
X Offset
Description:
You can set this between 2.5 and -2.5. Setting to -2.5 will be closer to the middle of the screen. 2.5 is closer to the edge of the screen.
Examples, Generator & More
demo_listhighlights
demo_listhighlights
This command shows highlights of the demo, allowing quick reviews of important events​.
Examples, Generator & More
demo_listimportantticks
demo_listimportantticks
The ‘list important ticks’ gives all significant moments contained in the game client.
Examples, Generator & More
endmovie
Stops the movie recording, which was started by startmovie command.
Examples, Generator & More
startmovie
<Movie File Name>
This command Initiates movie recording from the demo and allows you to capture demo playback into a video file.
Name:
Movie File Name
Description:
The name of the movie file you wish to start.
Examples, Generator & More
Show entries:
123420

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.