An obelisk with hieroglyphs painted with the letter B sits in the middle of the B bombsite on Anubis in Egypt in Counter-Strike 2.
Screenshot by Dot Esports

The most useful console commands for CS2

Make the most of your console.

If you’re playing Counter-Strike 2 and aren’t using console commands, you’re missing out. This tactical shooter features a long list of customizable options that let you personalize your game.

Recommended Videos

You can use the console to add, tweak, and replace elements of the user interface like your mini-map, HUD, crosshair, and much more. 

How to open the console in CS2

The image shows a typical Terrorist model in CS2 with a mute icon.
Don’t miss out on these commands. Image by Dot Esports

To use the console in CS2, press the tilde (~) key on your keyboard when you’re in a game. If you haven’t already, you can enable your console by heading to your settings and checking the Enable Developer Console box.

When you open the console, type in any of these commands.

Best console commands for user interface in CS2

cq_netgraph 1

This command lets you see a ton of useful information on your screen, but it’s not as informative as its previous CS:GO counterpart.

cl_showfps 1

This one displays your current fps on screen. It’s helpful to know how well your computer is handling CS2 in case you need to change your settings to improve performance.

fps_max 0

This command lets you limit your maximum fps. If you want it to be unlimited, just keep it at 0.

bind [key][action]

This is probably one of the most important commands in the game. With it, you can bind a certain action to a custom key on your keyboard. For example, if you want to bind jump to Y, just write bind Y+jump, and now you’ll jump when you press this key. It’s very useful when you want to use non-default keybindings.

disconnect

If you finish a game, or for some reason want to quickly leave the one you’re currently in, typing disconnect returns you to the main menu of the game.

switchhands

It lets you switch between the right and left-hand viewmodel in CS2. If you’re left-handed or prefer swapping your viewmodel to get a clear view at certain angles, this command is useful. By default, this action is bound to H, but you can also switch it using the console. For example, if you want to bind it to your mouse button, just write bind mouse5 switchhands.

voice_modenable

If you’re sick of listening to your teammates rambling on, this command will give you some peace and quiet. It mutes everyone on your team, or unmutes them if they’re already muted.

snd_voipvolume0.5

This changes the voice chat volume of your teammates. As a scaleable command, you can increase or decrease the volume however you see fit by adjusting the number at the end of the command between 0 and 1.

quit

Like disconnect, quit, as the name suggests, completely shuts down CS2.

volume 0.x

With this command, you can quickly set your in-game volume. Just replace X with a number. For example, if you want 20 percent volume, just write volume 0.2.

Best console commands for customization in CS2

cl_disable_ragdolls 1

Like the name suggests, this command disables the ragdoll animation in CS2.

cl_drawhud 0

With this command, you can disable all HUD elements. In a standard matchmaking game, it’s of no use, but if you want to take a better screenshot, it’s perfect.

Best console commands for FPS and lag in CS2

fps_max 0

No, this won’t make your game run at zero frames per second. Instead, it will make your computer run the game as fast as possible for your current setup.

cl_hide_avatar_images 1

This is a useful one thanks to the fact that it cuts down some of the data digging CS2 normally does. The avatars you see for both friendly and enemy players are retrieved from Steam. Disabling them means CS2 doesn’t communicate as much with Steam.

cl_autohelp 0

Many folks dislike popup hints, especially in a game as competitive as CS2. Turning them off won’t just help your GPU, as it’ll have less to worry about, but you won’t have to see gameplay reminders you’re already aware of.

vprof_off AND iv_off

Both VProf and IV run behind the scenes in CS2. Their entire purpose is to boost the game’s performance, but if you don’t have a super-powerful rig, it’ll do more harm than good. Turning it off could give you the FPS boost you need.

cl_updaterate 128

This command could help fix interpolation rates for your game. Upping this setting to 128 should, hopefully help matches feel more responsive.

cl_interp_ratio 1

This command is another way to potentially lower an inconsistent interpolation rate.

Tip:

Increasing your update rate and lowering your interpolation rate can have finicky results. If these commands don’t work for you, try using different numbers until you find the settings that are best for you and your PC.

Best console commands for performance in CS2

novid (performance)

This command turns off Valve’s annoying pre-game intros, saving you a few seconds when you load up a new map.

high (performance)

With this command, CS2 will be given a high priority in your CPU usage, meaning the game should, in theory, run smoother.

Best console commands for practice in CS2

sv_cheats 1

This command lets you experiment with your own server. You can use it to activate almost any client-sided or server-sided console command.

noclip

With noclip, you can freely fly throughout the map on the server you’re hosting. Keep in mind that it needs sv_cheats 1 to work properly.

sv_infinite_ammo 1

Grants you unlimited ammo for all your weapons and grenades.

mp_restartgame 1

If you need to restart your practice match, this command does the trick.

sv_grenade_trajectory

This command is excellent for practicing grenades. You can use it to execute pop-flashes, smokes, and get to grips with the game’s physics. Once used, it shows the trajectory of your grenade in the air.

sv_rethrow_last_grenade

Sometimes when practicing alone, knowing where a grenade lands simply isn’t enough. Seeing them with your own eyes helps you understand grenade trajectories much better. To repeat the next grenade you throw, use this command.

bot_add

This command adds a bot to your private game, allowing you to practice your aim before you jump into matchmaking.

bot_kick

As the name suggests, this command kicks a bot.

bot_place

If you need a bot to stand in a certain position so you can try out a boost or a new tactic, this command will come in handy. It places a bot in a location you’re looking at.

bot_stop 1

This makes all the bots on the server stop moving. Typing the command with 0 instead of 1 makes them move again.

mp_roundtime 60

With this command, you can set the round time to 60 minutes, which is enough time to practice your grenade throws and strategies. If not, you can always start another round and use this command again.

mp_buytime 60000; mp_buy_anywhere 1; ‘mp_maxmoney 65535;mp_startmoney 65535

If you want to switch to any weapon at any time and buy them without limits, use this command. The first part lets you obtain new equipment anywhere and anytime you want, while the second gives you tons of money to do so.

mp_respawn_on_death_ct 1; mp_respawn_on_death_t 1

Allows you to respawn instantly after death.

r_drawOtherModels 2

Highlights players and bots so they’re visible through walls.

changelevel [map code]

Allows you to change maps without having to leave a practice server.

god

This command gives you god mode, making you indestructible in private servers. It requires the sv_cheats 1 command.

kill

This command kills you on the spot.

How to create an autoexec file for CS2

If you want to make console command changes to CS2 that apply themselves every time you open the game, you’ll want to create an autoexec.cfg file.

Here’s what you need to do:

Screenshot of the Launch Options section within the Steam settings for Counter-Strike 2.
Head to steam. Screenshot by Dot Esports
  1. Select the Manage option for CS2 in Steam by right-clicking the game.
  2. Select Browse Local Files.
  3. Open the CSGO, then CFG folder.
  4. Inside the CFG folder, create a Text Document.
  5. Name this document autoexec.cfg.
  6. Open this document using Notepad or your preferred text editor.
  7. Within the text editor, add your preferred console commands.
    • The console commands you enter here will run every time you launch CS2.
  8. Make sure to save the file before closing it.
  9. Head back to Steam, and select the Properties option after right-clicking CS2.
  10. Head to the General tab and find the text box beneath Launch Options.
  11. Type +exec autoexec.cfg into the text box.

Now, when you launch CS2, your preferred console commands will be applied automatically.


Dot Esports is supported by our audience. When you purchase through links on our site, we may earn a small affiliate commission. Learn more
related content
Read Article You might be able to pick up CS2’s chickens soon according to leaks
A chicken sitting on the ground in CS2.
Read Article CS2 nerfs incendiary and T-side plant money, adds skin rentals in May 23 update
M4A4 and A site of Vertigo in CS2.
Read Article Valve’s latest CS2 patch contains a single note—and players don’t know what to think anymore
A selection of barrels and plywood at the top of Banana on Inferno in CS2.
Related Content
Read Article You might be able to pick up CS2’s chickens soon according to leaks
A chicken sitting on the ground in CS2.
Read Article CS2 nerfs incendiary and T-side plant money, adds skin rentals in May 23 update
M4A4 and A site of Vertigo in CS2.
Read Article Valve’s latest CS2 patch contains a single note—and players don’t know what to think anymore
A selection of barrels and plywood at the top of Banana on Inferno in CS2.
Author
Jerome Heath
Jerome Heath is a senior editor at Dot Esports.
Author
Mateusz Miter
Polish Staff Writer. Mateusz previously worked for numerous outlets and gaming-adjacent companies, including ESL. League of Legends or CS:GO? He loves them both. In fact, he wonders which game he loves more every day. He wanted to go pro years ago, but somewhere along the way decided journalism was the more sensible option—and he was right.
Author
Nikhil Bahuguna
Nikhil is a freelance writer who’s been writing about games since 2020. In his free time, you can find Nikhil setting a red carpet in Valorant.