{"id":5915,"date":"2020-07-15T15:52:47","date_gmt":"2020-07-15T22:52:47","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/commandline\/?p=5915"},"modified":"2020-07-17T12:14:23","modified_gmt":"2020-07-17T19:14:23","slug":"windows-package-manager-preview-v0-1-41821","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/commandline\/windows-package-manager-preview-v0-1-41821\/","title":{"rendered":"Windows Package Manager Preview (v0.1.41821)"},"content":{"rendered":"<p>The first update to the Windows Package Manager has been released. If you are a <a href=\"https:\/\/insider.windows.com\/\" rel=\"noopener noreferrer\" target=\"_blank\">Windows Insider<\/a> or part of our Package Manager Insider program, you should already have the latest version. Launch the store and check for updates if you&#8217;re an insider and you don&#8217;t have it. If you prefer to just download the client, head on over to <a href=\"https:\/\/github.com\/microsoft\/winget-cli\/releases\" rel=\"noopener noreferrer\" target=\"_blank\">GitHub releases page<\/a> and take it for a spin. You can also join the <a href=\"http:\/\/aka.ms\/winget-InsiderProgram\" rel=\"noopener noreferrer\" target=\"_blank\">Windows Package Manager Insider Program<\/a> if you&#8217;d like automatic updates from the store, and you want to run on the released version of Windows 10.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/v0.1.41821.png\" alt=\"Windows Package Manager v0 1 41821\" width=\"1108\" height=\"259\" class=\"alignnone size-full wp-image-5917\" srcset=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/v0.1.41821.png 1108w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/v0.1.41821-300x70.png 300w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/v0.1.41821-1024x239.png 1024w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/v0.1.41821-768x180.png 768w\" sizes=\"(max-width: 1108px) 100vw, 1108px\" \/><\/p>\n<h2>What&#8217;s New<\/h2>\n<p>This version of the client will allow you to create and save your favorite settings. There were also a couple of bugs that were fixed. On the package side, we\u2019re just about to hit 850 packages.<\/p>\n<h3>Settings<\/h3>\n<p>The client now has a settings file. Just execute <code>winget settings<\/code> to open your default JSON editor. You\u2019ll be able to customize a couple of things to your liking. I\u2019ve got mine defaulted to \u201crainbow\u201d for the progress bar. Other options include accent (default), and retro.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/progressBarRainbow.png\" alt=\"Progress Bar Set to Rainbow\" width=\"1248\" height=\"410\" class=\"alignnone size-full wp-image-5916\" srcset=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/progressBarRainbow.png 1248w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/progressBarRainbow-300x99.png 300w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/progressBarRainbow-1024x336.png 1024w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2020\/07\/progressBarRainbow-768x252.png 768w\" sizes=\"(max-width: 1248px) 100vw, 1248px\" \/><\/p>\n<p>The other setting you might be interested in is the \u201cautoUpdateIntervalInMinutes\u201d. This will allow you to change how frequently the client checks for the list of available packages. If you\u2019re on a slower Internet connection this can be a great help. Our current default setting is five minutes. That means the client will pay attention to the last time it checked, and if it\u2019s been more than five minutes, it will download the index again.<\/p>\n<p>\ud83d\udc49 Note: This only happens when you are executing commands, it does not run in the background. If you\u2019d like, you can disable this behavior by setting the value to \u201c0\u201d. If you do, you will need to manually check for any updates by executing the source update command.<\/p>\n<p><code>winget source update<\/code><\/p>\n<h3>Bug Fixes<\/h3>\n<p>We\u2019ve started fixing issues with non us-ASCII characters, and some annoying issues with case sensitivity. There was also a problem where the client refused to support an interactive install. We didn\u2019t think that was very nice, so the client will now respect your request to see an interactive install if one is available.<\/p>\n<p><code>winget install &lt;foo&gt; -i<\/code><\/p>\n<h2>Community Heroes<\/h2>\n<p>The response to the project was awesome to say the least. So many people contributed to the discussion, and the list of available packages. Over 800 packages have been added to the community repository. A special shout out to <a href=\"https:\/\/github.com\/philipcraig\" rel=\"noopener noreferrer\" target=\"_blank\">@philipcraig<\/a>, <a href=\"https:\/\/github.com\/edjroot\" rel=\"noopener noreferrer\" target=\"_blank\">@edjroot<\/a>, <a href=\"https:\/\/github.com\/bnt0\" rel=\"noopener noreferrer\" target=\"_blank\">@bnt0<\/a>, <a href=\"https:\/\/github.com\/danielchalmers\" rel=\"noopener noreferrer\" target=\"_blank\">@danielchalmers<\/a>, <a href=\"https:\/\/github.com\/superusercode\" rel=\"noopener noreferrer\" target=\"_blank\">@superusercode<\/a>, <a href=\"https:\/\/github.com\/doppelc\" rel=\"noopener noreferrer\" target=\"_blank\">@doppelc<\/a>, <a href=\"https:\/\/github.com\/sachinjoseph\" rel=\"noopener noreferrer\" target=\"_blank\">@sachinjoseph<\/a>, <a href=\"https:\/\/github.com\/ivan-kulikov-dev\" rel=\"noopener noreferrer\" target=\"_blank\">@ivan-kulikov-dev<\/a>, <a href=\"https:\/\/github.com\/chausner\" rel=\"noopener noreferrer\" target=\"_blank\">@chausner<\/a>, <a href=\"https:\/\/github.com\/jsoref\" rel=\"noopener noreferrer\" target=\"_blank\">@jsoref<\/a>, <a href=\"https:\/\/github.com\/DurableMicron\" rel=\"noopener noreferrer\" target=\"_blank\">@DurableMicron<\/a>, <a href=\"https:\/\/github.com\/Olifant1990\" rel=\"noopener noreferrer\" target=\"_blank\">@Olifant1990<\/a>, <a href=\"https:\/\/github.com\/MarcusP-P\" rel=\"noopener noreferrer\" target=\"_blank\">@MarcusP-P<\/a>, <a href=\"https:\/\/github.com\/himejisyana\" rel=\"noopener noreferrer\" target=\"_blank\">@himejisyana<\/a>, &amp; <a href=\"https:\/\/github.com\/dyl10s\" rel=\"noopener noreferrer\" target=\"_blank\">@dyl10s<\/a> (in order of appearance). These users contributed to the client codebase or documentation.<\/p>\n<h2>What&#8217;s Next<\/h2>\n<h3>Feature Toggle<\/h3>\n<p>We needed a way to release experimental features without breaking you. The settings work was the first step to make sure you can get the expected behavior out of the client, and still have the option to test out new capabilities.<\/p>\n<h3>Microsoft Store<\/h3>\n<p>We are going to start with the basics and add more over time. Our initial support will likely be restricted to apps that are free, and rated E for everyone. This is going to be the first thing we release with the feature toggle so you can see what it&#8217;s like to test experimental features.<\/p>\n<h3>Key Functionality<\/h3>\n<p>One of the ways we\u2019re looking at what to implement next is by filtering our GitHub Issues by \u201c+1\u201d (the thumbs up icon). Based on that, we\u2019re seeing high demand for \u201cUpgrade, Uninstall, and List Apps\u201d. In addition, support for installing .zip files, store apps, and standalone apps (think a .exe added to your path). Native PowerShell support is also high on the list.<\/p>\n<h3>Microsoft Community Package Repository<\/h3>\n<p>Our bot has been hard at work trying to help get more packages approved. It\u2019s not quite as smart as we\u2019d like it to be right now, but it\u2019s learning. We\u2019ve just taught it to provide better error messages in several different situations. It will now tell you if there is a hash mismatch or an error related to being able to access the installer file. Those improvements will continue, and we will try to just do the right thing for you if we can. Our goal is to make it easy to add your packages.<\/p>\n<p>Be sure to check out the GitHub <a href=\"https:\/\/github.com\/microsoft\/winget-cli\/issues\" rel=\"noopener noreferrer\" target=\"_blank\">client issues<\/a> and add a \u201c+1\u201d to any features you\u2019d really like to see.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The first update to the Windows Package Manager has been released. If you are a Windows Insider or part of our Package Manager Insider program, you should already have the latest version. Launch the store and check for updates if you&#8217;re an insider and you don&#8217;t have it. If you prefer to just download the [&hellip;]<\/p>\n","protected":false},"author":27535,"featured_media":4568,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[10,1,2,1535,5,6,1577,782],"tags":[29,59,70,1576,1579,1578],"class_list":["post-5915","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cmd","category-commandline","category-command-line","category-open-source","category-windows-10","category-windows-console","category-windows-package-manager","category-windows-terminal","tag-command-line","tag-terminal","tag-windows-10","tag-windows-package-manager","tag-winget","tag-winget-exe"],"acf":[],"blog_post_summary":"<p>The first update to the Windows Package Manager has been released. If you are a Windows Insider or part of our Package Manager Insider program, you should already have the latest version. Launch the store and check for updates if you&#8217;re an insider and you don&#8217;t have it. If you prefer to just download the [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/posts\/5915","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/users\/27535"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/comments?post=5915"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/posts\/5915\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/media\/4568"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/media?parent=5915"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/categories?post=5915"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/tags?post=5915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}