The Counter-Strike 2 developer console lets you adjust in-game settings, inspect performance information, assign keys and prepare controlled training sessions. The useful part is knowing which commands work in an ordinary match, which belong to a server you control and which were left behind in CS:GO.
This guide organizes practical CS2 console commands by task. Each example explains what it changes, where it is permitted and how to reverse it. For training, you can begin with a small preset and extend it for grenades, bots or recoil practice instead of pasting an unexplained wall of commands.
Not every console command affects performance, and entering sv_cheats 1 does not grant privileges on an official server. Normal client settings and administrator-controlled practice tools are treated separately throughout.
Most useful CS2 console commands
These are the commands players most often need when they first open the developer console. The last column matters as much as the command itself. A setting that changes your own interface is different from an instruction to the match server.
The table groups everyday commands with a handful of private-practice tools so you can find them quickly.
Command | What it does | Where it works |
|---|---|---|
| Displays an FPS counter; | Normal gameplay |
| Sets an FPS cap of 240; this is an example, not a universal recommendation. | Normal gameplay |
| Jumps when the mouse wheel is scrolled down. | Normal gameplay |
| Switches the displayed weapon between left and right hands. | Normal gameplay |
| Sets overall game sound volume. | Normal gameplay |
| Removes bots from a practice session. | Local or controlled server |
| Ends warmup. | Server you control |
| Enables supported cheat-protected practice commands. | Server you administer |
| Toggles free flight and movement through geometry. | Practice with |
| Repeats the most recent grenade throw. | Practice with |
Typing
sv_cheats 1does not make you an administrator on somebody else's server. Flying through walls, enabling invulnerability or changing server rules are not options you can unlock for yourself in Premier or official Competitive matches.
Three quick examples to copy
Display the counter with cl_showfps 1. To remove it, use cl_showfps 0.
Bind jump to scroll down with bind "mwheeldown" "+jump". You can still keep Space for jumping with bind "space" "+jump".
For a local training session, load your own practice map, enable sv_cheats 1, then enter noclip. Enter noclip again to return to ordinary movement.
How to enable and open the console in CS2
The developer console may be disabled by default. You do not need third-party tools or changes to Windows files to turn it on.
Launch Counter-Strike 2 and select the gear icon to open Settings.
Open the Game tab and locate Enable Developer Console (~).
Set the option to Yes.
Return to the menu or a match and press the assigned console key. On a US keyboard, this is normally the grave/tilde key (
`/~).Type a command such as
cl_showfps 1and press Enter.
These steps match the official Steam Support instructions for CS2. On other keyboard layouts, the console key may be located differently. If the expected key does not respond, inspect the keyboard and mouse bindings.
How to enter commands correctly
Most console variables use a command name, a space and a value. For example, volume 0.5 changes sound volume, while cl_showfps 1 enables the FPS counter. Action commands such as noclip, clear and bot_kick do not need a numeric argument.
You can separate independent commands with semicolons: cl_showfps 1; volume 0.5. Quotation marks matter when assigning a string to a key, for example bind "f6" "noclip". For longer practice configurations, one command per line in a .cfg file is easier to audit.
How to close or clear the console
Use the console key again or the normal close control. The command clear removes visible console history; it does not undo previously entered settings. Reversing a setting requires its former value, such as cl_showfps 0.
If the console will not open
Confirm that it is enabled in the Game tab, check your keyboard layout and make sure the key was not rebound. If the console window opens outside the visible screen, try changing display mode or resolution, then return to your preferred video settings. Check these possibilities before reinstalling the game.
Which console commands work in normal CS2 matches?
Console commands do not all have the same permissions. The essential distinction is between personal client settings and server-controlled rules. It explains why one command works in an official match while another is rejected outside a private session.
Client-side settings
Commands such as volume, fps_max, cl_showfps, bind, switchhands and ordinary crosshair variables modify your own client, controls or HUD. They do not require administrator access to the match server. Valve's input rules still govern what kinds of binds are permitted.
Practice and server commands
Many commands beginning with mp_ control round length, money, warmup and team rules. Commands beginning with sv_ typically concern server settings; some are additionally protected by the cheat flag. The prefix alone is not enough to determine whether a specific command needs sv_cheats.
In local practice, whoever controls the session can change these values. In Premier, Competitive or FACEIT, joining a server does not give you the rights to override its rules.
How to check an unfamiliar command
Start typing its name and look for autocomplete suggestions. You can search command descriptions with a term such as find grenade. An Unknown command error suggests a misspelling or that the command is not available in this build. A message about server permissions or sv_cheats indicates a different problem: the command may exist, but you cannot execute it here.
Old CS 1.6 and CS:GO command collections are not reliable CS2 documentation. Check console suggestions and current game behavior when using commands from older guides, particularly after major updates.
CS2 console commands for FPS and network statistics
The console can display FPS, limit frame rate and expose diagnostic measurements. However, an FPS display command does not improve performance, and removing an FPS cap does not add processing power to your CPU or GPU.
These commands concern monitoring and limits rather than Windows optimization. A separate performance investigation is needed if your game is stuttering or your hardware cannot sustain the desired frame rate.
The following table distinguishes what each command measures or controls.
Command | Purpose | Notes |
|---|---|---|
| Show current FPS. | Disable with |
| Remove the in-game FPS cap. | Does not guarantee higher FPS or lower input latency. |
| Cap the game at the selected FPS. | 240 is an example, not a universally optimal value. |
| Cap frame rate in menus and UI. | Does not set the in-match cap. |
| Enable the available frame-time telemetry display. | Can also be managed in CS2's Telemetry settings. |
| Display ping telemetry. | Shows network latency; it does not reduce it. |
How to show FPS in CS2
Enter cl_showfps 1 to display a counter and cl_showfps 0 to hide it. For FPS alongside frame timing and network information, use the built-in Telemetry options in the game settings.
Average FPS alone does not describe the entire experience. Repeated frame-time spikes can feel like stutter even when the displayed frame rate seems high. Compare similar scenes and look for consistent behavior rather than selecting the highest number shown during an empty map.
What does fps_max do, and which number should you choose?
fps_max sets an upper bound on frame rate. fps_max 0 removes that software limit, but the achievable FPS is still constrained by CPU, GPU, map, smokes, resolution and other game settings. If your PC produces fewer frames than the current cap in the scene you are testing, raising the cap cannot solve the underlying bottleneck.
For instance, fps_max 240 means that the game is limited to a maximum of 240 FPS, not that it must render exactly 240 every second. CS2 also exposes frame limits in Advanced Video → Frame Pacing through options such as Maximum FPS In Game and Maximum FPS In Menus.
Why not use net_graph 1?
The older CS:GO command net_graph 1 is not the standard way to display CS2 network information. Use CS2's native Telemetry settings instead. Depending on configuration, they can display FPS, frame times, ping and connection-quality indicators.
Compare the same map, position and similar gameplay conditions before and after a change. One high FPS reading after leaving a smoke cloud does not prove that a console command improved performance.
Crosshair, viewmodel, radar and HUD commands
These commands customize the way your game looks rather than changing server rules. Crosshair, weapon position and radar are personal preferences, not shortcuts to extra damage or accuracy. Start with a small change, check it in-game and keep the setting only if the result is easier to read.
Switch hands and adjust weapon position
You can switch the side on which your weapon appears or explicitly select left or right. The viewmodel commands move the visible weapon model; they do not change the camera's actual field of view in the world.
The most common commands are listed below.
Command | What changes |
|---|---|
| Toggle between the left-hand and right-hand viewmodel. |
| Display the weapon in the left hand. |
| Display the weapon in the right hand. |
| Set the weapon-model FOV; 68 is one example. |
| Shift the model horizontally. |
| Shift the model forward or backward. |
| Change its vertical position. |
For quick switching, use bind "h" "switchhands". Older CS:GO guides still suggest cl_righthand 0, but it is not the correct modern method for selecting your displayed hand in CS2.
Changing viewmodel_fov affects the appearance of your held weapon, not the map's actual camera FOV. Moving a weapon closer to the edge of the screen does not improve its recoil, firing rate or damage.
Crosshair commands in the updated system
You can edit the crosshair directly in CS2's settings or through console variables. The following examples demonstrate their current purpose. They are not an ideal crosshair for every player.
These examples use the newer pixel-based length, gap and thickness controls.
Command | Purpose |
|---|---|
| Select a static crosshair style. |
| Adjust the crosshair line length using current pixel-based units. |
| Adjust the gap between the crosshair elements. |
| Adjust crosshair line thickness. |
| Hide the center dot. |
Valve revised the crosshair system to use pixel-based measurements for line length, gap and thickness, alongside expanded settings. That is why cl_crosshair_length, cl_crosshair_gap and cl_crosshair_thickness replace the older names for these measurements. Values copied from an old CS:GO configuration should not be carried over blindly: both the variable names and the unit scale have changed. Check the current Crosshair settings screen before settling on a configuration.
Radar and minimap scale
Your radar can show teammate positions and map space beyond your immediate field of view. The right scale should make distant information readable without obscuring nearby details.
cl_radar_scale 0.4— an example of the radar's map scale.cl_radar_always_centered 0— allows the radar to place your position off center when appropriate.cl_hud_radar_scale 1— sets the size of the radar element in the HUD.cl_radar_rotate 1— rotates the map relative to where your character is facing.
If a change makes the minimap hard to understand, revisit the radar settings in the game menu. Excessive zoom can hide map areas; zooming too far out can make icons difficult to distinguish.
Sound volume and voice chat
volume 0.5 adjusts master sound volume. For voice chat volume, you can use snd_voipvolume, for example snd_voipvolume 0.7. The variable voice_modenable 1 controls whether voice communication is enabled, but it does not select a microphone device for Windows or Steam.
If teammates cannot hear you, check your input device and push-to-talk key as well as the console variable. Voice troubleshooting is a separate process from building a practice-server configuration.
How to bind a console command to a key in CS2
A bind tells the game to perform a command when you use a particular key or mouse button. Its basic syntax is bind "key" "action". For example, bind "mouse4" "slot8" assigns a smoke grenade slot to a side mouse button.
Useful CS2 binds for normal matches
The following examples assign a single ordinary action and do not require sv_cheats. They do not automate a series of moves or attacks.
Choose a key that is not already important to your existing setup.
Example | Purpose |
|---|---|
| Jump on mouse-wheel down. |
| Jump on mouse-wheel up. |
| Jump with Space. |
| Select the smoke grenade. |
| Select the flashbang. |
| Toggle weapon hand. |
| Speak while the key is held. |
A newly assigned bind replaces the existing action for that key. If you put jump on mouse-wheel down, you will also replace the usual weapon-scroll action in that direction unless you change your controls elsewhere.
How to remove a bind
Enter unbind "mouse4" to remove an action from that mouse button. The button stays unassigned until you bind it again. You can restore the ordinary layout through the settings menu or the binddefaults command, but be aware that this replaces your custom key assignments. Avoid unbindall unless you deliberately want to remove every bind, including movement.
Why automated multi-action binds are restricted
Valve restricts input automation that combines multiple movement or attack actions in one game input. Old jumpthrow scripts, null binds and similar shortcuts should not be copied blindly into competitive settings. CS2's normal grenade mechanics allow consistent jumpthrows without a script that automates multiple actions. Valve has discussed these restrictions in its official CS2 update notes.
Binding a key to a practice command does not make that feature legal or available in Premier. The key can be assigned successfully while the match server still rejects the action.
Useful practice-only binds
On a local server with the appropriate practice permissions, you can bind noclip and grenade rethrow to separate keys.
bind "f6" "noclip"
bind "f7" "sv_rethrow_last_grenade"F6 toggles free flight; F7 replays your previous grenade if one has already been thrown and the server allows it. Choose different keys if these are already assigned to something else.
Ready-to-use CS2 practice console commands
A local practice session lets you change round time, starting money, buying rules, bots and ammunition. Start through Play → Practice, choose a map and wait for it to load before applying the commands. Private server settings cannot be imposed on Premier or a public server you do not administer.
Use the three presets in order. Start with a minimal, clean session. Add shopping freedom if you need to reposition between exercises, then add grenade and bullet-impact tools for mechanical training. This is easier to troubleshoot than a huge pasted config.
Preset 1 — basic practice without bots
End warmup, remove freeze time, extend bomb-map rounds and prevent normal win conditions from interrupting your exercise.
bot_kick
mp_warmup_end
mp_freezetime 0
mp_roundtime_defuse 60
mp_ignore_round_win_conditions 1
mp_restartgame 1mp_roundtime_defuse 60 sets a very long round on bomb-defusal maps. Together with mp_ignore_round_win_conditions 1, it allows extended uninterrupted practice. This is more useful than promising a literally infinite clock: match timers and round-ending rules are separate server settings.
Preset 2 — buy anywhere and keep enough money
Add the following commands to Preset 1 if you regularly switch weapons or practice at different map positions.
mp_maxmoney 60000
mp_startmoney 60000
mp_buy_anywhere 1
mp_buytime 9999
mp_restartgame 1mp_maxmoney changes the maximum cash balance, mp_startmoney changes starting cash, mp_buy_anywhere 1 allows purchases outside the normal buy zone and mp_buytime 9999 lengthens the buy period. Restart the session if you do not see the starting-money change immediately.
Preset 3 — grenade and shooting practice
These additional commands enable protected practice functions such as unlimited ammunition, grenade previews and bullet-impact markers. They are intended for a session you control.
sv_cheats 1
sv_infinite_ammo 1
ammo_grenade_limit_total 5
sv_grenade_trajectory_prac_pipreview 1
sv_grenade_trajectory_prac_trailtime 8
sv_showimpacts 1
sv_showimpacts_time 8sv_infinite_ammo 1 lets you shoot repeatedly without normal ammunition consumption or reloading. For drills that still require reloads, try sv_infinite_ammo 2. The example ammo_grenade_limit_total 5 changes the grenade count allowed in practice; Valve also applies the total-grenade limit to the amount a player can buy during a round.
Unlimited ammunition is useful for repeating one spray pattern, but realistic round decisions require normal reloads, purchases and ammunition management. Turn the assisted settings off periodically if you are practicing competitive situations.
Copy the combined practice setup
Once you know which settings you need, they can be entered as one semicolon-separated line. If the console rejects a long paste, use the individual blocks above or the practice.cfg approach further below.
sv_cheats 1; bot_kick; mp_warmup_end; mp_freezetime 0; mp_roundtime_defuse 60; mp_ignore_round_win_conditions 1; mp_maxmoney 60000; mp_startmoney 60000; mp_buy_anywhere 1; mp_buytime 9999; sv_infinite_ammo 1; ammo_grenade_limit_total 5; sv_grenade_trajectory_prac_pipreview 1; sv_grenade_trajectory_prac_trailtime 8; mp_restartgame 1CS2's built-in Practice menu may already provide features such as infinite ammunition and the grenade camera. Do not add a console command if the game already has the exact setting you want enabled.
Infinite grenades, trajectories and rethrow commands in CS2
For smoke and flashbang lineups, you need enough grenades, a repeatable throw, a view of the predicted landing point and a way to reach the destination quickly. These needs are covered by CS2's controlled practice tools; none of them allow you to see through smoke in an official match.
Infinite grenades for practice
On your own practice map, enable the protected commands and infinite ammunition. You can also expand the number of different utility items available at once.
sv_cheats 1
sv_infinite_ammo 1
ammo_grenade_limit_total 5If buying a particular grenade still fails, inspect the current server's purchase rules and team loadout. The total grenade setting also affects how many grenades can be purchased during a round under updated CS2 rules.
Show the grenade's trajectory and landing preview
Use sv_grenade_trajectory_prac_pipreview 1 to enable practice preview features and sv_grenade_trajectory_prac_trailtime 8 to set the time a thrown grenade's trail remains visible. CS2 also offers supported grenade-camera options in its Practice menu.
sv_grenade_trajectory_prac_pipreview 1
sv_grenade_trajectory_prac_trailtime 8Do not substitute the old CS:GO settings sv_grenade_trajectory 1 or sv_grenade_trajectory_time. They are not the correct current practice-console options.
Rethrow the last grenade
Throw a grenade and enter sv_rethrow_last_grenade. The practice server repeats the previous throw. This allows you to move to another position and evaluate where a smoke blooms or how a flash affects a sightline.
A dedicated key saves repetitive typing:
bind "f7" "sv_rethrow_last_grenade"After throwing, use noclip to reach the landing area and press F7. Toggle flight back off when you want to view the result from a normal player position.
Give yourself grenades through the console
On an authorized practice server, give can create a supported weapon or utility item. You may also prefer the ordinary buy menu if shopping anywhere has been enabled.
Common examples are listed below.
Command | Item |
|---|---|
| Smoke grenade |
| Flashbang |
| High-explosive grenade |
| Molotov |
| Decoy grenade |
Which items you can carry or buy may depend on the team and the configured server rules. For normal smoke practice, the built-in Practice tools and buy menu are often sufficient.
Can you instantly clear smoke?
Private servers have developer tools that can manipulate grenade entities, but these should not be presented as a universal smoke-removal key for ordinary matches. If you need a completely fresh scene, restart the practice round with mp_restartgame 1 or wait for the smoke to dissipate. For detailed testing of one grenade, repeating the previous throw is usually more useful.
CS2 bot commands, weapon commands and aim practice
Bots are useful for practicing peeks, pre-aim, angles, trades and recoil without needing other players. One or two controlled bots can give you more repeatable information than filling a map with random opponents.
Remove, add, stop and position bots
These commands are meant for a local or administered practice server. Depending on team balance rules, you may need to lift player-count restrictions before adding bots.
The core bot commands work as follows.
Command | Effect |
|---|---|
| Remove bots from the match. |
| Add a bot. |
| Add a Counter-Terrorist bot. |
| Add a Terrorist bot. |
| Stop bot movement on a controlled server. |
| Allow bots to move again. |
| Place a bot near the position indicated by the crosshair in a supported practice session. |
| Remove team-size imbalance limits. |
| Disable automatic team balancing. |
For a single-angle drill, begin with one stationary CT bot:
sv_cheats 1
bot_kick
mp_limitteams 0
mp_autoteambalance 0
bot_add_ct
bot_stop 1Practice clearing the corner, then adjust the bot's position using bot_place if your practice setup supports it. Restore movement with bot_stop 0 when you want a less predictable drill.
Give yourself an AK-47, AWP or Desert Eagle
The give command creates supported items in a practice environment that permits it. It does not provide free rifles in official matchmaking.
sv_cheats 1
give weapon_ak47
give weapon_awp
give weapon_deagleOrdinary inventory and weapon-slot rules still matter. Creating more than one primary weapon does not turn your normal loadout into an unlimited armory. For switching equipment repeatedly, a buy-anywhere practice setup is often more convenient.
Infinite ammo and bullet-impact markers
For checking spray paths and wallbang positions, combine unlimited ammunition with hit markers.
sv_cheats 1
sv_infinite_ammo 1
sv_showimpacts 1
sv_showimpacts_time 8Fire controlled bursts and inspect the marks. Turn the visualization off with sv_showimpacts 0 when finished. If the goal is to master real recoil, do not combine the drill with altered weapon accuracy or server physics.
Can you disable spread or recoil for testing?
Controlled practice servers expose diagnostic accuracy settings. For example, weapon_accuracy_nospread 1 removes random spread where the server permits the command. That does not eliminate all aspects of weapon recoil and does not carry over into Premier or Competitive matches.
Use such settings to examine mechanics, not to assess real competitive accuracy. Restore normal random spread with weapon_accuracy_nospread 0 before continuing ordinary shooting practice.
Bunny hopping, noclip and other CS2 movement commands
Players often search for a single command to "enable bhop" or "fly in CS2." These searches cover three different things: binding a normal jump action, experimenting with custom server movement physics and switching into unrestricted movement during practice.
Mouse-wheel jump without changing game physics
In normal matches, bind "mwheeldown" "+jump" lets you trigger jumps through mouse-wheel movement. It does not remove server physics limits, perform automatic bunny hops or guarantee success. Timing and movement technique still matter.
Automatic bunny hopping on your practice server
If you want to experiment with air control on your own map, you can use supported server settings to enable automatic repeated jumps and change air acceleration. Such a session no longer reproduces ordinary Premier movement.
sv_cheats 1
sv_enablebunnyhopping 1
sv_autobunnyhopping 1
sv_airaccelerate 100sv_autobunnyhopping 1 enables repeated jumps while the jump control is held in the supported server configuration. sv_enablebunnyhopping 1 changes the usual bunny-hop restrictions, while sv_airaccelerate 100 is an example of increased air control. The value 100 is not a recommendation for competitive settings.
To return this test configuration toward normal values, use:
sv_autobunnyhopping 0
sv_enablebunnyhopping 0
sv_airaccelerate 12Custom community servers can have different default physics. For serious practice of manual bunny hopping, use normal movement rules and concentrate on jump timing and strafing.
Fly using noclip
On an authorized training server, first enter sv_cheats 1, then noclip. This toggles free flight through solid geometry. Enter it a second time to disable the mode, or assign bind "f6" "noclip" for convenience. It is not available in an ordinary Premier match.
Change game speed or test invulnerability
Developer commands can alter the speed of a locally controlled simulation. For example, host_timescale 0.5 slows time under supported server permissions, while host_timescale 1 restores normal speed.
Commands such as god and buddha belong to different developer damage-protection modes and should not be treated as identical. Most grenade and aim drills do not require either. Enable them only when you are testing a specific mechanic on a server you control.
CS2 cheat commands, wallhack and aimbot claims explained
Searches for "CS2 wallhack console command," "aimbot command" and "CS2 cheats" often mix built-in developer tools, practice visualizations and third-party cheating programs. These are not interchangeable.
What does sv_cheats 1 actually do?
sv_cheats 1 allows some cheat-protected commands to run on a server where you have sufficient control. It is a normal tool for testing and server administration. It does not automatically enable an aimbot, reveal all enemies through walls or override the permissions of official game servers.
Can a console command enable wallhack in Premier?
No. Developer visualization tools do not provide a working, legitimate wallhack for official matchmaking. The old CS:GO example r_drawothermodels 2 is not an up-to-date way of seeing opponents through walls in CS2 and should not be recommended as one.
On a local test server, you can use diagnostic overlays for impacts, grenade trajectories and supported object states. These are ways to analyze game mechanics and maps, not cheats that can be transferred to ranked matches.
Is there a CS2 console command for automatic aiming?
There is no built-in command that switches on an aimbot in Premier or official Competitive. For aim practice, use bots, training maps, impact markers and repeatable drills. Commands such as bot_stop 1 can keep the practice conditions stable, but they do not move your crosshair to targets automatically.
Do not install executable files claiming to unlock a "legal CS2 console wallhack" or "aimbot console code." Normal CS2 configuration does not require untrusted software, and console commands cannot grant permissions that the match server does not provide.
Outdated CS:GO console commands you should stop copying
Many popular command lists combine advice written for CS 1.6, CS:GO and CS2. That causes Unknown command errors and encourages players to configure features that have already been replaced.
These commonly repeated examples either use old names, no longer describe the current system or should be removed from your CS2 config.
Old command | What's wrong | What to use in CS2 |
|---|---|---|
| The old CS:GO network graph is not CS2's standard diagnostic overlay. | Use built-in Telemetry. |
| Old model-rendering trick is not a current online wallhack command. | Use authorized map-testing tools in practice. |
| Old weapon-hand variable. |
|
| Old line-length, gap and thickness names and scales. |
|
| Old grenade visualization syntax. |
|
| Not the modern practice trail setting. |
|
| Outdated CS:GO loading tweak. | Do not treat it as an FPS optimization. |
| Older voice-chat variable name. | Check |
| Recommendations tied to CS:GO's older networking model. | Do not transfer old network-tuning numbers. |
| Old bind target for removing decals. | Do not reuse legacy decal-clearing binds. |
A familiar cl_ or sv_ prefix does not establish that a command still exists. Consult the console's own suggestions and responses before keeping an old line in your configuration. An unexplained "performance config" downloaded from the internet is not a substitute for understanding what each command changes.
How to save, undo and reset CS2 console commands
Most everyday preferences can be adjusted and saved through the game itself. Practice-server commands, however, are easier to reuse from a separate configuration file than to retype before each session.
Save practice commands in practice.cfg
Find Counter-Strike 2 in your Steam Library, open its Properties and select the option to browse installed files.
Inside the game's directory, navigate to
game/csgo/cfg. Thecsgodirectory name is normal in CS2.Create a plain-text file named
practice.cfg. Make sure Windows has not actually named itpractice.cfg.txt.Put one console command on each line. This makes it easier to inspect or remove individual settings later.
Launch your local practice map, open the console and enter
exec practice.
For example, the file can contain the following commands and a confirmation message:
sv_cheats 1
bot_kick
mp_warmup_end
mp_freezetime 0
mp_roundtime_defuse 60
mp_ignore_round_win_conditions 1
mp_buy_anywhere 1
mp_buytime 9999
mp_maxmoney 60000
mp_startmoney 60000
sv_infinite_ammo 1
sv_grenade_trajectory_prac_pipreview 1
bind "f6" "noclip"
bind "f7" "sv_rethrow_last_grenade"
mp_restartgame 1
echo "Practice configuration loaded"Seeing Practice configuration loaded confirms that the game read that line from the file. It does not prove that every protected server command worked. You still need the relevant server permissions and, where appropriate, a fresh round.
Undo individual settings
Many numeric variables can be reset by supplying the intended value. For example, cl_showfps 0 hides the counter, sv_infinite_ammo 0 disables unlimited ammunition, sv_showimpacts 0 turns off future impact markers and mp_buy_anywhere 0 restores buy-zone restrictions on a managed server.
Toggle commands such as noclip can be turned off by entering the same command again. Use unbind "f6" to remove a key assignment, or bind the key to your original action. Disabling sv_cheats does not necessarily undo every other value you altered in a practice session.
Reset controls without deleting everything
If one bind caused trouble, fix that one first. binddefaults restores standard bindings, but overwrites custom key assignments. Keep a record of your preferred jump, grenade and communication binds before using it.
If a practice configuration no longer behaves as intended, leave the local session, correct its .cfg file or restore the changed variables, and restart the map. For ordinary video and control options, the in-game settings menu is the safest place to restore defaults. Deleting your whole Steam configuration directory should be a last resort and should only be done after making a backup.
Keep training commands in a separate
practice.cfgand normal key assignments elsewhere. That prevents fly-mode binds, unlimited ammunition and extended rounds from interfering with your everyday configuration.
Why CS2 console commands do not work
Most failures come down to a typo, an obsolete command, server permissions, a conflicting bind or a setting that applies only after a round restarts. Look at the actual console response before trying random alternative commands.
Use this table to identify the next useful check.
Problem | Likely cause | What to do |
|---|---|---|
Console will not open | Disabled setting or a different keyboard binding. | Enable it under Settings → Game, then check layout and bound key. |
| Misspelled name or a command absent from current CS2. | Inspect spelling and avoid old CS:GO instructions. |
Command requires | The server blocks protected commands. | Use a private practice server you control and enable |
Bot cannot be added | Team-size or balance restrictions. | On your server, check |
Starting money did not change | The setting takes effect at a new round or match. | Run |
Bind does nothing | Wrong key name, conflict or a prohibited scripted action. | Use a simple single-action bind and verify quotation marks. |
Practice setup disappears | The map or server restarted; settings were not reapplied. | Run your |
No extra FPS after | The cap was not the real performance bottleneck. | Measure actual FPS and frame times instead of raising the cap further. |
Unwanted in-game behavior | A console variable or bind was changed. | Restore the specific setting, remove the bind or restart local practice. |
How to confirm a command took effect
For many variables, typing the name without a value lets the console show the current setting. For visual changes, check the game screen as well. For server changes, make sure you are on the intended session and have the rights to manage its rules.
For instance, cl_showfps 1 should display a counter, switchhands should change the side of the visible weapon and bot_kick should clear bots from local practice. If you cannot see the expected effect, inspect the console output and permissions before downloading someone else's config.
Frequently asked questions about CS2 console commands
How do I enable the console in CS2?
Open Settings → Game, find Enable Developer Console (~) and select Yes. Then open the console with its assigned key. To run a command, enter something like cl_showfps 1 and press Enter.
How can I see all available CS2 commands?
Use autocomplete by typing the beginning of a command and the search facility find with a relevant term. The internal command collection is extensive and includes development tools that ordinary players do not need. A command appearing in suggestions does not give you permission to execute it on a server you do not manage.
Which command shows FPS in CS2?
cl_showfps 1 enables the FPS counter and cl_showfps 0 hides it. For more detailed performance and connection information, use CS2's built-in Telemetry menu rather than the old CS:GO net_graph 1 command.
Is there a console command that increases FPS?
fps_max 0 removes a software FPS cap. It does not make your computer faster. Low FPS or frame-time spikes require investigation of video settings, CPU/GPU workload, temperatures and the specific scene you are testing. There is no universal console command that guarantees higher performance.
How do I kick every bot in CS2?
In a local match or server you manage, use bot_kick. To add bots later, use bot_add, bot_add_ct or bot_add_t, subject to team restrictions.
How do I get infinite warmup time?
On your own server, set a long warmup duration using mp_warmuptime and restart warmup with mp_warmup_start if needed. For a long practice round rather than a warmup session, mp_warmup_end, mp_roundtime_defuse 60 and mp_ignore_round_win_conditions 1 are often more convenient.
How can I increase round time?
Use mp_roundtime_defuse 60 on a bomb-defusal practice map. mp_roundtime 60 can be relevant to other modes. These are server rules; an individual player cannot extend a Premier match by entering them.
How do I get unlimited money for practice?
On your own practice server, set mp_maxmoney 60000 and mp_startmoney 60000, then use mp_restartgame 1. This is a large but finite amount, enough for repeated practice purchases. Add mp_buy_anywhere 1 and mp_buytime 9999 when you want to shop almost anywhere and at any point in the exercise.
How do I enable infinite ammunition and grenades?
In controlled practice, enter sv_cheats 1, then sv_infinite_ammo 1. If you want to alter the number of grenades allowed, try ammo_grenade_limit_total 5. These settings cannot be enabled by ordinary players on Premier servers.
What command rethrows my last grenade?
After throwing a grenade in a permitted practice session, enter sv_rethrow_last_grenade. You can also assign bind "f7" "sv_rethrow_last_grenade" for repeated experiments.
How do I fly around a CS2 map?
In your own practice game, enable sv_cheats 1, then enter noclip. Type noclip again to disable flight. This capability is not available to ordinary players in official competitive matches.
What is the bunny-hop command in CS2?
Use bind "mwheeldown" "+jump" to place normal jumping on the mouse wheel. For automatic repeated jumps, you can experiment with sv_autobunnyhopping 1 on an authorized local server after enabling protected practice commands. These are different functions, and altered practice physics should not be confused with normal match movement.
How do I switch the weapon to my left hand?
switchhands toggles between sides. Use switchhandsleft to explicitly show the left-hand viewmodel or switchhandsright for the right-hand viewmodel. Do not rely on the old CS:GO cl_righthand setting.
Can console commands give me wallhack or aimbot in Premier?
No. Built-in CS2 console commands do not unlock wallhack or automatic aiming on official match servers. sv_cheats 1 is used for protected developer and practice functions where you have server control; it does not override matchmaking permissions.
How do I reset a command or unbind a key?
Return a variable to its preferred value, such as cl_showfps 0. To remove an assignment, use unbind "f6". The command binddefaults can restore standard bindings, but it will overwrite your custom ones too.
How do I save commands between sessions?
Many personal settings are already remembered by the game. For repeatable training sessions, save your commands in practice.cfg under game/csgo/cfg, load your local map and run exec practice.
Can I hear players' voice chat in CS2 demos using commands?
Demo playback and voice controls are a separate topic. Whether voice audio is available depends on the recording format, how the demo was captured and whether those voice streams were included. This is not governed by the console commands used to configure a live practice server or microphone.