exit
exit
Now, what if you simply just want to leave the game instantly? That’s what the exit command is for.
EXTRA INFORMATION
Find additional information relating to this command below.
sv_cheats Required
No
Client or Server Command
Client

exit Command Help & Examples

In both Counter-Strike: Global Offensive and Counter-Strike 2, any player can toggle the in-game developer console and make use of commands to customize their gameplay for a variety of reasons. Say you want to practice smoke lineups and easily clip through walls to the location your utility should hit? There’s a command for that. Want the round to never end even after multiple hours? It’s definitely possible!

Now, what if you simply just want to leave the game instantly? That’s what the exit command is for.

How Do You Use The Command?

To use any command in the game, you must first access the in-game developer console which is usually bound to the ~ key on your keyboard. In the event your keyboard doesn’t have this key, you can bind the console to open upon pressing any available button you have. Since cl_downloadfilter is not considered a cheat command, there is no need to input “sv_cheats 1” on the console. After this, simply type or copy and paste the command “exit” to the console. 

By typing exit, you will immediately quit the game.

When Can You Use The Command?

You can use the command in any kind of game, whether competitive, casual, or your own private server.