SteamCMD is Valve's command-line tool for downloading and updating dedicated server files on a Windows VPS. Many self-hosted Steam game servers use it before you install the actual game server, run updates, or validate server files.

This guide shows the normal Windows desktop method first, then gives a PowerShell version you can use if you prefer commands.

Download SteamCMD with Microsoft Edge

  1. Connect to your Windows VPS with Remote Desktop or the VPS console.
  2. Open Microsoft Edge. If Edge shows first-run setup screens, finish those prompts first.
  3. Go to https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip.

    Microsoft Edge with the SteamCMD download URL entered

  4. Press Enter and wait for steamcmd.zip to download.

    Microsoft Edge downloads panel showing steamcmd.zip downloaded

Extract SteamCMD to C:\steamcmd

  1. Open the Downloads folder.
  2. Right-click steamcmd.zip, then click Extract All....

    Windows File Explorer showing Extract All for steamcmd.zip

  3. Set the destination folder to C:\steamcmd.
  4. Leave Show extracted files when complete ticked, then click Extract.

    Windows extract dialog with destination set to C steamcmd

  5. After extraction, confirm steamcmd.exe is inside C:\steamcmd.

    Windows File Explorer showing steamcmd.exe in C steamcmd

Run SteamCMD for the first time

  1. Double-click steamcmd.exe.
  2. Allow SteamCMD to download and install its own updates.
  3. Wait until the console shows the Steam> prompt.

    SteamCMD console updated and ready at the Steam prompt

Once SteamCMD is ready, you can install a game server with the app ID and commands from that game's guide. A typical dedicated server install uses force_install_dir, login anonymous, app_update, and quit.

PowerShell method

If you prefer PowerShell, open PowerShell as Administrator and run these commands:

New-Item -ItemType Directory -Force -Path C:\steamcmd
Invoke-WebRequest -Uri https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip -OutFile C:\steamcmd\steamcmd.zip
Expand-Archive C:\steamcmd\steamcmd.zip -DestinationPath C:\steamcmd -Force
C:\steamcmd\steamcmd.exe

SteamCMD will update itself the first time it opens. After it reaches the Steam> prompt, follow the game-specific server install guide for the correct app ID and install directory.

  • 0 användare blev hjälpta av detta svar
Hjälpte svaret dig?