Commands for installing Unity Hub without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With winget
PowerShell
winget install --id Unity.UnityHub -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Unity.UnityHub -e --silentwinget uninstall --id Unity.UnityHub -e --silentBy installer
64-bit · EXE (NSIS) · All users
Silent install
UnityHubSetup-3.22.6-x64.exe /SCustom folder
UnityHubSetup-3.22.6-x64.exe /S /D=C:\Apps\unity-hub- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Unity Technologies - Hub
- DisplayVersion
- 3.22.6
64-bit · MSIX
Silent install
Add-AppxPackage -Path UnityHubSetup-3.22.6-x64.msixUninstall
Get-AppxPackage -Name UnityTechnologies.UnityHub | Remove-AppxPackageARM64 · EXE (NSIS) · All users
Silent install
UnityHubSetup-3.22.6-arm64.exe /SCustom folder
UnityHubSetup-3.22.6-arm64.exe /S /D=C:\Apps\unity-hub- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Unity Technologies - Hub
- DisplayVersion
- 3.22.6
ARM64 · MSIX
Silent install
Add-AppxPackage -Path UnityHubSetup-3.22.6-arm64.msixUninstall
Get-AppxPackage -Name UnityTechnologies.UnityHub | Remove-AppxPackagePowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-unity-hub.ps1
$url = 'https://public-cdn.cloud.unity3d.com/hub/prod/3.22.6/UnityHubSetup-3.22.6-x64.exe'
$sha256 = '2BD8B7086C0BC986F033A31B55BC5D1F5452D10CAB66B5F41C98AB5D84CABFA2'
$file = Join-Path $env:TEMP 'UnityHubSetup-3.22.6-x64.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait install-unity-hub.ps1
$url = 'https://public-cdn.cloud.unity3d.com/hub/prod/3.22.6/UnityHubSetup-3.22.6-x64.msix'
$sha256 = 'B3B5DD62D6CE221F83CEDA4A32788FC75A3F7AC1802D06FD62BDF42B3E74BFDC'
$file = Join-Path $env:TEMP 'UnityHubSetup-3.22.6-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 install-unity-hub.ps1
$url = 'https://public-cdn.cloud.unity3d.com/hub/prod/3.22.6/UnityHubSetup-3.22.6-arm64.exe'
$sha256 = '96044AA048B65876397083077B99788B76FDAC46433A0644E0AA23AE791D210B'
$file = Join-Path $env:TEMP 'UnityHubSetup-3.22.6-arm64.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait install-unity-hub.ps1
$url = 'https://public-cdn.cloud.unity3d.com/hub/prod/3.22.6/UnityHubSetup-3.22.6-arm64.msix'
$sha256 = '762D58FFCADA2F888AAADB20983E10AFC077988EBA0C0914B4568B80BF06F4B2'
$file = Join-Path $env:TEMP 'UnityHubSetup-3.22.6-arm64.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file