GEEKHUB / COUNTER-STRIKE 2

CS2 Console Commands

Search 1,030 documented CS2 console commands by category, context or name. Check syntax and examples before copying a command into Counter-Strike 2.

1,030 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.

1,030 commands
CommandDescription & syntaxCompatibilityActions
sv_cheatsPractice · Server

Enables cheat-protected practice commands on a server you control. Do not use on public competitive servers.

Syntax & details
sv_cheats <0 / 1>

Example

sv_cheats 1
Category
Practice
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
sv_infinite_ammoPractice · Cheats

Removes the need to replenish ammunition during private practice. Mode 2 retains reloads.

Syntax & details
sv_infinite_ammo <0 / 1 / 2>

Example

sv_infinite_ammo 1
Category
Practice
Context
Cheats
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
mp_restartgamePractice · Server

Restarts the match after the specified delay, applying round settings.

Syntax & details
mp_restartgame <seconds>

Example

mp_restartgame 1
Category
Practice
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
mp_roundtime_defusePractice · Server

Sets the duration of bomb-defusal rounds on a controlled server.

Syntax & details
mp_roundtime_defuse <minutes>

Example

mp_roundtime_defuse 60
Category
Practice
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
mp_roundtime_hostagePractice · Server

Sets the duration of hostage rounds on a controlled server.

Syntax & details
mp_roundtime_hostage <minutes>

Example

mp_roundtime_hostage 60
Category
Practice
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
mp_buytimePractice · Server

Extends the time during which purchases are possible.

Syntax & details
mp_buytime <seconds>

Example

mp_buytime 600
Category
Practice
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
mp_buy_anywherePractice · Server

Allows buying outside the normal buy zones; intended for practice.

Syntax & details
mp_buy_anywhere <0 / 1 / 2 / 3>

Example

mp_buy_anywhere 1
Category
Practice
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
mp_startmoneyPractice · Server

Sets starting money for players in a new match.

Syntax & details
mp_startmoney <amount>

Example

mp_startmoney 16000
Category
Practice
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
mp_maxmoneyPractice · Server

Adjusts the upper limit of a player's balance.

Syntax & details
mp_maxmoney <amount>

Example

mp_maxmoney 16000
Category
Practice
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
mp_afterroundmoneyPractice · Server

Awards money after each round in a practice configuration.

Syntax & details
mp_afterroundmoney <amount>

Example

mp_afterroundmoney 16000
Category
Practice
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
cl_crosshairstyleCrosshair · Client

Selects crosshair behavior; style 4 is classic static.

Syntax & details
cl_crosshairstyle <style>

Example

cl_crosshairstyle 4
Category
Crosshair
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
crosshairCrosshair · Client

Turns the crosshair display on or off.

Syntax & details
crosshair <0 / 1>

Example

crosshair 1
Category
Crosshair
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
viewmodel_fovViewmodel · Client

Changes the field of view of the rendered held item, not the world camera.

Syntax & details
viewmodel_fov <number>

Example

viewmodel_fov 68
Category
Viewmodel
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
viewmodel_offset_xViewmodel · Client

Adjusts horizontal placement of the held item.

Syntax & details
viewmodel_offset_x <number>

Example

viewmodel_offset_x 2.5
Category
Viewmodel
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
viewmodel_offset_yViewmodel · Client

Adjusts the forward or backward viewmodel offset.

Syntax & details
viewmodel_offset_y <number>

Example

viewmodel_offset_y 0
Category
Viewmodel
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
viewmodel_offset_zViewmodel · Client

Changes vertical viewmodel placement.

Syntax & details
viewmodel_offset_z <number>

Example

viewmodel_offset_z -1.5
Category
Viewmodel
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
sensitivityMouse · Client

Sets the mouse sensitivity multiplier. Record the old value before experimenting.

Syntax & details
sensitivity <number>

Example

sensitivity 1.5
Category
Mouse
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
bindBind · Client

Associates a key with an action. Avoid overwriting an existing key without checking it.

Syntax & details
bind <key and command>

Example

bind "k" "+voicerecord"
Category
Bind
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
bot_addBot · Server

Adds a computer-controlled teammate or opponent to a local match.

Syntax & details
bot_add [t | ct] [difficulty] [name]

Example

bot_add
Category
Bot
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 + CS:GO documented
Details →
bot_add_ctBot · Server

Adds a Counter-Terrorist bot.

Syntax & details
bot_add_ct [optional difficulty and name]

Example

bot_add_ct
Category
Bot
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
bot_add_tBot · Server

Adds a Terrorist bot.

Syntax & details
bot_add_t [optional difficulty and name]

Example

bot_add_t
Category
Bot
Context
Server
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
cl_hud_colorHUD · Client

Selects a color preset for the heads-up display.

Syntax & details
cl_hud_color <number>

Example

cl_hud_color 0
Category
HUD
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
cl_hud_radar_scaleHUD · Client

Changes the space occupied by the radar on the HUD.

Syntax & details
cl_hud_radar_scale <number>

Example

cl_hud_radar_scale 1
Category
HUD
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →
cl_radar_scaleHUD · Client

Changes radar map magnification, independently of the HUD size.

Syntax & details
cl_radar_scale <number>

Example

cl_radar_scale 0.4
Category
HUD
Context
Client
Type
Not recorded
Reference value
Not recorded
CS2 reference
Details →

Copy manually

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

CS2 Commands: Get More Out of the Developer Console

A setting that looks right in the main menu does not always feel right once you load into a map. Maybe your radar is too zoomed in to follow a rotation, your weapon takes up more of the screen than you would like, or you want to restore your usual mouse sensitivity after experimenting. CS2 commands give you a direct way to inspect and adjust those settings without navigating several different menus. The console also opens up a separate set of tools for running private practice sessions, managing bots and investigating technical problems.

GeekHub's CS2 console commands database puts the reference material and practical examples in one place. The catalogue above contains 1,030 documented entries organised into 18 categories. You can search for an exact command, discover related settings by topic, inspect its syntax and check the context in which it is intended to work. The database is a reference collection rather than a promise that every entry will execute in your current game session. Some commands need server permissions; others are retained for technical documentation or may behave differently after a game update.

You do not need to memorise hundreds of console inputs to benefit from the developer console. Start with a specific question about your setup. If you want a smaller crosshair, for example, concentrate on the crosshair category instead of changing unrelated graphics or network settings. Once you understand what a setting controls, you can make a deliberate adjustment, check how it feels in a match or practice session, and restore the previous value if you prefer the original result.

How to Use the CS2 Command List

The search field is the quickest route when you already know part of a command's name. Type radar, viewmodel or sensitivity and examine the matching entries. If you only remember what you want a setting to do, try a descriptive word from its function. The catalogue searches its documented command information, so you can often find an entry without knowing its complete identifier. The category selector is useful when a broad search produces too many unrelated results.

Use the context and type filters to narrow your results before copying anything. A client setting is a different proposition from a server-side match rule, even when both appear in the same CS2 command list. The compatibility filter reflects documented game references, not a test of your particular installation. You can switch between table and card views, sort entries alphabetically, navigate the result pages or reset your filters to return to the wider collection.

Open an entry's syntax and details panel when you need to see an example rather than just the identifier. Copy Name is useful when you intend to enter a variable's current value or complete its arguments yourself; Copy Example supplies the recorded example. The individual command pages contain more information, including documented arguments, applicable context and source notes. Think of this collection as a technical dictionary: find the right entry, understand what it does and only then decide whether you need to run it.

What Each CS2 Command Can Tell You

A CS2 command can be either an action or, in the broad everyday sense of the term, a console variable (ConVar). An action asks the engine to do something when you execute it, such as listing the keys that are bound. A variable holds a setting that can often be queried or changed. With sensitivity, entering the name on its own normally displays the current setting, while sensitivity 1.5 requests a specific multiplier. The number in this example is illustrative, not a recommended sensitivity for every player.

Pay attention to the distinction between required arguments, optional arguments and a recorded reference value. Angle brackets and square brackets in syntax documentation are usually notation for placeholders or optional input; do not type those brackets literally just because they appear in the reference. A reported value from a command dump is not necessarily the value configured on your computer or the value allowed in every mode. When the reference does not specify an argument format, it is better to inspect the command's help information than guess.

How to Enter CS 2 Commands in the Game

Before you try any examples, enable the developer console. In Counter-Strike 2, open Settings using the gear icon, go to the Game tab and set Enable Developer Console to Yes. Return to the game or main menu and press your assigned console key, commonly the backtick or tilde key beneath Escape on a US keyboard. If you use a different keyboard layout or have changed your bindings, the key can be different. Check your keyboard settings rather than assuming the character shown in a tutorial must match your physical keyboard.

When you enter CS 2 commands, type or paste a valid line into the console and press Enter. If the line contains an action, make sure you understand its effect before submitting it. If you are adjusting a variable, inspect its current value first and keep a note of it. Start with one change, return to the game to see what happened, and avoid pasting a large group of unfamiliar lines all at once. It is much easier to trace a problem to a single change than to investigate a dozen changes made together.

Reading CS 2 Console Commands and Their Responses

The console is also an output window. After entering CS 2 console commands, read the response: the game may print a current value, report an unrecognised identifier, reject an argument or explain that a command is restricted. Autocompletion can help you locate a known name, while find radar can help discover entries associated with radar settings. These tools are particularly handy after an update, when a command you remember from an older version may no longer be accessible in the same way.

A successful command does not always produce an obvious visual notification. You may need to inspect the setting again or test the effect in an appropriate game mode. Conversely, seeing an identifier in a dump does not prove that a normal player can execute it. Distinguish between a syntax problem, a missing command, an invalid value and a permission restriction before searching for a replacement.

CS2 Useful Commands for Everyday Play

The most useful settings are the ones that solve a real problem in your own setup. When you search for CS2 useful commands, begin with the controls you regularly interact with: your mouse, crosshair, radar, weapon position and frame-rate information. You can make meaningful comparisons without changing the rules of the match or introducing an unfamiliar collection of settings copied from another player.

Mouse sensitivity and aim settings

The sensitivity variable controls your in-game mouse sensitivity multiplier. It works alongside your mouse's DPI, so a number copied from a professional player's configuration is not enough to reproduce their effective sensitivity if you use a different DPI. Use the CS2 eDPI calculator to compare the products of DPI and in-game sensitivity before changing anything. For example, 400 DPI at sensitivity 2 and 800 DPI at sensitivity 1 both give 800 eDPI. That relationship is useful within CS2, but it does not account for every physical or hardware difference between two setups.

If you are changing mouse DPI and want to retain the same effective sensitivity, the CS2 sensitivity converter can calculate the corresponding in-game value. Try your result with slow tracking, small adjustments and larger turns. Choose settings that you can use comfortably rather than treating a particular numerical value as an automatic improvement in accuracy.

Crosshair appearance and weapon position

Crosshair settings let you customise the visual aiming reference without changing the underlying accuracy of your weapon. Colour, outlines, the centre dot and spacing all influence how easy the reticle is to see against different backgrounds. cl_crosshaircolor selects a colour preset, and cl_crosshairdot controls whether a centre dot is shown. Counter-Strike 2 has changed its crosshair implementation over time, so distinguish the current pixel-based parameters from older size and gap references. The CS2 crosshair generator is helpful for exploring supported visual parameters and producing its corresponding console commands.

The viewmodel controls the presentation of your held weapon. You can experiment with viewmodel_fov, viewmodel_offset_x, viewmodel_offset_y and viewmodel_offset_z to change that presentation. Viewmodel FOV is not the same thing as the world camera's field of view; moving the rendered weapon is a visual adjustment, not a way to gain a wider world camera angle. Compare the results while switching weapons and moving through familiar locations. The viewmodel generator provides a convenient starting point for assembling these settings.

Radar, HUD and performance information

A radar that looks good during a quiet practice session may not give you the information you need when several teammates are spread across the map. cl_radar_scale adjusts the map magnification, while cl_hud_radar_scale changes how much screen space the radar occupies. These are different controls: changing the size of the radar does not necessarily reveal more of the map. Try a wider map view and check whether you can still distinguish teammate icons during a busy round.

For performance inspection, cl_showfps 1 enables a basic frame-rate display, while cl_showfps 0 turns it off. The fps_max variable controls the frame-rate limit; changing a limit does not guarantee that your computer can reach it. The telemetry options in the game settings can provide additional information. Use consistent testing conditions, and consider frame pacing and responsiveness rather than judging an adjustment from a single high FPS reading. The console is useful for measurement and configuration, not a collection of guaranteed performance fixes.

Counter Strike 2 Console Commands for Practice and Servers

Private practice is where a separate group of Counter Strike 2 console commands becomes valuable. Instead of changing the way your personal interface looks, you may want to control the environment in which you practise. For instance, you can remove bots using bot_kick on a session you control, or use mp_restartgame 1 to restart a controlled match after a short delay. These examples change the session, so they are not equivalent to ordinary client-side appearance settings.

Some practice features require the server to allow cheat-protected commands. sv_cheats 1 is a server setting intended for appropriate controlled sessions, not something you can use to override Valve's matchmaking rules. Check whether a command is labelled as practice, server or cheat-protected, and keep your practice configuration separate from your everyday client settings. A local session is also a sensible place to check a new bind or compare visual settings before bringing them into a competitive game.

Counter Strike 2 Commands for Different Game Contexts

Not all Counter Strike 2 commands are aimed at someone playing a competitive round. The catalogue also includes bot, economy, spectator, demo, network, communication and map-editing references. A server administrator may be interested in match management; a viewer reviewing a demo may need playback-related information; a player exploring a custom map may encounter development-oriented commands. Their presence in the same database does not make their purpose or availability interchangeable.

The command's recorded context is a useful starting point, but its flags and your current environment ultimately determine whether it can be used. Avoid attempting to bypass restrictions. A command intended for development or authorised server operation may not make sense in normal gameplay, and some entries are only useful as documentation of the engine.

CS2 Config Commands: Build a Setup You Can Reuse

After you find a combination of settings you like, keeping a written record becomes much more practical than relying on memory. CS2 config commands can be organised in a plain-text .cfg file, with one instruction per line. This makes your chosen settings easier to review and reproduce. You can use the CS2 config generator to assemble supported settings, then examine the resulting file before applying it. It is not necessary to include every console variable in a custom configuration; a smaller file with a clear purpose is easier to maintain.

For a typical Steam installation, custom CFG files belong under Counter-Strike Global Offensive/game/csgo/cfg within your installed game directory. Use Steam's option to browse the game's local files to locate the correct installation rather than assuming it is on a particular drive. Ensure the file actually has the .cfg extension and is not a text document ending in .cfg.txt. A file named mysettings.cfg in the appropriate folder can be executed with exec mysettings in the console. Check the resulting output and confirm that the intended variables changed.

An autoexec is a configuration intended for startup, while a separate named configuration can be executed when you explicitly need it. Keep a backup of settings and bindings you have already configured. Downloaded configs can contain actions, binds and settings that do not suit your setup, and later lines may override earlier assignments. Review the file as plain text before running it. If you are experimenting with private practice commands, put them in a separate file rather than mixing them with the configuration you use for regular play.

Key binds and safe changes

A key bind associates a key with a command or action. For example, bind "k" "+voicerecord" assigns a voice communication action to K; this is only a suitable example if you are willing to replace the key's existing assignment. Use key_listboundkeys to inspect bindings before making changes, and remember that unbind k removes the assignment instead of restoring a previous one. Keep a note of the original binding if you might want to return to it.

The CS2 bind generator helps you prepare individual action bindings. Stick to permitted input behaviour: Valve has restricted certain kinds of automated movement and shooting input as well as specified multi-action binds. Do not assume an old CS:GO script is appropriate for current CS2 matchmaking. A simple, intentional single-action key assignment is a more understandable starting point than a script assembled from unfamiliar actions.

Commands for CS2: Fixing Common Console Problems

If commands for CS2 do not behave as expected, first verify that you copied the correct identifier and included any required argument. A space between a variable name and a value matters; punctuation and quotation marks matter for inputs such as key bindings. If the game reports an unknown command, compare the entry against a current CS2 reference and inspect the console's own suggestions. Counter-Strike 2 uses Source 2, and instructions from older Counter-Strike versions are not automatically valid.

Next, consider where you are running the command. If a local practice action works but the same input fails in matchmaking, the difference may be permissions rather than spelling. If a setting takes effect but later changes back, inspect any configurations that execute on startup or during a session. If you cannot find a CFG file, check its actual filename, extension and installation path. These checks are more useful than repeatedly submitting the same line without reading the game's response.

When trying a new setup, change one setting at a time and keep your original values. If a result is not what you expected, you can restore the last known working configuration rather than resetting everything. The console becomes much easier to use when you treat it as a way to understand the game's configuration, not simply a place to paste a long list of supposedly optimal settings.

Do All CS2 Commands Work in Matchmaking?

No. Not all CS2 commands in this collection are available on official servers, and the catalogue does not represent every internal identifier in every build of the game. Engine flags, server permissions and updates can affect accessibility. The documented references include specialist entries as well as settings intended for everyday use. If your goal is to configure a normal competitive setup, focus on supported client settings and permitted single-action binds. Leave server management and restricted practice features for sessions where you have the appropriate permissions.

CS2 Console Commands FAQ

Can I use console commands without enabling cheats?

Yes. Many ordinary client settings, such as sensitivity, radar preferences and frame-rate display, do not require cheat permissions. The developer console itself is a normal game interface. Restrictions apply to specific commands and contexts, not to the act of opening the console.

How can I find the current value of a console setting?

For a typical ConVar, enter its name without a new value and inspect the output. Keep a record of your original value before editing it. An action command behaves differently from a variable, so read its syntax before running its name by itself.

Why is a command from CS:GO missing in CS2?

Source 2 introduced changes to the engine and its configuration interfaces. Some older identifiers were removed, replaced, restricted or retained only for compatibility. Check a current reference and do not assume that an old console example still has the same effect.

Are GeekHub's CS2 commands tested in the game?

The catalogue is based on documented references and includes source and verification notes on individual entries. The editorial examples have been checked against those references, but the collection is not a live test of every command on every game build. Your installed version and game context determine actual availability.