Garry's Mod Server Setup Guide
Complete walkthrough to install and configure your Garry's Mod dedicated server using SteamCMD.
Prerequisites
- Windows: Windows Server 2019 or later
- Linux: Ubuntu 20.04 LTS, Debian 11, or CentOS 8+
- RAM: Minimum 2GB, Recommended 4GB+
- Disk Space: 15GB minimum
Installing SteamCMD
SteamCMD is the command-line tool for downloading and updating Source game servers.
Windows Installation
Linux Installation
Downloading Garry's Mod Server
Use SteamCMD to download the server files:
This downloads Garry's Mod (AppID 4020) and requires about 5-8GB of disk space.
Server Configuration
Create a srcds_run (Linux) or srcds.exe (Windows) startup script:
Starting the Server
Run the startup script to start your Garry's Mod server:
Pro Tip: Use screen or tmux on Linux to keep the server running after closing the terminal.
Connecting to Your Server
- Open Garry's Mod
- Press F1 to open the console
- Type:
connect your_server_ip:27015
Next Steps
After setup, consider installing Workshop addons and configuring server settings.