GEEKHUB / COUNTER-STRIKE 2

CS2 Console Utility Commands

Browse documented console console commands.

14 documented commands
Browse command categories 18 topics
How to use console commands

Enable the developer console in game settings, open it using your assigned key, then enter a command. Check its context before use. Server commands require appropriate server permissions; practice-only commands belong in controlled sessions.

14 commands
CommandDescription & syntaxCompatibilityActions
clearConsole · Client

Clears the visible console log.

Syntax & details
clear

Example

clear
Category
Console
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
con_enableConsole · Client

Allow access to the developer console.

Syntax & details
con_enable <0 / 1>

Example

con_enable 1
Category
Console
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
toggleconsoleConsole · Client

Open or close the developer console.

Syntax & details
toggleconsole

Example

toggleconsole
Category
Console
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
findConsole · Client

Look up console entries whose names or descriptions match a term.

Syntax & details
find <search term>

Example

find radar
Category
Console
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
cvarlistConsole · Client

Print the registered console commands and variables.

Syntax & details
cvarlist

Example

cvarlist
Category
Console
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
print_changed_convarsConsole · Client

Identify console variables that differ from their defaults.

Syntax & details
print_changed_convars

Example

print_changed_convars
Category
Console
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
mapsConsole · Client

Prints the available map list.

Syntax & details
maps

Example

maps
Category
Console
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
toggleConsole · Client

Alternates a console variable between values; the example switches radar rotation.

Syntax & details
toggle <variable [values]>

Example

toggle cl_radar_rotate 0 1
Category
Console
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
button_infoConsole · Client

Inspect information about a selected input key.

Syntax & details
button_info <key or button>

Example

button_info MOUSE1
Category
Console
Context
Client
Type
ConCommand
Reference value
Not recorded
CS2 reference
Details →
aliasConsole · Client

List existing aliases or assign a short name to a command sequence.

Syntax & details
alias <alias name and command>

Example

alias
Category
Console
Context
Client
Type
ConCommand
Reference value
Not recorded
CS2 reference
Details →
sv_unpause_on_console_closeConsole · Client

Choose whether closing the console resumes a paused session.

Syntax & details
sv_unpause_on_console_close [optional value; omit to query]

Example

sv_unpause_on_console_close
Category
Console
Context
Client
Type
ConVar
Reference value
false
Documented values
0 / 1 (boolean)
Recorded flags
archive
CS2 reference
Details →
sys_minidumpspewlinesConsole · Client

Set the amount of console history retained for crash dumps.

Syntax & details
sys_minidumpspewlines [optional value; omit to query]

Example

sys_minidumpspewlines
Category
Console
Context
Client
Type
ConVar
Reference value
2000
Recorded flags
release
CS2 reference
Details →
echolnConsole · Client

Write text to the console, followed by a newline.

Syntax & details
echoln <text>

Example

echoln GeekHub
Category
Console
Context
Client
Type
ConCommand
Reference value
Not recorded
Recorded flags
release
CS2 reference
Details →
showconsoleConsole · Client

Open the developer console.

Syntax & details
showconsole

Example

showconsole
Category
Console
Context
Client
Type
ConCommand
Reference value
Not recorded
Recorded flags
dontrecord, release
CS2 reference
Details →

Copy manually

Clipboard access is unavailable. Select and copy the text below.