CS2 Console Commands Every Player Should Know
The console gives you quick control over the game. These commands are safe, useful and cover the most common needs.
Enable the console
Go to Settings, then Game, and set Enable Developer Console to Yes. Press the console key (~ or `, depending on your keyboard) to open it.
Connecting
connect IP:PORT: join a server by address. Example:connect 37.19.215.248:26162. See our full guide.disconnect: leave the current server.retry: reconnect to the last server.status: shows information about the server you are on.
Performance
cl_showfps 1: shows your frames per second on screen. Use0to hide it.fps_max 0: removes the frame-rate cap. Choose a number instead if you prefer a limit.
Controls and settings
sensitivity 1.5: sets mouse sensitivity to the value you type.bind KEY "command": assigns a command to a key.quit: closes the game.
Good to know
Servers can restrict some commands, and settings may change between game updates. If a command does not work, check that the console is enabled and that you typed it exactly. Looking for a server to try them on? Browse our guide to joining community servers.
Keep reading
How to connect to a CS2 server by IP
Players who have a server IP and need to join it.
Read guide →What is FFA in CS2, and how it differs from deathmatch
Players comparing FFA and deathmatch server types before choosing one.
Read guide →How to find the best CS2 community servers
Players searching for a good CS2 server and unsure how to judge one.
Read guide →