Commands for installing GitHub Desktop Beta 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 GitHub.GitHubDesktop.Beta -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id GitHub.GitHubDesktop.Beta -e --silentwinget uninstall --id GitHub.GitHubDesktop.Beta -e --silentBy installer
64-bit · EXE · Current user
Silent install
GitHubDesktopSetup-x64.exe /s64-bit · MSI · All users · en-US
Silent install
msiexec /i GitHubDesktopSetup-x64.msi /qn /norestartWrite a log
msiexec /i GitHubDesktopSetup-x64.msi /qn /norestart /l*v "%TEMP%\github-desktop-beta-install.log"Uninstall
msiexec /x {42BE184E-9DEA-4FF1-8520-CAF033E9F2A1} /qn /norestart- MSI product code
- {42BE184E-9DEA-4FF1-8520-CAF033E9F2A1}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{42BE184E-9DEA-4FF1-8520-CAF033E9F2A1}
- UpgradeCode
- {00D8E2EE-13EA-5BEB-87F0-70EFC46A7D4A}
- Install folder
- %ProgramFiles(x86)%\GitHub Desktop Deployment
- DisplayVersion
- 3.5.5.0
ARM64 · EXE
The publisher has not documented a silent switch for this installer.ARM64 · MSI · All users · en-US
Silent install
msiexec /i GitHubDesktopSetup-arm64.msi /qn /norestartWrite a log
msiexec /i GitHubDesktopSetup-arm64.msi /qn /norestart /l*v "%TEMP%\github-desktop-beta-install.log"Uninstall
msiexec /x {83989686-A7D4-4870-BFA0-F55D9358E0F9} /qn /norestart- MSI product code
- {83989686-A7D4-4870-BFA0-F55D9358E0F9}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{83989686-A7D4-4870-BFA0-F55D9358E0F9}
- UpgradeCode
- {00D8E2EE-13EA-5BEB-87F0-70EFC46A7D4A}
- Install folder
- %ProgramFiles(x86)%\GitHub Desktop Deployment
- DisplayVersion
- 3.5.5.0
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-github-desktop-beta.ps1
$url = 'https://github.com/desktop/desktop/releases/download/release-3.5.5-beta2/GitHubDesktopSetup-x64.exe'
$sha256 = '13B6AEF56979DDE28AC4FD88FC8F51E8DEBE5A3B2A8F4BA3F16BB6AD4557156C'
$file = Join-Path $env:TEMP 'GitHubDesktopSetup-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-github-desktop-beta.ps1
$url = 'https://github.com/desktop/desktop/releases/download/release-3.5.5-beta2/GitHubDesktopSetup-x64.msi'
$sha256 = '17255206638115552E6987649729A4A5A4ABD07C91AF32478945CDCED5EACA3B'
$file = Join-Path $env:TEMP 'GitHubDesktopSetup-x64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait install-github-desktop-beta.ps1
$url = 'https://github.com/desktop/desktop/releases/download/release-3.5.5-beta2/GitHubDesktopSetup-arm64.msi'
$sha256 = 'DF3C5270C0B02AEBE32817153D4BF05AD3C2C53D6D3343445D134D25D2A9995A'
$file = Join-Path $env:TEMP 'GitHubDesktopSetup-arm64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait