SteamCMD is Valve's command-line tool for downloading and updating Steam dedicated server files. Use it when a game supports Linux dedicated server hosting.
Connect with SSH first, then install the required packages for your distribution.
Ubuntu or Debian
sudo apt update sudo apt install steamcmd
If the package is not available, enable the required repositories for your distribution and run the install again.
Run SteamCMD
steamcmd
A typical anonymous dedicated-server install looks like this:
login anonymous force_install_dir /home/steam/myserver app_update APPID validate quit
Replace APPID with the Steam dedicated server app ID for the game you are installing. Some games require a Steam account instead of anonymous login.
