Command-line interface (CLI)

The Game Server Hosting (GSH) command-line interface (CLI) is a sub-module of the UGS CLI and offers a way to build automated workflows that interact with the Game Server Hosting service.

The Game Server Hosting CLI sub-module supports the same functionality as the user interface on the Unity Cloud Dashboard. Refer to the CLI documentation for a full list of available commands.

Get started with GSH CLI

You can access the GSH CLI sub-module through the Unity UGS CLI. The UGS CLI also provides common functionality for all UGS services, such as authentication, managing organizations, managing environments, and managing projects.

To get started, download the UGS CLI and follow the instructions in the UGS CLI documentation to authenticate and set your organization, project, and environment.