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.
読み終わるまでの所要時間 2 分最終更新 2日前
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 |
|---|---|---|
| | Sign in, check login state, or sign out. |
| Lists, activates, and returns Unity licenses on this machine. | |
| Shows cloud sign-in state, organizations, and Unity Cloud projects, and creates organizations ( |
Sign in and out
The command manages your Unity account session.
authunity auth loginunity auth statusunity auth logout
Command | Description |
|---|---|
| Opens a browser-based sign-in flow. |
| Prints the current signed-in user, if any. |
| Signs out of the current session. |
| Lists the applications that have used your Unity sign-in on this machine. |
| Stops an application from using your sign-in. Pass |
Set the floating license server
On a computer that uses floating licenses, an administrator sets the license server once for every user on the computer:
sudo unity license server set https://licensing.example.com:8080
On Windows, run the command from an elevated terminal (Run as administrator), without .
sudoThe command checks that the server answers as healthy before it saves it. To save the server on a computer set up offline, add . It edits the machine-wide file the way you would by hand: it keeps every other setting and the file's permissions. If users without administrator rights can also edit the file, the command tells you so, and leaves its permissions as they are. To turn floating licensing off without losing the server, run ; turns it back on. To let users borrow a floating license and work offline, add to or ; turns it off. Borrowing also has to be allowed on the license server itself. To apply a change, close Unity Hub and all Unity Editors: the Unity Licensing Client reads the new settings the next time it starts. To check the result, run .
--forceservices-config.jsonsudo unity license server disablesudo unity license server enable--work-offlinesetenable--no-work-offlineunity license server statusUnity Collaboration
Command | Alias | Description |
|---|---|---|
| | Manages Unity Collaboration annotations, attachments, thumbnails, and reactions, and link Jira issues to them. |