# Installing the s&box Dedicated Server (/docs/sbox/install-server)



import { Step, Steps } from 'fumadocs-ui/components/steps';

The s\&box dedicated server is distributed through Steam under app ID **1892930**. You install and update it with [SteamCMD](https://developer.valvesoftware.com/wiki/SteamCMD).

> 📝 On XGamingServer managed hosting, this step is handled for you — the panel installs and updates the server automatically. The instructions below are for self-hosting or for understanding what happens behind the scenes.

Requirements [#requirements]

* **SteamCMD** installed on your machine ([Valve docs](https://developer.valvesoftware.com/wiki/SteamCMD))
* **.NET Runtime** installed (s\&box server runs on .NET — required on Linux, bundled on Windows in most cases)
* A directory with sufficient free disk space for the server files

Install or Update with SteamCMD [#install-or-update-with-steamcmd]

<Steps>
  <Step>
    Open a Terminal in Your SteamCMD Directory [#open-a-terminal-in-your-steamcmd-directory]

    `cd` into the folder where you installed SteamCMD.
  </Step>

  <Step>
    Run the App Update Command [#run-the-app-update-command]

    ```bash
    ./steamcmd +login anonymous +app_update 1892930 validate +quit
    ```

    This downloads (or updates) the s\&box dedicated server files and verifies them. The same command is used to update — just run it again.
  </Step>

  <Step>
    Locate the Installed Server [#locate-the-installed-server]

    By default the server is installed to:

    ```
    steamcmd/steamapps/common/sbox dedicated server
    ```

    The main executable is `sbox-server.exe`.
  </Step>
</Steps>

Updating the Server [#updating-the-server]

Run the same `app_update 1892930 validate` command whenever a new build ships. The `validate` flag re-checks file integrity and is recommended after any update.

Related Guides [#related-guides]

* [Launch Parameters](/docs/sbox/launch-parameters)
* [Staging Branch](/docs/sbox/staging-branch)
* [Change Game & Map](/docs/sbox/change-game-and-map)
