How to Setup a CS2 Dedicated Server (2026 Ultimate Guide)

Published: 2026-02-18 · 12 min read · Server

Prerequisites

Before stepping into the installation, ensure you have:

  • A Windows PC or VPS (Minimum 4GB RAM, 50GB Storage)
  • A stable internet connection
  • SteamCMD installed

Step 1: Install SteamCMD

Download SteamCMD and extract it to a folder (e.g., C:\steamcmd). Run steamcmd.exe to update it.

Step 2: Download CS2 Server Files

In the SteamCMD console, type the following commands one by one:

force_install_dir C:\cs2server
login anonymous
app_update 730 validate
quit

This will download the dedicated server files (~40GB).

Step 3: Create a Start Script

Go to your server folder (game/bin/win64). Create a new text file named start.bat and paste this:

cs2.exe -dedicated -usercon +game_type 0 +game_mode 1 +map de_mirage

Step 4: Port Forwarding

Open TCP/UDP 27015 on your router/firewall to let players connect.

Step 5: Generate GSLT

Go to the Steam Game Server Account Management page. Create a token for App ID 730. Add +sv_setsteamaccount YOUR_TOKEN to your start script.

Frequently Asked Questions

How much RAM do I need?

For a vanilla 10-player server, 4GB is sufficient. 128-tick isn't a thing anymore technically, but subtick needs good CPU.

Can I host on WiFi?

It is creating lag spikes. Always use Ethernet for hosting.

Related CS2 Guides

Browse CS2 Surf Servers · All CS2 Servers