Documentation

Unity Hub

Hub CLI

Find the Unity CLI commands that replace the Hub command line interface (CLI), and the Hub CLI documentation for Unity Hub 3.
Read time 1 minuteLast updated 9 days ago

Important
Unity Hub 4.0 and later don't run Hub CLI commands. Use the Unity CLI instead. The Hub CLI pages in this section apply to Unity Hub 3 only.
The Hub CLI is the headless mode of the Unity Hub 3 desktop application. In Unity Hub 3, you run it with
-- --headless
on Windows and macOS, or with
--headless
on Linux, to install and manage Unity Editors and modules from a terminal. The Hub CLI is deprecated from version 3.18.0 of the Unity Hub.

Hub CLI commands in Unity Hub 4.0

In Unity Hub 4.0 and later,
-- --headless help
lists the Unity CLI command that replaces each Hub CLI command. The other Hub CLI commands don't run: the Hub prints the Unity CLI command to use instead and exits with an error.

Hub CLI command

Unity CLI command

editors
,
e
unity editors
install-path
,
ip
unity install-path
install
,
i
unity install
install-modules
,
im
unity install-modules
To install the Unity CLI and look up the options of each command, refer to Use the Unity CLI and Unity CLI reference.

Hub CLI in Unity Hub 3