Our newest feature is support for installing apps from the Microsoft Store. Our goal is to make it easy to install software on Windows. We also recently added tab completion to PowerShell and feature switching. As we work towards building our 1.0 release, I wanted to share the following few features in
I also wanted to share some of the thoughts we had before Ignite regarding future enterprise features. We will enable Group Policy support so that IT Pros can be confident that they can successfully manage their environments. Additional features included in the Enterprise Support category include
More details under the cut.
What's new
Function switch
If you'd like to try out experimental features, use winget's settings to open the default JSON editor. If you don't have it, I would recommend running winget install vscode. From there, you can enable or disable features. Below I have given an example configuration with two of our experimental functions for testing (experimantalCMD and experimentalArg), as well as with the "experimentalMSStore" function.
Once you have included experimentalCMD and experimentalArg, run winget experimental --arg to see an example. There is a little easter egg in "flag".
PowerShell autocomplete
We don't like extra typing either. This has quickly become my favorite way to find out what versions of a package are available. Type winget[space][tab][space]pow[tab][space]-v[space][tab][tab][tab] and voila.
Microsoft Store
One of our most requested features was the ability to install apps from the Microsoft Store. We've taken the first steps in this journey by adding a curated list of around 300 apps to the new source. All of these apps are free and rated E for everyone. Once you enable the experimental feature, we will automatically add the source for store manifests. The search will cover multiple sources to show results. Below you see the results for winget search nightingale.
Next, you see the installation using winget install "Nightingale REST Client".
What's next
List
One of the most important features of the package manager is the ability to see what has been installed. Our goal is to include applications that may have been installed outside the package manager and are available in the Control Panel or via Add Remove Software. We didn't want to just consider what was installed through the Windows Package Manager. However, we will keep an eye on what we have installed to help you update everything to the current version.
Update
Speaking of upgrading, it would be nice if you could just Winget Upgrade Powershell or Winget Upgrade and upgrade all your apps. We thought so too. One of the more active (and responsive) members of the community also pointed out that you don't always want to update a package. We'll give you the option to bind a package to a specific version so you don't change it.
Removal
Sometimes you don't need an app anymore. Usually in my case I want to get back the space on my C: drive. winget uninstall "some giant app". It would be great if it could remove things that were installed outside of the package manager, so we'll also see how to make that work.
Import / Export
We couldn't pass up the opportunity to do some more magic for the sake of convenience. The time is approaching when I will get a new car for work. I'm looking forward to winget export packages.json from this machine and winget import packages.json to the new one. I look forward to sharing the results with you.
How to Get the Windows Package Manager
If you are a member
Source: habr.com