文档

​
​

Development

User Acquisition

Monetization

工业

Unity Production Pipeline

Unity Dashboard

Unity Automation

Unity Editor

Unity Studio

Open Unity Dashboard

Unity Production Pipeline

此页面不支持所选语言。
​
​
Unity Production Pipeline
  • Unity Production Pipeline architecture
  • Getting started
  • Pipeline APIs
  • Local tools
    • Unity CLI
    • Unity Pipeline package
    • Compare the tools
  • Unity Production Pipeline web
  1. Unity Production Pipeline (beta)
  2. Local tools and Unity CLI

Compare the Unity CLI and Unity Pipeline package

Learn how the Unity CLI and Unity Pipeline work together, and which tool you need to automate workflows in a running Unity Editor.
阅读时间2 分钟
最后更新于 23 天前

The Unity CLI is a standalone command-line tool that Unity Hub installs automatically. You can also install it manually on your machine. The Unity CLI manages Unity Editors and modules, opens projects, and automates Unity workflows. You can also use the CLI to install the Unity Pipeline package in your project.
The Unity Pipeline package works with the Unity CLI so you interact with a running Unity Editor. After you install the package, the CLI can connect to the Editor and execute commands in the Editor context. The CLI and Pipeline package serve different purposes, but you use them together to automate workflows in a running Unity project. For a detailed comparison, refer to the following table:

Category

Unity CLI

Unity Pipeline package

TypeA standalone command-line tool.A Unity package that you install with the Unity CLI.
InstallationAutomatically installed with Unity Hub, or install it manually on your machine independently of any Unity project.Install in your Unity project using the Unity CLI.
PurposeUse it to manage Editors and modules, open projects, and automate Unity workflows.Use it to run an in-Editor HTTP server that the CLI connects to, so you can run commands in the Editor context.
UsageRun commands in a terminal, or let an AI agent run them for you.Run commands in the Editor through the CLI.
ExtensibilityInstall packages such as Unity Pipeline to add new commands.Define your own commands in C# with the package's command framework. Use
eval
for workflows that don't have a dedicated command. Repeated
eval
usage can help identify workflows that should become first-class commands.
ExamplesUse
unity install
to install a Unity Editor,
unity open
to open a project, or
unity build
to build a project.
Use
unity command
with Pipeline commands such as
create_scene
,
create_gameobject
, or
set_transform
to create and modify content in a running Editor.

Copyright © 2026 Unity Technologies
法律信息隐私政策CookiesDocumentation Terms of Use请勿出售或分享我的个人信息您的隐私选择(Cookie 设置)

“Unity”、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属公司在美国和其他地方的商标或注册商标(此处查看更多信息)。其他名称或品牌是其各自所有者的商标。

为方便起见,一些页面是机器翻译的,可能包含不准确的内容。如有信息不一致的情况,以英文版本为准。


    报告此页面的问题