Winget: —- dream back to Linux

Time:2021-9-7

Winget: —- dream back to Linux

Recently, Microsoft released a new gadget, Winget 1.0, at the build 2021 developer conference. What is Winget 1.0? Winget is a software package manager officially produced by Microsoft. The difference between this software and the previous software is that it can realize more convenient and unified windows software management. For example, before that, Microsoft officially did not have a manager or anything else to update the software inside windows. In the past, it has always been the update module designed by each software itself. The software will be updated only when you open the software on the computer.

image

Oh, by the way, Microsoft also has an app store, which is actually equivalent to No. It doesn’t take long for this store to open normally on my system. Microsoft may also understand that their Microsoft store can’t. So this manager came out. Interestingly, this manager is in the command line format, that is, you need to open CMD and enter the command. In addition, I have to say that the style of this manager is very similar to that of Linux system, so students who are used to developing with Linux are also more handy.

image

Installation tutorial

The installation tutorial of this manager is relatively simple. Step 1: open Settings > update and security

image

Then select developer Options > developer mode to open

image

Then open

Release Windows Package Manager v1.0.11451 · microsoft/winget-cli

The above link, this gadget, Microsoft is open source

image

Slide to the bottom, select the download, and then install. After the installation, open the CMD command line and enter:

winget

If the installation is successful, the following message appears:

image

How to use:

Just remember the above commands. For example, to install QQ, just enter:

winget install qq

image
To uninstall a piece of software, simply enter:

Winget uninstall Tencent QQ

image

How to find the correct name of the software to be uninstalled can be displayed through:

winget list

image

This software is currently open source. Microsoft skillfully reproduces the functions of Linux on windows. This software also supports the upgrade installation package:

Winget upgrade program name

Or one click update all:

winget upgrade --all

One click Update can effectively solve many old software problems