> For the complete documentation index, see [llms.txt](https://docs.linuxgsm.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.linuxgsm.com/commands/workshop-update.md).

# workshop-update

Installs, updates and removes the Steam Workshop mods set in `workshopmods`, for game servers that cannot download Workshop content themselves.

Available for Arma 3, Barotrauma, Colony Survival, DayZ, Hurtworld, Left 4 Dead 2, Operation: Harsh Doorstop, Soldat, Squad, Squad 44, Starbound and Stationeers from v26.4.0. See [Workshop](https://docs.linuxgsm.com/steamcmd/workshop.md#linuxgsm-workshop-downloads) for setup and requirements.

{% hint style="warning" %}
For Arma 3, Colony Survival and DayZ, the Steam account in `steamuser` must own the game, not just the dedicated server. Otherwise every Workshop item fails to download. Workshop items for the other games download without this.
{% endhint %}

## Usage

```
./gameserver workshop-update
```

```
./gameserver wu
```

## What it does

* Expands any collections in `workshopmods` and checks each item for updates.
* Downloads new and changed items with SteamCMD while the server keeps running.
* Installs each item where the game loads mods from. For Arma 3 and DayZ, it also converts file names to lowercase and copies keys into `serverfiles/keys`.
* Removes mods that are no longer in `workshopmods`. Mods you added yourself are left alone.
* If the server is running and anything was installed, updated or removed, the server is restarted.

The [update](https://docs.linuxgsm.com/commands/update.md) command runs the same Workshop update after updating the game server, and [check-update](https://docs.linuxgsm.com/commands/check-update.md) reports Workshop updates without applying them.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.linuxgsm.com/commands/workshop-update.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
