# Building the Server ## Compiling === "Windows" ```bash ./publish.cmd ``` === "OSX/Linux" ```bash ./publish.sh ```

`os` (_Optional_)
The operating system to build the server against. If not specified then the server will be built for the same operating system. :fontawesome-brands-windows:{: .windows } `win`
:fontawesome-brands-apple:{: .apple } `osx`
:fontawesome-brands-ubuntu:{: .ubuntu } `ubuntu.16.04`, `ubuntu.18.04` `ubuntu.20.04`
:brands-debian:{: .debian } `debian.9`, `debian.10`
:fontawesome-brands-centos:{: .centos } `centos.7`, `centos.8`

`framework` (_Optional_)
The framework used to build the server. That framework must be installed. .NET Core 3.1 `core`
.NET 5 Preview `net`