Asset Library CLI command reference
Explore the commands and options you can use to search, inspect, import, download, and package individual Asset Store assets from the Unity CLI.
Read time 2 minutesLast updated a day ago
Run Asset Library commands as . To install the plug-in, refer to Install the Asset Library CLI.
unity assetlibrary <command>Commands that act on one asset take an asset ID in the form or . Some assets also require a render pipeline variant. For more information about asset IDs and render pipeline variants, refer to Introduction to the Asset Library CLI.
assetIdassetId@versionIdCommands
Command | Description |
|---|---|
| With no command, shows your sign-in status, your organization, and suggested next steps. |
| Finds assets by text, by image, or by filters alone. |
| Shows the full details of one asset, including package URL, triangles, vertices, size, art style, and files. |
| Opens a page in a browser where you choose between assets, and then prints the IDs of the assets you chose. |
| Imports an asset's files into a Unity project. Alias: |
| Downloads an asset's files into a folder outside a Unity project. |
| Builds a .unitypackage file of an asset, signed for an organization that you specify. |
| Checks the plug-in installation, Unity CLI version, sign-in, organization, access, and connection to the Asset Library service. |
| Prints the plug-in version and the Unity CLI versions it supports. |
Global options
You can use the following options with every command.
Option | Description |
|---|---|
| Sets the output format: |
| Disables prompts. If a command needs a value that you didn't provide, it fails with a usage error. Use this option in continuous integration (CI) pipelines and with coding agents. |
| Omits next-step hints: notifications in |
| Shows help for a command. |
| Prints the version. |
Exit codes
The Asset Library CLI uses the same exit codes as the Unity CLI. For the list of exit codes and which codes you can retry, refer to Exit codes.