GitHub Desktop Silent Install (How-To Guide)


GitHub Desktop is a tool that allows you to interact with GitHub from the desktop. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of GitHub Desktop from the command line using both the EXE & MSI installers.

How to Install GitHub Desktop Silently

GitHub Desktop Silent Install (EXE)

  1. Navigate to
  2. Download the EXE to a folder created at (C:\Downloads)
  3. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  4. Navigate to the C:\Downloads folder
  5. Enter the following command: GitHubDesktopSetup.exe -s
  6. Press Enter

After a few moments you should see the GitHub Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:GitHub Desktop
Vendor:GitHub, Inc.
Architecture:x86_x64
Installer Type:EXE
Silent Install Switch:GitHubDesktopSetup.exe -s
Silent Uninstall Switch:"%LocalAppData%\GitHubDesktop\Update.exe" --uninstall -s
Download Link:https://desktop.github.com/

GitHub Desktop Silent Install (MSI)

The GitHub Desktop MSI installer does NOT actually install the application (As of 9/30/2020 anyway…). It simply copies the GitHubDesktop.exe to the Program Files directory. You then need to launch the GitHubDesktop.exe to install the application. So basically, it’s the same as running the EXE version mentioned above with extra steps. If you still want to use the MSI you can proceed with the steps below.

  1. Download the GitHub Desktop MSI Installer
  2. Download the MSI to a folder created at (C:\Downloads)
  3. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  4. Navigate to the C:\Downloads folder
  5. Enter the following command:
    • MsiExec.exe /i GitHubDesktopSetup.msi /qn
  6. Press Enter
  7. Enter the following command:
    • "%ProgramFiles(x86)%\GitHub Desktop Installer\GitHubDesktop.exe" -s
  8. Press Enter

After a few moments you should see the GitHub Desktop Shortcut appear. You will also find entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:GitHub Desktop
Vendor:GitHub, Inc.
Architecture:x86_x64
Installer Type:MSI
Silent Install Switch (Part 1)MsiExec.exe /i GitHubDesktopSetup.msi /qn
Silent Install Switch (Part 2)"%ProgramFiles(x86)%\GitHub Desktop Installer\GitHubDesktop.exe" -s
Silent Uninstall Switch (Part 1)"%LocalAppData%\GitHubDesktop\Update.exe" --uninstall -s
Silent Uninstall Switch (Part 2)MsiExec.exe /x GitHubDesktopSetup.msi /qn
Download Link:https://central.github.com/deployments/desktop/desktop/latest/win32?format=msi

The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website.


How to Uninstall GitHub Desktop Silently

  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter one of the following commands:

GitHub Desktop Silent Uninstall (EXE)

"%LocalAppData%\GitHubDesktop\Update.exe" --uninstall -s

GitHub Desktop 2.5.6.0 Silent Uninstall (MSI)

"%LocalAppData%\GitHubDesktop\Update.exe" --uninstall -s
MsiExec.exe /x GitHubDesktopSetup.msi /qn

Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.

Recent Posts