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 1Enable cheat commands. Required for many practice and fun commands. Only works on servers you control or in offline matches.
noclipFly through walls and terrain freely. Essential for scouting map positions, checking angles, and learning utility lineups.
godGrants invincibility so you take no damage. Useful when testing grenade damage or practicing in dangerous positions.
bot_add_tAdds a bot to the Terrorist team. Helpful for filling out a practice server or testing strategies against opponents.
bot_add_ctAdds a bot to the Counter-Terrorist team. Combine with bot_add_t to simulate full matches on a private server.
bot_kickRemoves all bots from the server instantly. Use this to clear the server for solo practice after warmup.
mp_warmup_endEnds the warmup phase immediately. Skips the wait timer so you can jump straight into practice rounds.
mp_restartgame 1Restarts the current match after a 1-second delay. Resets the score and round timer for a fresh start.
give weapon_ak47Gives yourself an AK-47. Replace weapon_ak47 with any weapon name like weapon_awp or weapon_deagle.
sv_infinite_ammo 1Infinite ammo with no reload required. Set to 2 for infinite reserve ammo but normal magazine reloads.
sv_grenade_trajectory 1Shows the flight path of grenades as a visible line. The most important command for learning and perfecting lineups.
sv_grenade_trajectory_time 10Sets how long grenade trajectory lines stay visible in seconds. Higher values let you compare multiple throws.
sv_showimpacts 1Displays red and blue markers where bullets hit. Red shows client-side hits, blue shows server-side registration.
mp_buy_anywhere 1Allows purchasing weapons and equipment from any position on the map, not just the buy zone.
mp_buytime 9999Sets buy time to 9999 seconds so you can purchase gear at any point during the round.
mp_roundtime_defuse 60Sets the round time to 60 minutes for defuse maps, giving you unlimited time to practice.
mp_freezetime 0Removes the freeze time at round start. Jump straight into action without waiting at spawn.
mp_maxmoney 65535Sets the maximum money cap to 65535. Use with mp_startmoney to always have full economy.
mp_startmoney 65535Sets starting money to the maximum so you can buy any weapon and full utility each round.
cl_showfps 1Displays your current frames per second in the top-left corner. Helps monitor performance in real time.
net_graph 1Shows detailed network statistics including ping, packet loss, tickrate, and FPS in a compact overlay.
r_cleardecalsRemoves all blood splatter and bullet hole decals from surfaces. Many pros bind this to a movement key.
cl_righthand 0Switches the weapon viewmodel to the left hand. Set to 1 for right hand. Some players prefer left for better visibility.
cl_crosshairsize 3Sets the crosshair arm length. Lower values give a tighter crosshair. Accepts decimal values for fine tuning.
cl_crosshaircolor 1Changes crosshair color. 0=red, 1=green, 2=yellow, 3=blue, 4=cyan, 5=custom RGB values.
cl_crosshairstyle 4Sets the crosshair style. Style 4 is the classic static crosshair preferred by most competitive players.
cl_hud_color 7Changes the HUD accent color. Values range from 0 to 10 covering colors like green, cyan, blue, and pink.
rate 786432Sets maximum network bandwidth in bytes per second. 786432 is the max value and recommended for broadband connections.
cl_interp 0Sets entity interpolation to minimum. Reduces visual delay between server state and your screen.
cl_interp_ratio 1Sets the interpolation ratio. Use 1 for stable connections, 2 for connections with occasional packet loss.
fps_max 0Uncaps your frame rate. Set to 0 for unlimited FPS or a specific number to cap at that value.
cl_forcepreload 1Forces CS2 to preload all map assets on load. May increase load times but reduces in-game stuttering.
snd_mixahead 0.05Reduces audio latency for more responsive sound feedback. Default is 0.1, lower values reduce delay.
changelevel de_mirageChanges the current map. Replace de_mirage with any map name such as de_dust2, de_inferno, or de_anubis.
mp_autoteambalance 0Disables automatic team balancing. Prevents players from being moved between teams mid-game.
mp_limitteams 0Removes the team size difference limit. Allows uneven teams for practice or custom scenarios.
exec autoexec.cfgExecutes all commands in your autoexec.cfg config file. Place this file in your CS2 cfg folder.
host_writeconfigSaves your current in-game settings to the config file. Ensures your changes persist across sessions.
statusDisplays detailed server information including IP address, connected players, map name, and tickrate.
sv_gravity 200Sets gravity to 200 (default 800). Lower values make you float and jump extremely high. Try 100 for moon gravity.
host_timescale 2Speeds up the game by the given multiplier. Set to 0.5 for slow motion or 5 for super speed.
thirdpersonSwitches your view to third-person perspective. Lets you see your character model and surroundings.
firstpersonReturns to the default first-person view after using thirdperson mode.
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.
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.