CSGO Config and Console Cheat Sheet
CSGO Config and Console Cheat Sheet
Toggles: Aliases:
bindtoggle KEY <cvar> toggles 0 / 1 alias myAlias "command; command" a normal alias
alias +myAlias "command; command" on KEY down
toggle <cvar> value1 value2 value3 etc. alias -myAlias "command; command" on KEY up (1.)
toggle <cvar> (no values) toggles between 0 and 1
toggle <cvar> 0 1 toggles between 0 and 1 bind KEY +quickSwitch
toggle <cvar> 6 9 toggles between 6 and 9 alias +quickswitch "use weapon_knife" on KEY down
toggle <cvar> 2 1 3 toggles 2, 1, 3 and loops around alias -quickswitch lastinv on KEY up (1.)
toggle <cvar> 1 2 3 4 5 toggles 1 to 5 and loops around
toggle <cvar> 1 2 3 4 5 5 toggles 1 to 5 and stops at 5 bind KEY smokeLineup
alias smokeLineup "use weapon_smokegrenade; smokeCrosshair"
incrementvar <cvar> min max increment alias smokeCrosshair "cl_crosshairsize 10000; cl_crosshairgap -3"
incrementvar <cvar> 1 5 1 toggles 1 to 5 and loops around
incrementvar <cvar> 0 1 0.2 increase value by 0.2 bind KEY mytoggle; alias mytoggle toggle1
incrementvar <cvar> 0 1 -0.1 decrease value by 0.1 alias toggle1 "alias mytoggle toggle2; command argument; <cvar> value"
alias toggle2 "alias mytoggle toggle3; command argument; <cvar> value"
Binds: alias toggle3 "alias mytoggle toggle1; command argument; <cvar> value"
bind KEY command bindtoggle KEY <cvar>
bind KEY +jump bindtoggle KEY cl_righthand Note: An alias can contain other aliases but can never contain itself!
alias loop "+jump; -jump; loop" This will crash the game.
Note: Multiple commands must be wrapped in quotation marks and separated by a
semicolon (adding a space after ; is not necessary but helps readability). Configuration files:
Example: "command; command argument; <cvar> value"
exec filename executes filename.cfg
exec filename.cfg executes filename.cfg
bind KEY "command argument"
exec filename.txt executes filename.txt (UTF-8)
bind KEY "say Boom Headshot!"
exec subfolder\filename executes filename.cfg in subfolder
exec \subfolder\filename executes filename.cfg in subfolder
bind KEY "<cvar> value"
bind KEY "sensitivity 1.6" Note: Configuration files can be placed in two folders:
(2.)...\SteamApps\common\Counter-Strike Global Offensive\csgo\cfg
bind KEY "toggle <cvar> value1 value2 value3 etc." (3.)...\Steam\userdata\ SteamID3 \730\local\cfg default folder for config.cfg
bind KEY "toggle cl_crosshaircolor 5 3 2 1 4" toggles 5, 3, 2, 1, 4 and loops around
Note: Configuration files in the game folder (2.) are accessible for all local Steam
bind KEY "incrementvar <cvar> min max increment" accounts and when executed take precedence over files with the same name in the
bind KEY "incrementvar cl_crosshairgap -3 3 1" toggles -3 to 3 and loops around userdata (3.) folder which is account specific.
v1.2.1 1/ 2
- CSGO Config and Console Cheat Sheet by KiloSwiss
Launch Options / Command Line Parameters: Additional information and random trivia:
-novid Skips startup videos The maximum length for a console in-/output is 255 characters.
-console Forces the console to be open in the title screen
-windowed Force windowed (alternatively use -sw) The maximum amount of decimals is 6 i.e. sensitivity 0.123456
-noborder Force borderless (when used with -sw / -windowed)
-fullscreen Force fullscreen Always use these quotation marks " " others like “ ” ' ˮ ˝ will throw an error.
-w value Force resolution X (width) Nested quotation marks won’t work under most circumstances.
-h value Force resolution Y (height) In other words: Do not put quotation marks inside quotation marks.
-hz value Force monitor refresh rate Write commands that require quotation marks into a *.cfg file and exec that.
-tr value Force TickRate for locally hosted server
-autoconfig Forces CSGO to revert all settings to their default values (1.) When adding multiple + commands to one bind, only the first + command
-language pirate Forces CSGO to start with a custom language will automatically revert to it’s - state when the key is released.
+command argument Forces CSGO to execute a command on startup Example 1: bind KEY +jump
+<cvar> value Forces CSGO to set a variable on startup On KEY down: +jump
Note: Launch Option Parameters have to be separated with a space. On KEY up: -jump
Example: -novid -sw -console -tr 128 +exec autoexec +fps_max 0
Example 2: bind KEY "+jump; -attack; -attack2"
Helpful console commands and variables: On KEY down: "+jump; -attack; -attack2"
alias List all aliases. Note: Aliases are temporary On KEY up: -jump
cvarlist List all console variables Note: The list is incomplete
differences List all cvars that deviate from their default value Example 3a: bind KEY "+jump; +moveleft; +attack"
help command Shows the help string of a console command On KEY down: "+jump; +moveleft; +attack"
help <cvar> Shows the help string of a console variable On KEY up: -jump Note: moveleft and attack are still in their active state.
key_listboundkeys List all bound keys (mouse, kb, joystick & controller)
key_findbinding "string" List all keys bound to a certain command or alias Use aliases to execute all + and - commands correctly.
key_findbinding +jump Console output: "SPACE" = "+jump" Example 3b: bind KEY +jumpleftattack
alias +jumpleftattack "+jump; +moveleft; +attack"
invnextgun Toggle between primary and secondary weapon slot alias -jumpleftattack "-jump; -moveleft; -attack"
invnextgrenade Toggle through all grenades (slot4) and the C4 (slot5)
net_graphtext 1 / 0 Toggle the net graph without delay (4.) The command host_writeconfig does not write all cvars into the *.cfg file, for
econ_clear_inventory_images Clear and rebuild inventory images example the variables fps_max and fps_max_menu are not saved.
host_writeconfig Writes all settings into the config.cfg (4.) It is recommended to create an autoexec.cfg which contains all custom settings
host_writeconfig fileName Writes all settings into fileName.cfg (4.) and add host_writeconfig at the bottom (the last line) of that file.
Creates a new file (fileName.cfg) in your userdata (3.)folder if none exists. Do not edit the config.cfg and do not set the config.cfg to "read only"!
v1.2.1 2/2