Trail CLI is a command-line tool that allows you to run your game builds locally, and upload them to the Trail Game Manager.
Download the latest version on the Game Manager (requires a developer account).
Below you have the CLI commands reference for the latest version: 1.2.5.
Initializes your game project, linking it to Trail. Remember to run from the root folder of your game project.
> cd \path\to\my\project > trail init navigate with [j] and [k] then press Enter to select select corresponding Trail game: > Example Game ✓ game 'Example Game' successfully initialized
Logs your CLI into Trail using your developer account. You need to do this before using other commands such as
trail dev, etc.
> trail login e-mail: [email protected] password: ********** ✓ log in successful
Runs a local development server needed when running the Trail SDK locally, for example, when running in the Unity Editor.
> cd path\to\my_unity_project > trail dev ⓘ listening on 23000
trail builds upload PATH
Uploads the build located at
PATH to Trail. You can then run the uploaded build from the Game Manager.
> trail builds upload \path\to\build ✓ all files read ✓ build uploaded and queued for post-processing ⓘ visit https://manage.beta.trail.gg for current status
Updated almost 3 years ago