Home
Guides

Console Commands

CS2 Console Commands

Complete reference for all useful CS2 console commands. Search, filter by category, and copy any command instantly for practice, performance tuning, or server administration.

The CS2 developer console gives you direct control over game settings, network configuration, and practice environments. Whether you are learning grenade lineups with trajectory commands, optimizing your FPS with network settings, or setting up a private server for team practice, these console commands cover every situation. Each command below includes a description, category, and a one-click copy button.

Showing 43 commands

sv_cheats 1

Enable cheat commands. Required for many practice and fun commands. Only works on servers you control or in offline matches.

Movement & Gameplay
noclip
sv_cheats

Fly through walls and terrain freely. Essential for scouting map positions, checking angles, and learning utility lineups.

Movement & Gameplay
god
sv_cheats

Grants invincibility so you take no damage. Useful when testing grenade damage or practicing in dangerous positions.

Movement & Gameplay
bot_add_t

Adds a bot to the Terrorist team. Helpful for filling out a practice server or testing strategies against opponents.

Movement & Gameplay
bot_add_ct

Adds a bot to the Counter-Terrorist team. Combine with bot_add_t to simulate full matches on a private server.

Movement & Gameplay
bot_kick

Removes all bots from the server instantly. Use this to clear the server for solo practice after warmup.

Movement & Gameplay
mp_warmup_end

Ends the warmup phase immediately. Skips the wait timer so you can jump straight into practice rounds.

Movement & Gameplay
mp_restartgame 1

Restarts the current match after a 1-second delay. Resets the score and round timer for a fresh start.

Movement & Gameplay
give weapon_ak47
sv_cheats

Gives yourself an AK-47. Replace weapon_ak47 with any weapon name like weapon_awp or weapon_deagle.

Movement & Gameplay
sv_infinite_ammo 1
sv_cheats

Infinite ammo with no reload required. Set to 2 for infinite reserve ammo but normal magazine reloads.

Practice & Training
sv_grenade_trajectory 1
sv_cheats

Shows the flight path of grenades as a visible line. The most important command for learning and perfecting lineups.

Practice & Training
sv_grenade_trajectory_time 10
sv_cheats

Sets how long grenade trajectory lines stay visible in seconds. Higher values let you compare multiple throws.

Practice & Training
sv_showimpacts 1
sv_cheats

Displays red and blue markers where bullets hit. Red shows client-side hits, blue shows server-side registration.

Practice & Training
mp_buy_anywhere 1

Allows purchasing weapons and equipment from any position on the map, not just the buy zone.

Practice & Training
mp_buytime 9999

Sets buy time to 9999 seconds so you can purchase gear at any point during the round.

Practice & Training
mp_roundtime_defuse 60

Sets the round time to 60 minutes for defuse maps, giving you unlimited time to practice.

Practice & Training
mp_freezetime 0

Removes the freeze time at round start. Jump straight into action without waiting at spawn.

Practice & Training
mp_maxmoney 65535

Sets the maximum money cap to 65535. Use with mp_startmoney to always have full economy.

Practice & Training
mp_startmoney 65535

Sets starting money to the maximum so you can buy any weapon and full utility each round.

Practice & Training
cl_showfps 1

Displays your current frames per second in the top-left corner. Helps monitor performance in real time.

Visual & HUD
net_graph 1

Shows detailed network statistics including ping, packet loss, tickrate, and FPS in a compact overlay.

Visual & HUD
r_cleardecals

Removes all blood splatter and bullet hole decals from surfaces. Many pros bind this to a movement key.

Visual & HUD
cl_righthand 0

Switches the weapon viewmodel to the left hand. Set to 1 for right hand. Some players prefer left for better visibility.

Visual & HUD
cl_crosshairsize 3

Sets the crosshair arm length. Lower values give a tighter crosshair. Accepts decimal values for fine tuning.

Visual & HUD
cl_crosshaircolor 1

Changes crosshair color. 0=red, 1=green, 2=yellow, 3=blue, 4=cyan, 5=custom RGB values.

Visual & HUD
cl_crosshairstyle 4

Sets the crosshair style. Style 4 is the classic static crosshair preferred by most competitive players.

Visual & HUD
cl_hud_color 7

Changes the HUD accent color. Values range from 0 to 10 covering colors like green, cyan, blue, and pink.

Visual & HUD
rate 786432

Sets maximum network bandwidth in bytes per second. 786432 is the max value and recommended for broadband connections.

Network & Performance
cl_interp 0

Sets entity interpolation to minimum. Reduces visual delay between server state and your screen.

Network & Performance
cl_interp_ratio 1

Sets the interpolation ratio. Use 1 for stable connections, 2 for connections with occasional packet loss.

Network & Performance
fps_max 0

Uncaps your frame rate. Set to 0 for unlimited FPS or a specific number to cap at that value.

Network & Performance
cl_forcepreload 1

Forces CS2 to preload all map assets on load. May increase load times but reduces in-game stuttering.

Network & Performance
snd_mixahead 0.05

Reduces audio latency for more responsive sound feedback. Default is 0.1, lower values reduce delay.

Network & Performance
changelevel de_mirage

Changes the current map. Replace de_mirage with any map name such as de_dust2, de_inferno, or de_anubis.

Server Admin
mp_autoteambalance 0

Disables automatic team balancing. Prevents players from being moved between teams mid-game.

Server Admin
mp_limitteams 0

Removes the team size difference limit. Allows uneven teams for practice or custom scenarios.

Server Admin
exec autoexec.cfg

Executes all commands in your autoexec.cfg config file. Place this file in your CS2 cfg folder.

Server Admin
host_writeconfig

Saves your current in-game settings to the config file. Ensures your changes persist across sessions.

Server Admin
status

Displays detailed server information including IP address, connected players, map name, and tickrate.

Server Admin
sv_gravity 200
sv_cheats

Sets gravity to 200 (default 800). Lower values make you float and jump extremely high. Try 100 for moon gravity.

Fun Commands
host_timescale 2
sv_cheats

Speeds up the game by the given multiplier. Set to 0.5 for slow motion or 5 for super speed.

Fun Commands
thirdperson
sv_cheats

Switches your view to third-person perspective. Lets you see your character model and surroundings.

Fun Commands
firstperson
sv_cheats

Returns to the default first-person view after using thirdperson mode.

Fun Commands

Quick Practice Setup

Copy this complete practice configuration and paste it into your CS2 console to instantly set up the perfect practice environment. It enables cheats, infinite ammo, grenade trajectories, unlimited round time, full money, and removes freeze time.

sv_cheats 1; sv_infinite_ammo 1; sv_grenade_trajectory 1; mp_roundtime_defuse 60; mp_buy_anywhere 1; mp_buytime 9999; mp_freezetime 0; mp_maxmoney 65535; mp_startmoney 65535; mp_restartgame 1

How to Use Console Commands in CS2

Console commands in Counter-Strike 2 let you customize nearly every aspect of the game. From adjusting your crosshair and network settings to setting up full practice environments, the developer console is the most powerful tool available to CS2 players. Professional players use console commands daily to fine-tune their settings and maintain their competitive edge.

To get started, enable the developer console in your game settings under Settings, Game, and set Enable Developer Console to Yes. Then press the tilde key during any match to open it. Commands that require sv_cheats only work on private or offline servers, while visual, network, and crosshair commands work everywhere including competitive matchmaking and FACEIT.

For the best practice experience, combine the commands above into an autoexec.cfg file. This ensures your preferred settings load automatically every time you launch CS2. Place the file in your CS2 cfg directory and use the exec autoexec.cfg command to reload it during a session.

Frequently Asked Questions