{"id":842,"date":"2022-11-08T22:32:33","date_gmt":"2022-11-08T21:32:33","guid":{"rendered":"https:\/\/reglisss.freeboxos.fr\/wordpress\/?page_id=842"},"modified":"2022-11-08T22:32:33","modified_gmt":"2022-11-08T21:32:33","slug":"winget-full","status":"publish","type":"page","link":"https:\/\/reglisss.freeboxos.fr\/wordpress\/winget-full\/","title":{"rendered":"WINGET FULL"},"content":{"rendered":"\n<p>http:\/\/woshub.com\/using-winget-package-manager-windows\/<\/p>\n\n\n\n<p>&nbsp;is a console tool making app installation easier on a computer running Windows (like Chocolatey package manager). To install a program, you don\u2019t need to search official sites, download the installation files and install apps manually. Using Windows Package Manager, you can install or update any program from the repository with just one command.<\/p>\n\n\n\n<p>Contents:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"http:\/\/woshub.com\/using-winget-package-manager-windows\/#h2_1\">How to Install WinGet Package Manager on Windows 10?<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/woshub.com\/using-winget-package-manager-windows\/#h2_2\">Deploying Software Packages in Windows using WinGet<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/woshub.com\/using-winget-package-manager-windows\/#h2_3\">Winstall: Web GUI for WinGet Package Manager<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/woshub.com\/using-winget-package-manager-windows\/#h2_4\">WinGet: Updating and Removing Packages on Windows<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/woshub.com\/using-winget-package-manager-windows\/#h2_5\">Export and Import Installed Software List to Another Computer via WinGet<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h2_1\">How to Install WinGet Package Manager on Windows 10?<\/h2>\n\n\n\n<p>You can install WinGet on Windows 10 with build 1709 or newer. Winget is already embedded into the image of the current Windows 11 21H2 and Windows 10 21H1 builds.<\/p>\n\n\n\n<p>To check if winget is installed on your computer, open a PowerShell console and run the command:<\/p>\n\n\n\n<p><code>Get-AppPackage *Microsoft.DesktopAppInstaller*|select Name,PackageFullName<\/code><\/p>\n\n\n\n<p>https:\/\/googleads.g.doubleclick.net\/pagead\/ads?client=ca-pub-4401267224177329&#038;output=html&#038;h=280&#038;slotname=7120564299&#038;adk=1917902861&#038;adf=816834411&#038;pi=t.ma~as.7120564299&#038;w=336&#038;lmt=1667942604&#038;format=336&#215;280&#038;url=http%3A%2F%2Fwoshub.com%2Fusing-winget-package-manager-windows%2F&#038;wgl=1&#038;dt=1667942604046&#038;bpp=13&#038;bdt=24338&#038;idt=13&#038;shv=r20221101&#038;mjsv=m202211070101&#038;ptt=9&#038;saldr=aa&#038;abxe=1&#038;prev_fmts=0x0%2C750x188&#038;nras=1&#038;correlator=7315239285787&#038;frm=20&#038;pv=1&#038;ga_vid=1865986307.1667942603&#038;ga_sid=1667942603&#038;ga_hid=459012898&#038;ga_fc=0&#038;u_tz=60&#038;u_his=1&#038;u_h=720&#038;u_w=1280&#038;u_ah=672&#038;u_aw=1280&#038;u_cd=24&#038;u_sd=1.5&#038;adx=269&#038;ady=1431&#038;biw=1263&#038;bih=569&#038;scr_x=0&#038;scr_y=49&#038;eid=44759876%2C44759927%2C44759842%2C44761793%2C42531705%2C44773613%2C31070786%2C44775017&#038;oid=2&#038;pvsid=4196672723240072&#038;tmod=297330187&#038;uas=0&#038;nvt=1&#038;ref=https%3A%2F%2Fwww.google.com%2F&#038;eae=0&#038;fc=1920&#038;brdim=0%2C0%2C0%2C0%2C1280%2C0%2C1280%2C672%2C1280%2C569&#038;vis=1&#038;rsz=%7C%7CoeEbr%7C&#038;abl=CS&#038;pfx=0&#038;fu=0&#038;bc=23&#038;ifi=5&#038;uci=a!5&#038;btvi=2&#038;fsb=1&#038;xpc=uzUgtpFLI7&#038;p=http%3A\/\/woshub.com&#038;dtd=230<\/p>\n\n\n\n<p>In our case, winget is installed (the name of the UWP application is&nbsp;<code>Microsoft.DesktopAppInstaller<\/code>).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/woshub.com\/wp-content\/uploads\/2021\/03\/check-if-winget-is-installed-on-windows-10-11.png\" alt=\"check if winget is installed on windows 10\/11\" class=\"wp-image-10989\"\/><\/figure>\n\n\n\n<p>You can only use winget on desktop versions of Windows (10 and 11). Winget is not officially supported for Windows Server 2022, but can be installed in experimental mode.<\/p>\n\n\n\n<p>You can install WinGet from the Microsoft Store (it is called&nbsp;<strong>App Installer<\/strong>&nbsp;there)&nbsp;<a href=\"https:\/\/www.microsoft.com\/en-us\/p\/app-installer\/9nblggh4nns1#activetab=pivot:overviewtab\">https:\/\/www.microsoft.com\/en-us\/p\/app-installer\/9nblggh4nns1#activetab=pivot:overviewtab<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/woshub.com\/wp-content\/uploads\/2021\/03\/winget-app-installer-on-microsoft-store.png\" alt=\"WinGet (App Installer) on Microsoft Store\" class=\"wp-image-9294\"\/><\/figure>\n\n\n\n<p>To install Winget, MS Store must be running on your computer (if Microsoft Store is removed or damaged, you can&nbsp;<a href=\"http:\/\/woshub.com\/repair-reinstall-microsoft-store-windows\/\">reinstall or repair it<\/a>).<\/p>\n\n\n\n<p>Also, you can install winget manually using PowerShell (if you&nbsp;<a href=\"http:\/\/woshub.com\/how-to-uninstall-modern-apps-in-windows-10\/\">removed built-in UWP apps in Windows<\/a>). To do this, you need to use&nbsp;<a href=\"http:\/\/woshub.com\/parsing-html-webpages-with-powershell\/\">PowerShell to download<\/a>&nbsp;the winget msixbundle file from GitHub (<a href=\"https:\/\/github.com\/microsoft\/winget-cli\/releases\">https:\/\/github.com\/microsoft\/winget-cli\/releases<\/a>) and install it:<\/p>\n\n\n\n<p><code>Invoke-WebRequest -Uri \"https:\/\/github.com\/microsoft\/winget-cli\/releases\/download\/v1.1.12653\/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle\" -OutFile \"C:\\PS\\WinGet.msixbundle\"<br>Add-AppxPackage \"C:\\PS\\WinGet.msixbundle\"<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/woshub.com\/wp-content\/uploads\/2021\/03\/download-and-install-winget-on-windows-10.png\" alt=\"download and install winget on windows 10\" class=\"wp-image-9295\"\/><\/figure>\n\n\n\n<p>https:\/\/googleads.g.doubleclick.net\/pagead\/ads?client=ca-pub-4401267224177329&#038;output=html&#038;h=280&#038;slotname=6922404692&#038;adk=2464422008&#038;adf=874995457&#038;pi=t.ma~as.6922404692&#038;w=780&#038;fwrn=4&#038;fwrnh=100&#038;lmt=1667942611&#038;rafmt=1&#038;format=780&#215;280&#038;url=http%3A%2F%2Fwoshub.com%2Fusing-winget-package-manager-windows%2F&#038;fwr=0&#038;rpe=1&#038;resp_fmts=3&#038;wgl=1&#038;dt=1667942604302&#038;bpp=21&#038;bdt=24594&#038;idt=21&#038;shv=r20221101&#038;mjsv=m202211070101&#038;ptt=9&#038;saldr=aa&#038;abxe=1&#038;cookie=ID%3D6ece22e52ba12241-22f0eb3a1fd7005a%3AT%3D1667942601%3ART%3D1667942601%3AS%3DALNI_MZoPSf0RuBH_6GRGaogZ__FctdeMg&#038;gpic=UID%3D00000b1d44627a1a%3AT%3D1667942601%3ART%3D1667942601%3AS%3DALNI_MZXb8L1xR1VzZ1F7eCSLOoSILamng&#038;prev_fmts=0x0%2C750x188%2C336x280%2C760x280%2C0x0%2C300x600%2C336x280&#038;nras=1&#038;correlator=7315239285787&#038;frm=20&#038;pv=1&#038;ga_vid=1865986307.1667942603&#038;ga_sid=1667942603&#038;ga_hid=459012898&#038;ga_fc=0&#038;u_tz=60&#038;u_his=1&#038;u_h=720&#038;u_w=1280&#038;u_ah=672&#038;u_aw=1280&#038;u_cd=24&#038;u_sd=1.5&#038;adx=47&#038;ady=2891&#038;biw=1263&#038;bih=569&#038;scr_x=0&#038;scr_y=817&#038;eid=44759876%2C44759927%2C44759842%2C44761793%2C42531705%2C44773613%2C31070786%2C44775017&#038;oid=2&#038;pvsid=4196672723240072&#038;tmod=297330187&#038;uas=0&#038;nvt=1&#038;ref=https%3A%2F%2Fwww.google.com%2F&#038;eae=0&#038;fc=1920&#038;brdim=0%2C0%2C0%2C0%2C1280%2C0%2C1280%2C672%2C1280%2C569&#038;vis=1&#038;rsz=%7C%7CoEebr%7C&#038;abl=CS&#038;pfx=0&#038;fu=128&#038;bc=23&#038;ifi=6&#038;uci=a!6&#038;btvi=4&#038;fsb=1&#038;xpc=30qz9K7ZTB&#038;p=http%3A\/\/woshub.com&#038;dtd=7347<\/p>\n\n\n\n<p>You can also download and install the WinGet package manually.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/woshub.com\/wp-content\/uploads\/2021\/03\/install-app-installer-using-msixbundle-file.png\" alt=\"install app installer using msixbundle file\" class=\"wp-image-10990\"\/><\/figure>\n\n\n\n<p>Check the installed winget version using this command:<\/p>\n\n\n\n<p><code>winget --version<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/woshub.com\/wp-content\/uploads\/2021\/03\/check-winget-version.png\" alt=\"check winget version\" class=\"wp-image-10991\"\/><\/figure>\n\n\n\n<p>Here are the basic winget commands:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>winget install &lt;package&gt;<\/code>&nbsp;\u2014install a package<\/li>\n\n\n\n<li><code>winget uninstall &lt;package&gt;<\/code>&nbsp;\u2014 remove package<\/li>\n\n\n\n<li><code>winget upgrade<\/code>&nbsp;\u2013 update software package<\/li>\n\n\n\n<li><code>winget list<\/code>&nbsp;\u2013 list installed apps on Windows<\/li>\n\n\n\n<li><code>winget show &lt;package&gt;<\/code>&nbsp;\u2014 display the package info<\/li>\n\n\n\n<li><code>winget source &lt;options&gt;<\/code>&nbsp;\u2014 manage repositories<\/li>\n\n\n\n<li><code>winget search &lt;search_string&gt;<\/code>&nbsp;\u2014 search for packages in repositories<\/li>\n\n\n\n<li><code>winget export<\/code>&nbsp;\u2013 export the list of installed programs to a file<\/li>\n\n\n\n<li><code>winget import<\/code>&nbsp;\u2013 installation of programs (packages) according to the list in the file<\/li>\n\n\n\n<li><code>winget hash &lt;package&gt;<\/code>&nbsp;\u2014 get a package installer hash<\/li>\n\n\n\n<li><code>winget validate &lt;package&gt;<\/code>&nbsp;\u2014 to validate a manifest file<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/woshub.com\/wp-content\/uploads\/2021\/03\/winget-options.png\" alt=\"winget options\" class=\"wp-image-10992\"\/><\/figure>\n\n\n\n<p>https:\/\/googleads.g.doubleclick.net\/pagead\/ads?client=ca-pub-4401267224177329&#038;output=html&#038;h=188&#038;slotname=5999404122&#038;adk=2077434533&#038;adf=766776619&#038;pi=t.ma~as.5999404122&#038;w=750&#038;fwrn=4&#038;lmt=1667942777&#038;rafmt=11&#038;format=750&#215;188&#038;url=http%3A%2F%2Fwoshub.com%2Fusing-winget-package-manager-windows%2F&#038;wgl=1&#038;adsid=ChAIgJmomwYQzve0-sjN59htEj0Akgea40wMmm7JE-jLQcz3dw2RB6rOz2vMeC3kx0px7bfNtmN-oSqUe9_pJ-iUlEfp1kuaGndiSCViLWdd&#038;dt=1667942605692&#038;bpp=8&#038;bdt=25978&#038;idt=8&#038;shv=r20221101&#038;mjsv=m202211070101&#038;ptt=9&#038;saldr=aa&#038;abxe=1&#038;cookie=ID%3D6ece22e52ba12241-22f0eb3a1fd7005a%3AT%3D1667942601%3AS%3DALNI_MZoPSf0RuBH_6GRGaogZ__FctdeMg&#038;gpic=UID%3D00000b1d44627a1a%3AT%3D1667942601%3ART%3D1667942601%3AS%3DALNI_MZXb8L1xR1VzZ1F7eCSLOoSILamng&#038;prev_fmts=0x0%2C750x188%2C336x280%2C760x280%2C0x0%2C300x600%2C336x280%2C780x280%2C1263x569&#038;nras=2&#038;correlator=7315239285787&#038;frm=20&#038;pv=1&#038;ga_vid=1865986307.1667942603&#038;ga_sid=1667942603&#038;ga_hid=459012898&#038;ga_fc=1&#038;rplot=4&#038;u_tz=60&#038;u_his=1&#038;u_h=720&#038;u_w=1280&#038;u_ah=672&#038;u_aw=1280&#038;u_cd=24&#038;u_sd=1.5&#038;adx=62&#038;ady=4378&#038;biw=1263&#038;bih=569&#038;scr_x=0&#038;scr_y=2172&#038;eid=44759876%2C44759927%2C44759842%2C44761793%2C42531705%2C44773613%2C31070786%2C44775017&#038;oid=2&#038;psts=AMjMPc2gcMEKYH5qe8SAsAnP8VU_m24rC1fDCHDRdOQOEAK08hiTpiKs72ev8lj78U8XFLbCkUEbboPZEX4s2FE%2CAMjMPc2ffYQdQCMRPqiDyiS4nMFaGooJ-9QPcLXSPAHw9aLBHUBjylFDzm2rcmw90Wx-hg7Ok6QLvl7ky4DiFuiA%2CAMjMPc20-Wpa-dhuD609psKhX9PiaclJ_IkOEasn8gmtQ8kkx3xGvcWn6fhxzHgENqfzp85e1hxecErSLR2STL97%2CAMjMPc1tZLM_lsod352kREcNDi1cwo_TSK3x4Zu3_AM2Vu_OxiHOWCH_zhnXpM1ewzkxDwRmKm0DZ2W-RxFA2iV7&#038;pvsid=4196672723240072&#038;tmod=297330187&#038;uas=1&#038;nvt=1&#038;ref=https%3A%2F%2Fwww.google.com%2F&#038;eae=0&#038;fc=1920&#038;brdim=0%2C0%2C0%2C0%2C1280%2C0%2C1280%2C672%2C1280%2C569&#038;vis=1&#038;rsz=%7C%7CoEebr%7C&#038;abl=CS&#038;pfx=0&#038;cms=2&#038;fu=128&#038;bc=23&#038;ifi=7&#038;uci=a!7&#038;btvi=5&#038;fsb=1&#038;xpc=hZML5mFStH&#038;p=http%3A\/\/woshub.com&#038;dtd=M<\/p>\n\n\n\n<p>The winget settings are stored in the&nbsp;<strong>settings.json<\/strong>&nbsp;file (<code>C:\\Users\\%username%\\AppData\\Local\\Packages\\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\\LocalState<\/code>). You can change Winget settings using the command:<\/p>\n\n\n\n<p><code>winget settings<\/code><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h2_2\">Deploying Software Packages in Windows using WinGet<\/h2>\n\n\n\n<p>Online repositories are used to install programs via the WinGet package manager. Their list can be displayed with the command:<\/p>\n\n\n\n<p><code>winget source list<\/code><\/p>\n\n\n\n<p>By default, there are two official repositories available in WinGet:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>msstore<\/strong>&nbsp;(<a href=\"https:\/\/storeedgefd.dsx.mp.microsoft.com\/v9.0\">https:\/\/storeedgefd.dsx.mp.microsoft.com\/v9.0<\/a>) \u2013 Microsoft Store repository<\/li>\n\n\n\n<li><strong>winget<\/strong>&nbsp;(<a href=\"https:\/\/winget.azureedge.net\/cache\">https:\/\/winget.azureedge.net\/cache<\/a>) \u2013 basic winget software repository maintained by Microsoft<\/li>\n<\/ul>\n\n\n\n<p>You can connect third-party repositories in WinGet. You can add other sources using the command:&nbsp;<code>winget source<\/code><\/p>\n\n\n\n<p>Prior to installing an application via WinGet, you need to find out the package name. To search packages, the search command is used. For example, to search&nbsp;<strong>zip<\/strong>&nbsp;archive managers in the repository, run this command:<\/p>\n\n\n\n<p><code>winget search zip<\/code><\/p>\n\n\n\n<p>https:\/\/googleads.g.doubleclick.net\/pagead\/ads?client=ca-pub-4401267224177329&#038;output=html&#038;h=250&#038;slotname=2154127897&#038;adk=3054304233&#038;adf=475290210&#038;pi=t.ma~as.2154127897&#038;w=300&#038;lmt=1667942822&#038;format=300&#215;250&#038;url=http%3A%2F%2Fwoshub.com%2Fusing-winget-package-manager-windows%2F&#038;fwrattr=true&#038;wgl=1&#038;adsid=ChAIgJmomwYQzve0-sjN59htEj0Akgea40wMmm7JE-jLQcz3dw2RB6rOz2vMeC3kx0px7bfNtmN-oSqUe9_pJ-iUlEfp1kuaGndiSCViLWdd&#038;dt=1667942605704&#038;bpp=16&#038;bdt=25991&#038;idt=17&#038;shv=r20221101&#038;mjsv=m202211070101&#038;ptt=9&#038;saldr=aa&#038;abxe=1&#038;cookie=ID%3D6ece22e52ba12241-22f0eb3a1fd7005a%3AT%3D1667942601%3AS%3DALNI_MZoPSf0RuBH_6GRGaogZ__FctdeMg&#038;gpic=UID%3D00000b1d44627a1a%3AT%3D1667942601%3ART%3D1667942601%3AS%3DALNI_MZXb8L1xR1VzZ1F7eCSLOoSILamng&#038;prev_fmts=0x0%2C750x188%2C336x280%2C760x280%2C0x0%2C300x600%2C336x280%2C780x280%2C1263x569%2C750x188&#038;nras=2&#038;correlator=7315239285787&#038;frm=20&#038;pv=1&#038;ga_vid=1865986307.1667942603&#038;ga_sid=1667942603&#038;ga_hid=459012898&#038;ga_fc=1&#038;u_tz=60&#038;u_his=1&#038;u_h=720&#038;u_w=1280&#038;u_ah=672&#038;u_aw=1280&#038;u_cd=24&#038;u_sd=1.5&#038;adx=287&#038;ady=5182&#038;biw=1263&#038;bih=569&#038;scr_x=0&#038;scr_y=2955&#038;eid=44759876%2C44759927%2C44759842%2C44761793%2C42531705%2C44773613%2C31070786%2C44775017&#038;oid=2&#038;psts=AMjMPc2gcMEKYH5qe8SAsAnP8VU_m24rC1fDCHDRdOQOEAK08hiTpiKs72ev8lj78U8XFLbCkUEbboPZEX4s2FE%2CAMjMPc2ffYQdQCMRPqiDyiS4nMFaGooJ-9QPcLXSPAHw9aLBHUBjylFDzm2rcmw90Wx-hg7Ok6QLvl7ky4DiFuiA%2CAMjMPc20-Wpa-dhuD609psKhX9PiaclJ_IkOEasn8gmtQ8kkx3xGvcWn6fhxzHgENqfzp85e1hxecErSLR2STL97%2CAMjMPc1tZLM_lsod352kREcNDi1cwo_TSK3x4Zu3_AM2Vu_OxiHOWCH_zhnXpM1ewzkxDwRmKm0DZ2W-RxFA2iV7%2CAMjMPc0pSLBrZdrF_Y3bro5LV23jReOOz5Q0UPA7x3nzmTpFs5CC29PgqCGcyvqwFeoZ0F6aRmsOK9ie9T4&#038;pvsid=4196672723240072&#038;tmod=297330187&#038;uas=3&#038;nvt=1&#038;ref=https%3A%2F%2Fwww.google.com%2F&#038;eae=0&#038;fc=1920&#038;brdim=0%2C0%2C0%2C0%2C1280%2C0%2C1280%2C672%2C1280%2C569&#038;vis=1&#038;rsz=%7C%7CoeEbr%7C&#038;abl=CS&#038;pfx=0&#038;fu=0&#038;bc=23&#038;ifi=8&#038;uci=a!8&#038;btvi=6&#038;fsb=1&#038;xpc=35fYVOYpNs&#038;p=http%3A\/\/woshub.com&#038;dtd=M<\/p>\n\n\n\n<p>If you want to search for the program only in the Microsoft Store repository, run:<\/p>\n\n\n\n<p><code>winget search zip -s msstore<\/code><\/p>\n\n\n\n<p>The command returns the list of packages (with their names and versions) matching your query. Pay attention to the&nbsp;<strong>Source<\/strong>&nbsp;column. It lists the repository where the package is located.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/woshub.com\/wp-content\/uploads\/2021\/03\/winget-search-for-app-package.png\" alt=\"winget search for app package\" class=\"wp-image-10993\"\/><\/figure>\n\n\n\n<p>You can get information about a specific package:<\/p>\n\n\n\n<p><code>winget show 7zip.7zip<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/woshub.com\/wp-content\/uploads\/2021\/03\/winget-show-package-properties.png\" alt=\"winget show package properties\" class=\"wp-image-10994\"\/><\/figure>\n\n\n\n<p>Multiple versions of a package can be hosted in the repository. In order to display a list of available package versions, run:<\/p>\n\n\n\n<p><code>winget show 7zip.7zip --versions<\/code><\/p>\n\n\n\n<p>For example, you want to install&nbsp;<strong>7zip<\/strong>. Copy its name or ID and run the following installation command:<\/p>\n\n\n\n<p><code>winget install 7zip.7zip<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/woshub.com\/wp-content\/uploads\/2021\/03\/install-7zip-from-windows-command-uing-winget.png\" alt=\"install 7zip from windows command uing winget\" class=\"wp-image-9299\"\/><\/figure>\n\n\n\n<p>The latest available version of the program is installed by default. You can install a specific version of a package:<\/p>\n\n\n\n<p><code>winget install 7zip.7zip -v 21.05<\/code><\/p>\n\n\n\n<p>As you can see, the package manager has automatically downloaded and installed the app using a single command. The program has appeared in the list of installed software in the Windows Start menu.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/woshub.com\/wp-content\/uploads\/2021\/03\/newly-installed-software-on-windows-10.png\" alt=\"newly installed software on windows 10\" class=\"wp-image-9300\"\/><\/figure>\n\n\n\n<p>Then let\u2019s install Windows Terminal and&nbsp;<a href=\"http:\/\/woshub.com\/using-visual-studio-code-instead-powershell-ise\/\">VSCode for my PowerShell scripts<\/a>.<\/p>\n\n\n\n<p>Search the package names first:<\/p>\n\n\n\n<p><code>winget search terminal<br>winget search \"visual studio\"<\/code><\/p>\n\n\n\n<p>Then install them in turn:<\/p>\n\n\n\n<p><code>winget install Microsoft.WindowsTerminal \u2013e ; winget install Microsoft.VisualStudioCode \u2013e<\/code><\/p>\n\n\n\n<p>If you want to run the package installation in the background, use the&nbsp;<strong>\u2013silent<\/strong>&nbsp;option:<\/p>\n\n\n\n<p><code>winget install \"VLC media player\" --silent<\/code><\/p>\n\n\n\n<p>When you install some software, you can automatically accept the terms of use. For example, when installing the Sysinternals toolkit:<\/p>\n\n\n\n<p><code>winget install sysinternals --accept-package-agreements<\/code><\/p>\n\n\n\n<p>By default, programs are installed on the system drive in the Program Files folders. You can change the installation folder for a program:<\/p>\n\n\n\n<p><code>winget install microsoft.visualstudiocode --location \"D:\\Programs\"<\/code><\/p>\n\n\n\n<p>Please note that when running winget without administrator permissions, a&nbsp;<a href=\"http:\/\/woshub.com\/user-account-control-slider-and-group-policy-settings\/\">UAC elevation prompt<\/a>&nbsp;may appear when installing some programs. If you run winget in an elevated cmd\/PowerShell console, all programs are installed without a UAC prompt (be careful, only install applications you trust).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h2_3\">Winstall: Web GUI for WinGet Package Manager<\/h2>\n\n\n\n<p>Users who don\u2019t like the winget CLI interface can use the&nbsp;<strong>Winstall<\/strong>&nbsp;web service (<a href=\"https:\/\/winstall.app\/\">https:\/\/winstall.app\/<\/a>). Winstall is a graphical interface for the WinGet repository (over 2900 programs are available for installation).<\/p>\n\n\n\n<p>You can use Winstall to generate an installation script for the programs you need. Find programs in the repository and click&nbsp;<strong><code>+<\/code><\/strong>&nbsp;to add them to the installation script.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/woshub.com\/wp-content\/uploads\/2021\/03\/winstall-web-interface-for-winget-app-repository.png\" alt=\"Winstall - web interface for winget app repository\" class=\"wp-image-10995\"\/><\/figure>\n\n\n\n<p>Then click on the&nbsp;<strong>Generate Script<\/strong>&nbsp;button and the service will create a CLI command to install the selected app packages.<\/p>\n\n\n\n<p>Copy the code from the Batch or PowerShell tab and paste it into cmd.exe or PowerShell console.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/woshub.com\/wp-content\/uploads\/2021\/03\/generate-powershell-batch-script-to-install-multip.png\" alt=\"generate powershell\/batch script to install multiple apps at once with winget\" class=\"wp-image-10997\"\/><\/figure>\n\n\n\n<p>Thus, you can install the programs you need with just one command.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h2_4\">WinGet: Updating and Removing Packages on Windows<\/h2>\n\n\n\n<p>WinGet allows you to not only install programs but also update or remove them. To display a list of installed programs on your computer, run:<\/p>\n\n\n\n<p><code>winget list<\/code><\/p>\n\n\n\n<p>The command will display a complete list of programs installed on the computer (including programs not installed via winget). If an update is available for the program, the new version will be displayed in the&nbsp;<strong>Available<\/strong>&nbsp;column.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/woshub.com\/wp-content\/uploads\/2021\/03\/winget-updating-packages-check-available-versio.png\" alt=\"winget - updating packages, check available versions\" class=\"wp-image-10998\"\/><\/figure>\n\n\n\n<p>To update an application installed via winget, run the commands:<\/p>\n\n\n\n<p><code>winget upgrade --id 7zip.7zip<\/code><\/p>\n\n\n\n<p>You can update all installed programs at once:<\/p>\n\n\n\n<p><code>winget upgrade --all<\/code><\/p>\n\n\n\n<p>To remove programs, use the command:<\/p>\n\n\n\n<p><code>winget uninstall --name 7zip.7zip<\/code><\/p>\n\n\n\n<p>You can also&nbsp;<a href=\"http:\/\/woshub.com\/uninstall-apps-with-powershell-windows\/\">uninstall applications<\/a>&nbsp;not installed via WinGet by their ID:<\/p>\n\n\n\n<p><code>winget uninstall --id \"{0F693AA3-4387-4ACB-A6FD-3A396290587}\"<\/code><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h2_5\">Export and Import Installed Software List to Another Computer via WinGet<\/h2>\n\n\n\n<p>With WinGet, you can export a list of programs installed on a computer to a JSON file and then use this file to quickly install (import) the same set of apps on another computer.<\/p>\n\n\n\n<p>To export the list of installed apps to a JSON file, run:<\/p>\n\n\n\n<p><code>winget export -o c:\\ps\\installedapps.json --include-versions<\/code><\/p>\n\n\n\n<p>If there is no manifest for the program, then the command will display an error&nbsp;<em>The installed package is not available in any source<\/em>.<\/p>\n\n\n\n<p>The file contains a list of programs installed through the Windows Package Manager.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"http:\/\/woshub.com\/wp-content\/uploads\/2021\/03\/export-installed-app-list-to-json-file-with-winget.png\" alt=\"export installed app list to json file with winget\" class=\"wp-image-10999\"\/><\/figure>\n\n\n\n<p>To install a set of programs from a JSON file on another computer, run the command:<\/p>\n\n\n\n<p><code>winget import -o .\\installed_apps.json<\/code><\/p>\n\n\n\n<p>Windows Package Manager can ignore versions and unavailable programs during installation by adding the&nbsp;<code>--ignore-unavailable<\/code>&nbsp;and&nbsp;<code>--ignore-versions<\/code>&nbsp;options.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/woshub.com\/using-winget-package-manager-windows\/ &nbsp;is a console tool making app installation easier on a computer running Windows (like Chocolatey package manager). To install a program, you don\u2019t need to search official sites, download the installation files and install apps manually. Using Windows Package Manager, you can install or update any program from the repository with just one command. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-842","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/reglisss.freeboxos.fr\/wordpress\/wp-json\/wp\/v2\/pages\/842","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/reglisss.freeboxos.fr\/wordpress\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/reglisss.freeboxos.fr\/wordpress\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/reglisss.freeboxos.fr\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/reglisss.freeboxos.fr\/wordpress\/wp-json\/wp\/v2\/comments?post=842"}],"version-history":[{"count":1,"href":"https:\/\/reglisss.freeboxos.fr\/wordpress\/wp-json\/wp\/v2\/pages\/842\/revisions"}],"predecessor-version":[{"id":843,"href":"https:\/\/reglisss.freeboxos.fr\/wordpress\/wp-json\/wp\/v2\/pages\/842\/revisions\/843"}],"wp:attachment":[{"href":"https:\/\/reglisss.freeboxos.fr\/wordpress\/wp-json\/wp\/v2\/media?parent=842"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}