Installing WinGet Command Line Package Manager on Windows 11

Channel:
Subscribers:
14,500
Published on ● Video Link: https://www.youtube.com/watch?v=pFGBffLvCDo



Duration: 1:47
1,450 views
14


#WinGet #Windows #PackageManager

Full steps can be found at https://i12bretro.github.io/tutorials/0810.html

--------------------------------------------------------------------
What is WinGet?
--------------------------------------------------------------------
The Windows Package Manager is a tool designed to help you quickly and easily discover and install those packages that make your PC environment special. By using the Windows Package Manager, from one command, you can install your favorite packages. - https://github.com/microsoft/winget-cli
 
   01. Log into the Windows device
   02. Run the following commands in a PowerShell window
         # change directory to user downloads
         cd $ENV:UserProfile\Downloads
         # download latest winget installer
         $ProgressPreference = 'SilentlyContinue'; $t = Invoke-WebRequest 'https://api.github.com/repos/microsoft/winget-cli/releases/latest' -UseBasicParsing; $null = ($t.content -Match ',"content_type":"application/octet-stream",.*?"browser_download_url":"(.*\.msixbundle)"'); Invoke-WebRequest $Matches[1] -OutFile .\winget-latest.msixbundle;
         # lookup prerequisites
         $pre = Invoke-WebRequest "https://store.rg-adguard.net/api/GetFiles" -Method POST -Body @{type='CategoryId';url='f855810c-9f77-45ff-a0f5-cd0feaa945c6';ring='Retail';lang='en-US;q=0.6'} -UseBasicParsing
         # download prerequisites
         # Microsoft.UI.Xaml
         $null = ($pre.content -Match '≪td≫≪a href="(.*?)" rel="noreferrer"≫Microsoft\.UI\.Xaml\.2\.7_7\.2207\.21001\.0_x64__8wekyb3d8bbwe\.appx≪\/a≫≪\/td≫'); Invoke-WebRequest $Matches[1] -OutFile .\Microsoft.UI.Xaml.appx;
         $null = ($pre.content -Match '≪td≫≪a href="(.*?)" rel="noreferrer"≫Microsoft\.VCLibs\.140\.00\.UWPDesktop_14\.0\.30704\.0_x64__8wekyb3d8bbwe\.appx≪\/a≫≪\/td≫'); Invoke-WebRequest $Matches[1] -OutFile .\Microsoft.VCLibs.appx;
         $null = ($pre.content -Match '≪td≫≪a href="(.*?)" rel="noreferrer"≫Microsoft\.DesktopAppInstaller_2022\.728\.1939\.0_neutral_~_8wekyb3d8bbwe\.msixbundle≪\/a≫≪\/td≫'); Invoke-WebRequest $Matches[1] -OutFile .\Microsoft.DesktopAppInstaller.msixbundle; $ProgressPreference = 'Continue';
         # install prerequisites
         Add-AppxPackage .\Microsoft.UI.Xaml.appx
         Add-AppxPackage .\Microsoft.VCLibs.appx
         Add-AppxPackage .\Microsoft.DesktopAppInstaller.msixbundle
         # install winget
         Add-AppxPackage .\winget-latest.msixbundle
         # list installed applications
         winget list
   03. WinGet is now installed and ready to be used
   04. To test WinGet, continue with the following commands in PowerShell
         # search winget
         winget search notepad++
         # when prompted, type y and press enter
         # install notepad++
         winget install notepad++
 


### Connect with me and others ###
★ Discord: https://discord.com/invite/EzenvmSHW8
★ Reddit: https://reddit.com/r/i12bretro
★ Twitter: https://twitter.com/i12bretro







Tags:
Application Manager
CLI Package Manager
Command Line Package Manager
How To
How To Install WinGet On Windows
Install Guide
Microsoft
Microsoft Windows
Package Manager
PowerShell
Tutorial
WinGet
Windows
Windows Based Application Manager
Windows Based Package Manager
i12bretro