{"id":7033,"date":"2021-10-05T09:00:36","date_gmt":"2021-10-05T16:00:36","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/commandline\/?p=7033"},"modified":"2021-10-05T17:34:04","modified_gmt":"2021-10-06T00:34:04","slug":"windows-package-manager-1-1","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/commandline\/windows-package-manager-1-1\/","title":{"rendered":"Windows Package Manager 1.1"},"content":{"rendered":"<p>I\u2019m excited to share some great news. We\u2019re releasing Windows Package Manager 1.1. We\u2019ve squashed some annoying bugs and added some highly anticipated features. The Windows Package Manager is being released to Windows 10 (build 1809 and newer) and Windows 11 as an automatic update via the Microsoft Store. The moment we\u2019ve been waiting for has finally arrived. Grab yourself a cup of coffee (or any other favorite beverage). Don\u2019t worry; I\u2019ll wait. Cheers!<\/p>\n<h2>Client<\/h2>\n<p>The team has been busy over the last few months making improvements and adding new features. The most notable new feature is access to apps in the Microsoft Store. The client now ships with two sources configured. One of them is the Windows <a href=\"https:\/\/github.com\/microsoft\/winget-pkgs\" rel=\"noopener\" target=\"_blank\">Package Manager app repository<\/a>, and the other is the Microsoft Store.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/WindowsPackageManagerV1.1.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/WindowsPackageManagerV1.1-1024x570.png\" alt=\"Running `winget` in Windows Terminal displays the Windows Package Manager version and the help text for commands.\" width=\"640\" height=\"356\" class=\"alignnone size-large wp-image-7043\" srcset=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/WindowsPackageManagerV1.1-1024x570.png 1024w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/WindowsPackageManagerV1.1-300x167.png 300w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/WindowsPackageManagerV1.1-768x427.png 768w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/WindowsPackageManagerV1.1.png 1172w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p>All Windows Package Manager commands and features have been documented at <a href=\"https:\/\/docs.microsoft.com\/windows\/package-manager\/winget\/\" rel=\"noopener\" target=\"_blank\">Microsoft Docs<\/a>. I also covered most of the basics in the <a href=\"https:\/\/devblogs.microsoft.com\/commandline\/windows-package-manager-1-0\/\" rel=\"noopener\" target=\"_blank\">Windows Package Manager 1.0 announcement<\/a>.<\/p>\n<h2>How do I get it?<\/h2>\n<p>You might already have it from an automatic update via the Microsoft Store. Launch your favorite terminal (I prefer Windows Terminal ) and run winget. If you see the help menu , you\u2019re ready to go (that\u2019s the image above). You can also confirm the version in the first line of output from the help menu (Windows Package Manager v1.1.12653 on Windows 10 or v1.1.12663 on Windows 11). If not, the Windows Package Manager is distributed with the <a href=\"ms-windows-store:\/\/pdp\/?productid=9nblggh4nns1\">App Installer<\/a> from the Microsoft Store. You can also download and install the Windows Package Manager from our <a href=\"https:\/\/github.com\/microsoft\/winget-cli\/releases\/\" rel=\"noopener\" target=\"_blank\">GitHub release<\/a>, or just <a href=\"ms-appinstaller:?source=https:\/\/aka.ms\/getwinget\">directly install<\/a> the latest available released version.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/AppInstaller.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/AppInstaller-1024x281.png\" alt=\"The App Installer entry in the Microsoft Store.\" width=\"640\" height=\"176\" class=\"alignnone size-large wp-image-7045\" srcset=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/AppInstaller-1024x281.png 1024w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/AppInstaller-300x82.png 300w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/AppInstaller-768x211.png 768w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/AppInstaller.png 1248w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p>If you want to continue receiving development builds, we will continue to publish those to Windows Insiders Dev Channel builds and Windows Package Manager Insiders. Instructions are available at GitHub describing your options for <a href=\"https:\/\/github.com\/microsoft\/winget-cli#installing-the-client\" rel=\"noopener\" target=\"_blank\">installing the Windows Package Manager<\/a> and signing up for our insider program.<\/p>\n<h2>Windows Package Manager App Repository<\/h2>\n<p>More than 2,600 packages are available in the <a href=\"https:\/\/github.com\/microsoft\/winget-pkgs\/\" rel=\"noopener\" target=\"_blank\">Windows Package Manager app repository<\/a>. Just run <code>winget search &lt;SomePackage&gt;<\/code> to see if the package you are looking for has already been submitted. You might see what you\u2019re looking for in the new Microsoft Store source as well (customization tips below). If you don\u2019t see what you\u2019re looking for, feel free to submit it. I suggest using the Windows Package Manager Manifest Creator.<\/p>\n<h2>Windows Package Manager Manifest Creator Preview<\/h2>\n<p>If you are a software publisher or an ISV, you might want to skip this part and get <a href=\"https:\/\/developer.microsoft.com\/microsoft-store\/register\/\" rel=\"noopener\" target=\"_blank\">registered <\/a> so you will be able to submit your application to the Microsoft Store. If you want to add an application to the Windows Package Manager app repository, you\u2019re going to want to <code>winget install wingetcreate<\/code>. The tool is currently in preview and details can be found at the <a href=\"https:\/\/github.com\/microsoft\/winget-create\" rel=\"noopener\" target=\"_blank\">Windows Package Manager Manifest Creator GitHub repository<\/a>.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/wingetcreateV0.4.0.3.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/wingetcreateV0.4.0.3-1024x363.png\" alt=\"Running `wingetcreate` in Windows Terminal displays the Windows Package Manager Manifest Creator version and the help for commands.\" width=\"640\" height=\"227\" class=\"alignnone size-large wp-image-7046\" srcset=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/wingetcreateV0.4.0.3-1024x363.png 1024w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/wingetcreateV0.4.0.3-300x106.png 300w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/wingetcreateV0.4.0.3-768x273.png 768w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/wingetcreateV0.4.0.3.png 1172w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<h2>Private App Repositories<\/h2>\n<p>We announced support for private app repositories with the Windows Package Manager 1.0 release. We have continued to extend capabilities like establishing a source agreement users must accept to use your source and supporting an arbitrary value the client can pass to a server so you can build custom behaviors.<\/p>\n<h2>Customization Tips<\/h2>\n<p>We built the Windows Package Manager with developers in mind. Several customizations are possible from configuring your progress bar to working with multiple sources. Just run <code>winget settings<\/code> and you will be able to customize the experience to match your preferences or requirements. Everything you need to know for settings is well <a href=\"https:\/\/docs.microsoft.com\/windows\/package-manager\/winget\/settings\" rel=\"noopener\" target=\"_blank\">documented<\/a>.<\/p>\n<p>Working with multiple sources is another area you may want to customize. If you want to narrow results down to a specific source, just pass the <code>--source<\/code> or <code>-s<\/code> parameter and specify what you want. For example, you might want to see if Visual Studio Code is in the store by running <code>winget search \u201cVisual Studio Code\u201d -s msstore<\/code>. This search is using the name for a package.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/wingetSearchMSStore.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/wingetSearchMSStore-1024x131.png\" alt=\"Running `winget search \u201cVisual Studio Code\u201d --s msstore` in Windows Terminal displays the entry for Visual Studio Code in the Microsoft Store.\" width=\"640\" height=\"82\" class=\"alignnone size-large wp-image-7047\" srcset=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/wingetSearchMSStore-1024x131.png 1024w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/wingetSearchMSStore-300x38.png 300w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/wingetSearchMSStore-768x98.png 768w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/wingetSearchMSStore.png 1172w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p>Or you might want to get the latest insider build from the Windows Package Manager app repository by running <code>winget install vscode-insiders -s winget<\/code>. This install command is using the moniker for the Visual Studio Code Insider package. One note to call out here is we don\u2019t have monikers for packages in the Microsoft Store.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/wingetInstallVSCode-Insiders.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/wingetInstallVSCode-Insiders-1024x231.png\" alt=\"Running `winget install vscode-insiders -s winget` in Windows Terminal installs the Visual Studio Code Insider package from the default Windows Package Manager \u201cwinget\u201d source.\" width=\"640\" height=\"144\" class=\"alignnone size-large wp-image-7048\" srcset=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/wingetInstallVSCode-Insiders-1024x231.png 1024w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/wingetInstallVSCode-Insiders-300x68.png 300w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/wingetInstallVSCode-Insiders-768x173.png 768w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/wingetInstallVSCode-Insiders.png 1172w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p>In the next example, you will see search results spanning across multiple sources, and using the \u201cId\u201d from the entry in the Microsoft Store source to install Visual Studio Code. Note the agreement can be accepted via the command line using <code>--accept-package-agreements<\/code>.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/MSStoreSearchAndInstall.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/MSStoreSearchAndInstall-1024x795.png\" alt=\"Running `winget search \u201cVisual Studio Code\u201d in Windows Terminal displays results from the Windows Package Manager Microsoft Store \u201cmsstore\u201d source and the Windows Package Manager app repository \u201cwinget\u201d source. Then running `winget install XP9KHM4BK9FZ7Q` displays the agreements for Visual Studio Code from the store and prompts to continue. When \u201cY\u201d is entered to accept the agreement, Visual Studio Code is installed from the Microsoft Store.\" width=\"640\" height=\"497\" class=\"alignnone size-large wp-image-7038\" srcset=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/MSStoreSearchAndInstall-1024x795.png 1024w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/MSStoreSearchAndInstall-300x233.png 300w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/MSStoreSearchAndInstall-768x596.png 768w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/MSStoreSearchAndInstall.png 1172w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p>Our default behavior is to search across all configured sources. If you want to remove a source, use an administrative prompt and run <code>winget source remove &lt;source&gt;<\/code>. If you want the default sources added back, use an administrative prompt and run <code>winget source reset --force<\/code>. When more than one source has a strong match, you will be asked to disambiguate the results. The image below shows what would happen in this case.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/wingetInstallTwoSources.png\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/wingetInstallTwoSources-1024x164.png\" alt=\"Running `winget install \u201cVisual Studio Code\u201d in Windows Terminal displays the following message. Multiple packages found matching input criteria. Please refine the input.\" width=\"640\" height=\"103\" class=\"alignnone size-large wp-image-7039\" srcset=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/wingetInstallTwoSources-1024x164.png 1024w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/wingetInstallTwoSources-300x48.png 300w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/wingetInstallTwoSources-768x123.png 768w, https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2021\/09\/wingetInstallTwoSources.png 1172w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<h2>IT Professionals<\/h2>\n<p>As an enterprise administrator you may want to manage Windows Package Manager using Group Policy. I\u2019ve written an <a href=\"https:\/\/techcommunity.microsoft.com\/t5\/windows-it-pro-blog\/manage-windows-package-manager-with-group-policy\/ba-p\/2346322\" rel=\"noopener\" target=\"_blank\">article <\/a>to help you. Your users are also able to see any configured policies using <code>winget --info<\/code>.<\/p>\n<h2>Open Source<\/h2>\n<p>We\u2019ve been developing the Windows Package Manager, the Windows Package Manager app repository, the Windows Package Manager Manifest Creator, and the reference implementation for private repositories at GitHub. Feel free to submit feature requests and bugs via GitHub Issues. If you have questions, feel free to start a GitHub Discussion. We look forward to your feedback.<\/p>\n<h3>References<\/h3>\n<ul>\n<li><a href=\"https:\/\/github.com\/microsoft\/winget-cli\">https:\/\/github.com\/microsoft\/winget-cli<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/microsoft\/winget-pkgs\">https:\/\/github.com\/microsoft\/winget-pkgs<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/microsoft\/winget-create\">https:\/\/github.com\/microsoft\/winget-create<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/microsoft\/winget-cli-restsource\">https:\/\/github.com\/microsoft\/winget-cli-restsource<\/a><\/li>\n<li><a href=\"https:\/\/docs.microsoft.com\/windows\/package-manager\">https:\/\/docs.microsoft.com\/windows\/package-manager<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I\u2019m excited to share some great news. We\u2019re releasing Windows Package Manager 1.1. We\u2019ve squashed some annoying bugs and added some highly anticipated features. The Windows Package Manager is being released to Windows 10 (build 1809 and newer) and Windows 11 as an automatic update via the Microsoft Store. The moment we\u2019ve been waiting for [&hellip;]<\/p>\n","protected":false},"author":27535,"featured_media":7043,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1,2,1535,5,6,1577],"tags":[29,1548,1576,1579,1726],"class_list":["post-7033","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-commandline","category-command-line","category-open-source","category-windows-10","category-windows-console","category-windows-package-manager","tag-command-line","tag-open-source","tag-windows-package-manager","tag-winget","tag-wingetcreate"],"acf":[],"blog_post_summary":"<p>I\u2019m excited to share some great news. We\u2019re releasing Windows Package Manager 1.1. We\u2019ve squashed some annoying bugs and added some highly anticipated features. The Windows Package Manager is being released to Windows 10 (build 1809 and newer) and Windows 11 as an automatic update via the Microsoft Store. The moment we\u2019ve been waiting for [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/posts\/7033","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=7033"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/posts\/7033\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/media\/7043"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/media?parent=7033"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/categories?post=7033"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/tags?post=7033"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}