{"repo":"asheroto/winget-install","free":true,"listed":false,"github":"https://github.com/asheroto/winget-install","clone":"git clone https://github.com/asheroto/winget-install.git","description":"Install WinGet using PowerShell! Prerequisites automatically installed. Works on Windows 10/11 and Server 2019/2022.","language":"PowerShell","stars":626,"topics":["automatically","cli","cmd","installer","powershell","prerequisites","winget","xaml","msix","msixbundle"],"license":"GPL-3.0","category":"cli-tools","readme_excerpt":"Install WinGet from PowerShell WinGet, a command line package manager, doesn't have a command line installer? 🤣 Now it does! 😊 [!NOTE] What's New - Added support for GitHub API tokens ( -GHtoken ) to improve reliability when checking for the latest WinGet version or when encountering GitHub API rate limits. - Added the ability to specify a specific WinGet version using -WingetVersion . Note: This only works when using -AlternateInstallMethod (the default method for Windows Server 2019). Table of Contents - Requirements - Features - Script Functionality - Setup - Method 1 - PowerShell Gallery - Usage - Method 2 - One Line Command (Runs Immediately) - Option A: asheroto.com short URL - Option B: WinGet.pro short URL - Option C: direct release URL - Method 3 - Download Locally and Run - Parameters - Example Parameters Usage - Global Variables - Example Global Variables Usage - Troubleshooting - Contributing Requirements - Requires PowerShell running with Administrator privileges - OR - execution under the SYSTEM context - Compatible with: - Windows 10 (Version 1809 or higher) - Windows 11 - Server 2019/2022/2025 - Windows Sandbox - Server Core (non desktop experience) - still under beta testing, see issue #53 for details - Not compatible with: - Server 2016 or lower (WinGet not supported) Features - Installs WinGet directly from PowerShell - Always fetches the latest WinGet version - Automatically verifies OS compatibility - Determines and installs the appropriate prerequisite","default_branch":null,"files":null,"tree":[],"storefront":"/r/asheroto","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/asheroto/winget-install/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}