Install, update and remove DayZ Workshop mods on a Linux dedicated server via SteamCMD.
curl -LsSf https://raw.githubusercontent.com/KarnesTH/dzmod/main/install.sh | shFrom a local checkout:
uv tool install .- Linux and uv (uv provides Python 3.14 if needed)
- A Steam account that owns DayZ
- SteamCMD — installed into
~/Steamby dzmod if missing; 32-bit libraries have to be installed by you (dzmod shows the command) - Optional: SteamID64 and a Steam Web API key to list your subscribed mods
Run the server commands inside the DayZ server directory or pass --server-dir.
| Command | Description |
|---|---|
dzmod setup |
Set Steam login and SteamID64 (runs automatically on first start) |
dzmod mods [-r] |
Show your subscribed DayZ mods; -r fetches them from Steam again |
dzmod check |
Show the update state of all installed mods |
dzmod update |
Download outdated mods and install them again |
dzmod install |
Pick mods from your subscriptions |
dzmod install --mod-id <ID …> |
Install mods by Workshop ID |
dzmod install --collection |
Install the mods of dzmod.col |
dzmod remove [--mod-id <ID …>] |
Remove mods, their keys and CE entries |
What install does:
- Copies the mod into the server directory and missing
.bikeyfiles intokeys/ - Extracts
types,spawnabletypesandeventsfrom the mod intompmissions/<mission>/ce_<mod_name>/and registers them incfgeconomycore.xml - Map mods are set up first: mission files are fetched, copied to
mpmissions/and set astemplateinserverDZ.cfg - Expansion mods add
expansion_ceand the event spawns from the official Expansion mission templates - Prints the
-mod=start parameter
dzmod.col in the server directory:
[collection]
name = "My Server"
description = "Mods used on my server"
created = 2026-11-15
updated = 2026-11-15
[mods]
CF
Community-Online-Tools
MMG Base Storage
Mods are listed by their Workshop title. The order is used for -mod= after CF, COT and Dabs Framework.
- The Steam Web API key is never written to disk. dzmod asks for it (masked) only when your subscribed mods are
reloaded, or reads it from the
DZMOD_STEAM_API_KEYenvironment variable. - dzmod stores no Steam password; SteamCMD handles the login itself.
uv sync
uv run pytest