Install the CLI
With npm
To install the CLI with npm, make sure you have node and npm installed, then run:
npm install -g ugs
This installs the CLI as an npm package and adds ugs
to your PATH.
After installation, you should be able to call ugs --version
and other commands directly from your command line.
From GitHub
To install official releases of the Unity Gaming Services CLI, follow these steps.
- Go to the GitHub Releases page.
- Find the latest version.
- Under "Assets", click and download the zip for your operating system.
- Unzip the file.
- On macos and linux, use
chmod +x <path_to_executable>
to mark the file as executable.
At this point, the CLI will be usable if called by the terminal in the same directory, or by specifying the application's path.
For convenience, you can add the executable to PATH.
Operating System Compatibility
Operating System | Required Version |
---|---|
Windows | 10 or later |
Linux | Ubuntu, Alpine or other major distros |
MacOS | 10.15 or later |