Documentation

Unity Hub

Command line interface overview

Compare the Unity command line interface and Hub command line interface and choose the interface that fits your workflow.
Read time 1 minuteLast updated 4 days ago

Install and manage Unity Editors and modules from a command line interface (CLI) in one of the following ways:
  • Unity CLI: The standalone
    unity
    binary. Install, update, and run it without the Unity Hub desktop application. Use it for new scripts, automation, and CI pipelines.
  • Hub CLI: The CLI in the Unity Hub desktop application. Run it in headless mode with
    -- --headless
    on Windows and macOS, or with
    --headless
    on Linux.
Note
The Unity CLI is experimental. The CLI might not include every feature available in the Hub UI. The Hub CLI is deprecated with minimal support from version 3.18.0 of the Unity Hub.
For command syntax, flags, and module IDs, refer to Unity CLI reference or Hub CLI reference.