{"id":18318,"date":"2022-01-07T18:23:13","date_gmt":"2022-01-07T17:23:13","guid":{"rendered":"https:\/\/ekiwi-blog.de\/?p=18318"},"modified":"2022-01-08T13:20:22","modified_gmt":"2022-01-08T12:20:22","slug":"windows-install-software-with-winget-package-manager","status":"publish","type":"post","link":"https:\/\/ekiwi-blog.de\/en\/18318\/windows-install-software-with-winget-package-manager\/","title":{"rendered":"Windows: Install software with Winget package manager"},"content":{"rendered":"<p>Faster software installation with Winget, the package manager from Microsoft.<\/p>\n<p><!--more--><\/p>\n<p>There are moments when I look enviously at Linux users. This is when setting up the system. One &#8220;apt-get install something&#8221; and the software is installed automatically.<\/p>\n<p>In Windows, it&#8217;s usually a matter of visiting the software manufacturer&#8217;s website, downloading the software and clicking Next, Accept, Next to install it. An alternative that saves a lot of work is Winget.<\/p>\n<p><iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/oc-rOvxOBoI\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n<p>Winget allows easy installation of software on Windows computers. Not all software is included in the Winget repositories, but the basic applications are there, be it browsers, image editing programmes, LibreOffice and co.<\/p>\n<p>Winget comes preinstalled with Windows 11 and newer versions of Windows 10. If not installed on Windows 10, it can be installed via the Microsoft store.<\/p>\n<p><a href=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/01\/winget_en_1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/01\/winget_en_1.png\" alt=\"\" width=\"600\" height=\"305\" class=\"aligncenter size-full wp-image-18319\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/01\/winget_en_1.png 600w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/01\/winget_en_1-300x153.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of content<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/ekiwi-blog.de\/en\/18318\/windows-install-software-with-winget-package-manager\/#Install_software_with_WinGet\" >Install software with WinGet<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/ekiwi-blog.de\/en\/18318\/windows-install-software-with-winget-package-manager\/#Build_installation_script_for_software_with_Winstallapp\" >Build installation script for software with Winstall.app<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/ekiwi-blog.de\/en\/18318\/windows-install-software-with-winget-package-manager\/#Remove_software\" >Remove software<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/ekiwi-blog.de\/en\/18318\/windows-install-software-with-winget-package-manager\/#Batch_file_for_base_installation\" >Batch file for base installation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/ekiwi-blog.de\/en\/18318\/windows-install-software-with-winget-package-manager\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Install_software_with_WinGet\"><\/span>Install software with WinGet<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To install software, we call up a command prompt or Powershell.<\/p>\n<p><strong>Tip:<\/strong> to bypass Windows user account control confirmations, the command prompt can also be called with administrator rights.<\/p>\n<p>Then we can search for software with the &#8220;search&#8221; command. The search term can contain the software name or general terms such as &#8220;office&#8221;.<\/p>\n<pre>\r\nwinget search winrar\r\n<\/pre>\n<p><a href=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/01\/winget_en_2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/01\/winget_en_2.png\" alt=\"\" width=\"1001\" height=\"244\" class=\"aligncenter size-full wp-image-18321\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/01\/winget_en_2.png 1001w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/01\/winget_en_2-300x73.png 300w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/01\/winget_en_2-768x187.png 768w\" sizes=\"auto, (max-width: 1001px) 100vw, 1001px\" \/><\/a><\/p>\n<p>If the software or the name is found, this is displayed in list form. Here we now see the ID. Using the ID, we can install the software with the &#8220;install&#8221; command.<\/p>\n<pre>\r\nwinget install RARLab.WinRar\r\n<\/pre>\n<p><a href=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/01\/winget_en_3.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/01\/winget_en_3.png\" alt=\"\" width=\"850\" height=\"219\" class=\"aligncenter size-full wp-image-18323\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/01\/winget_en_3.png 850w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/01\/winget_en_3-300x77.png 300w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/01\/winget_en_3-768x198.png 768w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/a><\/p>\n<p>By means of the parameter &#8220;-silent&#8221;, user interaction during installation can also be avoided in most cases.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Build_installation_script_for_software_with_Winstallapp\"><\/span>Build installation script for software with Winstall.app<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Another possibility to generate a software list (plus installation script) is the website &#8220;<a href=\"https:\/\/winstall.app\/\" target=\"_blank\" rel=\"noopener\">Winstall.app<\/a>&#8220;. On the website you can search for software, there are ready-made lists from other users and the website offers the possibility to download a batch script which then carries out the installation of all packages.<\/p>\n<p><a href=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/01\/winget_en_4.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/01\/winget_en_4.png\" alt=\"\" width=\"1000\" height=\"643\" class=\"aligncenter size-full wp-image-18325\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/01\/winget_en_4.png 1000w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/01\/winget_en_4-300x193.png 300w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/01\/winget_en_4-768x494.png 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Remove_software\"><\/span>Remove software<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>There are two ways to uninstall the software. Since the software is installed normally, it also appears in the Windows settings and can be uninstalled there normally.<\/p>\n<p><a href=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/01\/winget_en_5.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/01\/winget_en_5.png\" alt=\"\" width=\"899\" height=\"171\" class=\"aligncenter size-full wp-image-18327\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/01\/winget_en_5.png 899w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/01\/winget_en_5-300x57.png 300w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/01\/winget_en_5-768x146.png 768w\" sizes=\"auto, (max-width: 899px) 100vw, 899px\" \/><\/a><\/p>\n<p>You can also use &#8220;winget&#8221; to uninstall software.<\/p>\n<pre>\r\nwinget uninstall RARlab.WinRar\r\n<\/pre>\n<p><a href=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/01\/winget_en_6.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/01\/winget_en_6.png\" alt=\"\" width=\"437\" height=\"92\" class=\"aligncenter size-full wp-image-18329\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/01\/winget_en_6.png 437w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/01\/winget_en_6-300x63.png 300w\" sizes=\"auto, (max-width: 437px) 100vw, 437px\" \/><\/a><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Batch_file_for_base_installation\"><\/span>Batch file for base installation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>For setting up new computers, I have created a batch file that performs the basic installation. Once executed, the software installs itself automatically. In practice, this works quite well, except for one time when a restart interfered. In that case, however, you can continue the installation after the restart.<\/p>\n<p><a href=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/01\/winget_en_7.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/01\/winget_en_7.png\" alt=\"\" width=\"586\" height=\"277\" class=\"aligncenter size-full wp-image-18331\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/01\/winget_en_7.png 586w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/01\/winget_en_7-300x142.png 300w\" sizes=\"auto, (max-width: 586px) 100vw, 586px\" \/><\/a><\/p>\n<p>There were minor problems with two of the packages on my list; the installation did not work. I downloaded this software manually. Overall, however, the time saved by using WinGet is quite high.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In most cases, I am still used to carrying out the installation by downloading the installation programme from the homepage. The installation via Winget saves a lot of time. For the reinstallation of computers, however, I now use my own batch script, which installs the basic programmes for me.<\/p>","protected":false},"excerpt":{"rendered":"<p>Faster software installation with Winget, the package manager from Microsoft.<\/p>\n","protected":false},"author":1,"featured_media":14619,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1555],"tags":[],"class_list":["post-18318","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-en"],"_links":{"self":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/18318","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/comments?post=18318"}],"version-history":[{"count":0,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/18318\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media\/14619"}],"wp:attachment":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media?parent=18318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/categories?post=18318"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/tags?post=18318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}