热门: 数据更新于2026年10月27日

软件分类

网络软件1,356
通讯社交321
影音软件898
图形图像539
办公软件1,124
开发工具3,134
AI工具529
安全与隐私385
系统工具3,114
游戏523
教育与科学239
网络与IT284

Unity CLI静默安装与卸载参数

Command-line interface for installing Unity Editors and creating, opening, and building Unity projects.

用于免交互安装Unity CLI、卸载以及在部署工具中检测安装状态的命令。只列出确定可用的命令:来自清单文件,或来自安装程序技术的官方默认参数。

相关教程: 静默安装参数大全:MSI、NSIS、Inno Setup · 用注册表或PowerShell卸载程序

使用winget

PowerShell
winget install --id Unity.CLI -e --silent --accept-package-agreements --accept-source-agreements
winget upgrade --id Unity.CLI -e --silent
winget uninstall --id Unity.CLI -e --silent

按安装包

64位 · MSIX · en-US

静默安装Add-AppxPackage -Path unity-windows-x64.msix
卸载Get-AppxPackage -Name UnityTechnologies.UnityCLI | Remove-AppxPackage

ARM64 · MSIX · en-US

静默安装Add-AppxPackage -Path unity-windows-arm64.msix
卸载Get-AppxPackage -Name UnityTechnologies.UnityCLI | Remove-AppxPackage

PowerShell:下载、校验、安装

下载官方文件,校验SHA256后静默安装。

install-unity-cli.ps1
$url = 'https://public-cdn.cloud.unity3d.com/hub/prod/cli/1.0.0-beta.14/unity-windows-x64.msix'
$sha256 = 'A0F22E09B7E678C6DFDD49008F216163070C71DD3B1F9159D12DFEFC80039F96'
$file = Join-Path $env:TEMP 'unity-windows-x64.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file

终端与命令行热门榜

查看全部
  1. PowerShell终端与命令行 · Microsoft Corporation
  2. QPDF终端与命令行 · QPDF
  3. Oh My Posh终端与命令行 · Jan De Dobbeleer
  4. Microsoft Azure CLI终端与命令行 · Microsoft Corporation
  5. yq终端与命令行 · Mike Farah
  6. Alacritty终端与命令行 · Alacritty
  7. fzf终端与命令行 · Junegunn Choi
  8. PuTTYSSH 和 Telnet 在 Windows 和 Unix 平台的免费实现,以及 xterm 终端模拟器。
  9. cURL终端与命令行 · curl
  10. Tabby更现代的终端

Unity Technologies Inc.的其他软件

查看全部
  • Unity Hub管理 Unity 编辑器的多个安装、创建新项目和访问您的工作

标签

分享