|
7 | 7 | - winget |
8 | 8 | draft: false |
9 | 9 | created: 2025-12-31T16:30 |
10 | | -updated: 2025-12-31T17:02 |
| 10 | +updated: 2025-12-31T17:16 |
11 | 11 | --- |
12 | | -This guide describes several methods to install WinGet (Windows Package Manager) on Windows 11 LTSC. |
13 | | - |
14 | | -## Requirements |
15 | | - |
16 | | -- Windows 11 LTSC (24H2 or newer recommended) |
17 | | -- Administrator privileges |
18 | | -- Internet access |
19 | | - |
20 | | -## Manual Installation Directly from the Microsoft winget‑cli Repository. |
21 | | - |
22 | | -1. Download the following from the winget GitHub releases: |
23 | | - - `DesktopAppInstaller_Dependencies.zip` |
24 | | - - `*_License1.xml` |
25 | | - - `Microsoft.DesktopAppInstaller_*.msixbundle` |
26 | | - source: [Releases · microsoft/winget-cli](https://github.com/microsoft/winget-cli/releases) |
27 | | - |
28 | | -2. Extract `DesktopAppInstaller_Dependencies.zip` |
29 | | - - Copy all files from both `x86` and `x64` folders into one folder. |
30 | | - |
31 | | -3. Install dependencies: |
32 | | -```pwsh |
33 | | -Add-AppxPackage Microsoft.VCLibs.140.00_14.0.*_x86.appx |
34 | | -Add-AppxPackage Microsoft.VCLibs.140.00_14.0.*_x64.appx |
35 | | -Add-AppxPackage Microsoft.VCLibs.140.00.UWPDesktop_14.0.*_x86.appx |
36 | | -Add-AppxPackage Microsoft.VCLibs.140.00.UWPDesktop_14.0.*_x64.appx |
37 | | -Add-AppxPackage Microsoft.WindowsAppRuntime.1.8_*_x86.appx |
38 | | -Add-AppxPackage Microsoft.WindowsAppRuntime.1.8_*_x64.appx |
| 12 | +Here is a revised version of your guide with improved formatting for both Obsidian and online publishing, along with a recommendation on headline structure. |
| 13 | + |
| 14 | +### A Guide to Installing WinGet on Windows 11 LTSC |
| 15 | + |
| 16 | +This guide provides step-by-step instructions for installing the Windows Package Manager (WinGet) on Windows 11 LTSC. |
| 17 | + |
| 18 | +*** |
| 19 | + |
| 20 | +### Requirements |
| 21 | + |
| 22 | +Before you begin, ensure you have the following: |
| 23 | + |
| 24 | +* **Operating System:** Windows 11 LTSC (24H2 or newer is recommended) |
| 25 | +* **Permissions:** Administrator privileges |
| 26 | +* **Connectivity:** An active internet connection |
| 27 | + |
| 28 | +*** |
| 29 | + |
| 30 | +### Manual Installation from the Microsoft `winget-cli` Repository |
| 31 | + |
| 32 | +This method involves directly downloading and installing the necessary files from the official WinGet repository on GitHub. |
| 33 | + |
| 34 | +#### 1. Download Required Files |
| 35 | + |
| 36 | +Navigate to the [winget-cli GitHub releases page](https://github.com/microsoft/winget-cli/releases) and download the following files: |
| 37 | + |
| 38 | +* `DesktopAppInstaller_Dependencies.zip` |
| 39 | +* A file ending in `_License1.xml` |
| 40 | +* `Microsoft.DesktopAppInstaller_*.msixbundle` |
| 41 | + |
| 42 | +#### 2. Extract and Organize Dependencies |
| 43 | + |
| 44 | +1. Extract the contents of the `DesktopAppInstaller_Dependencies.zip` file. |
| 45 | +2. Create a single folder and copy all the files from both the `x86` and `x64` folders into it. |
| 46 | + |
| 47 | +#### 3. Install Dependencies |
| 48 | + |
| 49 | +Open PowerShell with administrator privileges and run the following commands to install the necessary dependencies: |
| 50 | + |
| 51 | +```powershell |
| 52 | +# Installs the Visual C++ Libraries |
| 53 | +Add-AppxPackage Microsoft.VCLibs.140.00_14.0.*_x86.appx |
| 54 | +Add-AppxPackage Microsoft.VCLibs.140.00_14.0.*_x64.appx |
| 55 | +Add-AppxPackage Microsoft.VCLibs.140.00.UWPDesktop_14.0.*_x86.appx |
| 56 | +Add-AppxPackage Microsoft.VCLibs.140.00.UWPDesktop_14.0.*_x64.appx |
| 57 | +
|
| 58 | +# Installs the Windows App Runtime |
| 59 | +Add-AppxPackage Microsoft.WindowsAppRuntime.1.8_*_x86.appx |
| 60 | +Add-AppxPackage Microsoft.WindowsAppRuntime.1.8_*_x64.appx |
| 61 | +``` |
| 62 | + |
| 63 | +#### 4. Install the Main WinGet Package |
| 64 | + |
| 65 | +Finally, install the main WinGet package by executing the following command in the same PowerShell window: |
| 66 | + |
| 67 | +```powershell |
| 68 | +Add-AppxProvisionedPackage -Online -PackagePath Microsoft.DesktopAppInstaller.Msixbundle -LicensePath *_License1.xml |
| 69 | +``` |
| 70 | + |
| 71 | +#### 5. Verify the Installation |
| 72 | + |
| 73 | +To confirm that WinGet has been installed correctly, open a **new** Command Prompt or PowerShell window and run the following command: |
| 74 | + |
| 75 | +```powershell |
| 76 | +winget --version |
39 | 77 | ``` |
40 | 78 |
|
41 | | -4. Install main package |
42 | | -```pwsh |
43 | | -Add-AppxProvisionedPackage -Online -PackagePath Microsoft.DesktopAppInstaller.Msixbundle -LicensePath *_License1.xml |
44 | | -``` |
| 79 | +If the installation was successful, the command will return the installed version number of WinGet (e.g., `v1.8.1121`). |
0 commit comments