title: How do I install WinGet on Windows Server 2019?
body: <p>I'm trying to install WinGet on a Windows Server 2019 (Standard Edition, Version 1809, Build 17763), but I can't get it to work...</p>
  <p>When trying the &quot;install directly&quot; link from <a href="https://devblogs.microsoft.com/commandline/windows-package-manager-1-0/" rel="nofollow noreferrer">this blog post</a> I get the following link <code>ms-appinstaller:?source=https://aka.ms/getwinget</code> which my browser doesn't understand because I don't have the App Installer.</p>
  <p>So I downloaded the <code>Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.appxbundle</code> from the GitHub releases page mentioned in the same blog post (which should contain both the App Installer and WinGet). Because my system doesn't get .appxbundle files I tried installing it using Powershell:</p>
  <pre><code>Add-AppxPackage &quot;.\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.appxbundle&quot;
  </code></pre>
  <p>But it complains that it misses <code>Microsoft.VCLibs.140.00.UWPDesktop</code>:</p>
  <pre><code>Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF3, Package failed updates, 
  dependency or conflict validation.
  Windows cannot install package Microsoft.DesktopAppInstaller_1.11.11451.0_x64__8wekyb3d8bbwe 
  because this package depends on a framework that could not be found. Provide the framework 
  &quot;Microsoft.VCLibs.140.00.UWPDesktop&quot; published by &quot;CN=Microsoft Corporation, O=Microsoft 
  Corporation, L=Redmond, S=Washington, C=US&quot;, with neutral or x64 processor architecture and 
  minimum version 14.0.29231.0, along with this package to install. The frameworks with name
  &quot;Microsoft.VCLibs.140.00.UWPDesktop&quot; currently installed
  </code></pre>
  <p>Apparently, this is a <a href="https://docs.microsoft.com/en-us/troubleshoot/cpp/c-runtime-packages-desktop-bridge" rel="nofollow noreferrer">&quot;C++ Runtime framework packages for Desktop Bridge&quot;</a> that can also be downloaded as an appx; installing it first and then installing the DesktopAppInstaller/WinGet bundle goes without errors:</p>
  <pre><code>Add-AppxPackage &quot;.\Microsoft.VCLibs.x64.14.00.Desktop.appx&quot;
  Add-AppxPackage &quot;.\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.appxbundle&quot;
  </code></pre>
  <p>However, at this point I seem to have the App Installer (as it now recognises the .appx/.appxbundle files), but not the WinGet client, because when I run it from a command prompt it tells me:</p>
  <pre><code>'winget' is not recognized as an internal or external command, operable program or batch file.
  </code></pre>
  <p>How can I get WinGet to work on a Windows Server 2019 machine?</p>