Documentation

Unity command-line interface (CLI)

Download Unity Hub

Unity command-line interface (CLI)

Unity account, license, cloud, and collaboration commands for the Unity CLI

Sign in to your Unity account, authenticate with a service account, manage licenses, and work with Unity Cloud organizations, projects, and collaboration from the Unity CLI.
Read time 1 minuteLast updated 2 days ago

Use these commands to sign in to your Unity account, manage the Unity licenses on your machine, and work with Unity Cloud organizations, projects, and collaboration. For unattended workflows such as CI pipelines, you can authenticate with a Unity service account instead of an interactive sign-in. For version control, refer to Version control commands for the Unity CLI.

Accounts, licenses, and Unity Cloud

Command

Alias

Description

auth
a
Sign in, check login state, or sign out.
license
Lists, activates, and returns Unity licenses on this machine.
cloud
Shows cloud sign-in state, organizations, and Unity Cloud projects, and creates organizations (
cloud org create
).

Sign in and out

The
auth
command manages your Unity account session.
unity auth loginunity auth statusunity auth logout

Command

Description

unity auth login
Opens a browser-based sign-in flow.
unity auth status
Prints the current signed-in user, if any.
unity auth logout
Signs out of the current session.
unity auth consumers
Lists the applications that have used your Unity sign-in on this machine.
unity auth revoke <application>
Stops an application from using your sign-in. Pass
--restore
to undo a revoke.

Unity Collaboration

Command

Alias

Description

collaboration
collab
Manages Unity Collaboration annotations, attachments, thumbnails, and reactions, and link Jira issues to them.