Documentation

​
​

Development

User Acquisition

Monetization

Industry

Unity command-line interface (CLI)

Download Unity Hub

Unity command-line interface (CLI)

​
​
Unity command-line interface (CLI)
  • Introduction to the Unity CLI
  • Use the Unity CLI
  • Unity CLI reference
  • Replace MCP Server with Unity CLI
  • Unity CLI release notes
  1. Unity command-line interface (CLI)

Introduction to the Unity command-line interface (CLI)

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

Note
The Unity CLI is experimental.
The Unity CLI is a standalone command-line tool for installing and managing Unity Editors and modules from a terminal. The Unity Hub now automatically installs the Unity CLI. Since it's distributed as its own binary, you can install, update, and also 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.
Note
To use the Unity CLI to control the Unity Editor, install and set up the Unity Pipeline package. For an example of how you can use the Unity CLI with Unity Pipeline, refer to the Unity CLI introduction video.
If you have existing scripts that use the Hub CLI's
-- --headless
syntax, review the migration guide in the Unity CLI reference.
Use the Unity command-line interface (CLI)Install the CLI, update it, and complete common tasks such as installing Editors, adding modules, signing in, and opening projects.
Unity command-line interface (CLI) referenceFind commands, options, output formats, exit codes, and migration information for the Unity CLI.

Unity CLI introduction video

The following video gives an overview of the Unity CLI and how you can use it with the Unity Pipeline package.

Copyright © 2026 Unity Technologies
LegalPrivacy PolicyCookiesDocumentation Terms of UseDo Not Sell or Share My Personal InformationYour Privacy Choices (Cookie Settings)

"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S and elsewhere (more info here). Other names or brands are trademarks of their respective owners.

Some pages are machine-translated for convenience, and may contain inaccuracies. In the event of conflicting information, the English version is authoritative.

  • On this page
    • Unity CLI introduction video

  • Additional resources
  • Use the Unity command-line interface (CLI)
  • Unity command-line interface (CLI) reference