Documentation

Unity Hub

Unity CLI

Install, update, and use the Unity CLI to manage Unity Editors and modules from a terminal.
Read time 1 minuteLast updated 6 days ago

Note
The Unity CLI is experimental. Full feature parity with the Unity Hub UI isn't guaranteed.
The Unity CLI is a standalone command-line tool for installing and managing Unity Editors and modules from a terminal. It's distributed as its own binary and you can install, update, and use it independently of the Unity Hub desktop application. The Unity CLI is well suited for:
  • Continuous integration (CI) and build agents where installing the full Hub is undesirable.
  • Scripting and automation that needs structured output (JSON or TSV) and predictable exit codes.
  • Users who prefer a terminal-first workflow for everyday Hub tasks.
If you have existing scripts that use the Hub CLI's
-- --headless
syntax, review the migration guide in the Unity CLI reference.