--- title: Creating a build --- # Creating a build The server software must be built before it can be run. === "Windows" Using _windows terminal_, _git bash_, or _powershell_, run: ```bash ./publish.cmd ``` === "OSX/Linux" Using _terminal_, run: ```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-linux:{: .linux } `linux`


`arch` (_Optional_)
The architecture to build the server against. If not specified then the server will be built for x64. `x64`
`arm64`