Summary of topics
- 1. What is SteamCMD and why is it used?
- 2. Download and install SteamCMD
- 3. Log in to SteamCMD
- 4. Set the server installation folder
- 5. Install Dedicated Game Server
- 6. Update Server
- 7. Automatically run SteamCMD with a script
- 8. Running a Dedicated Server
- 9. Important points in managing Dedicated Server
- Conclusion
1. What is SteamCMD and why is it used?
SteamCMD is a command-line version of the Steam client designed specifically for managing and installing game servers. This tool is used for the following:
Installing a Dedicated Server without the need to install full Steam
Receive game updates quickly and automatically
Executing network commands and validating files
Ability to run scripts automatically in Linux or Windows server environments
For most games that have dedicated servers (like Valheim, Rust, ARK, etc.), the only official way to install a server is through SteamCMD.
2. Download and install SteamCMD
SteamCMD on both operating systems Windows and Linux It is applicable.
2.1. Installing SteamCMD on Windows
A custom folder like:
Download the steamcmd.zip file
Extracting content inside a folder
File execution:
SteamCMD automatically updates itself after running.
2.2. Installing SteamCMD on Linux (Ubuntu/Debian)
First install the dependencies:
Then download SteamCMD:
3. Log in to SteamCMD
Once launched, to log in to your Steam account:
If the game doesn't require login, you can use anonymous login:
(Many Dedicated Servers can be downloaded anonymously.)
4. Set the server installation folder
Specify the folder where you want the server to be installed:
You can also give the full path:
force_install_dir /home/server/valheim/
5. Install Dedicated Game Server
Every game is one AppID The server is installed using this AppID:
Example:
To install a theoretical server (hypothetical AppID):
After the installation is complete, the server will be located in the selected path.
6. Update Server
To update the server, just run the same command again:
If you click validate, the files will be checked and repaired, but it will take more time.
7. Automatically run SteamCMD with a script
For server environments, it is recommended to use scripts.
Example script in Windows (Batch File)
Sample script in Linux
8. Running a Dedicated Server
After installation, the server executable file is located inside the installation folder.
For example, on Windows:
mygameserver.exeOr on Linux:
./mysserver.x86_64Depending on the type of game, configuration settings such as ports, config files, RAM settings, etc. are located in the server folder.
9. Important points in managing Dedicated Server
Always stop the server before running it again.
To avoid disruption, do not validate after the update unless there is a problem.
SteamCMD is the best option for cloud servers (VPS)
Most games place server data in config files inside the game folder.
Conclusion
SteamCMD is one of the main tools for installing and setting up dedicated game servers on Windows and Linux. Using this tool, you can have quick installation, automatic updates, and complete management on the Dedicated Server.
If you're planning to set up a game server on a powerful VPS, SteamCMD is a standard and professional choice to start with.









