📱

Get Our Mobile App

Take your business learning on the go!

Download on the App StoreGet it on Google Play

WinGet для Windows: Как установить и обновить ВСЕ программы одной командой

Tech Talk8:14

Transcription

The Tech Talk channel warmly welcomes you. Today will be a very short, but very useful video for those who are not familiar with one magnificent utility. Today I will talk about winget, which turns Windows into Linux, well, or a Linux-like system. After all, it is impossible to make Linux out of Windows, but you can get as close as possible to it. Winget appeared not yesterday and not the day before yesterday, but in the twentieth year, but I did not make a video about it and periodically encounter the problem that I need to advise users – install through winget, but explaining every time what it is and how it works – this is wasting a couple of extra minutes of the video. And since the video about Vaitidlp, which I made last week, YouTube removed – there I am clearly stepping on their toes. By the way, look in the description, there are links to Telegram channels, mine and TechTalk, and there you will find one very useful video. So, since it removed the video, I had the opportunity to make something short, but useful in return. And this means all roads lead to Winget. How do Windows users who don't know about winget install programs? They find the program, download it, it's good if it's from the official, not a phishing site. Then they launch it... or don't launch it, because the developers uploaded it in some unfamiliar format. How do all normal users proceed? They type in the command line winget, install, program ID, press Enter and that's it. About where to get the program ID, I will now explain, as, incidentally, about where to get Winget itself and how to use it. So, it would seem, the easiest way to install Winget is to simply find it in the Microsoft Store – since it is their development and install it from here, but, firstly, it is not so easy to find it in this store, and secondly, it sometimes does not install from here. You just click, and nothing happens. There are some problems with languages, VPNs, and so on. Therefore, if winget is not installed in your system by default and you, like me, cannot launch it from the Microsoft Store, you need to use the command line as administrator. Right-click on the Start menu and PowerShell – administrator. Here is such a script, you can do without Force and Latest. AllUsers can be left, I will add the script itself to the description. And Enter. It says that NuGet is not installed, Y – meaning install. In general, in the end, it gave me an error, as I understood, it didn't like AllUsers, so I will add a script without this flag to the description. But winget was installed. Whether winget is in your system or not – is checked by the command version. With a 90% probability, it is installed by default. Therefore, before installing, check, maybe you already have it. But, if it is not installed and there are problems with the script, then the most basic and foolproof way is to simply download the distribution from the official Microsoft repository. You need this Winget CLI, and in the releases – the largest file by volume with such a strange extension. If the file does not launch with a double-click, install it from the command line. The command is like this – it will be in the description, then you need to insert the link to the downloaded file in your system, just drag the file into the command line, and it will insert the path. No, it won't. Although in theory it should. Okay, let's go another way. Press Shift and right-click on the file, here "Copy as path", and Ctrl+V in the command line. That's it, I've shown all the installation methods. The problem might just be that you already have a lot installed in your system, hence several methods. But in general, it installs easily, and working with it is even easier. Launch the command line cmd in the search. Then type winget, install and program ID. It will download everything itself, install everything itself. By the way, I didn't think that Jitsi Meet has a desktop application, I always launch it from the browser. Where to get the program ID? There is a wonderful command search. If you know what you approximately need, just type it, but without errors, like me, and you get everything that is in the sources with the word "jitsi". And here, in fact, is the ID of the desired program. Besides searching for programs, you can search by categories, then you need the tag flag. I found Jitsi in the video category, although I wouldn't say that Jitsi is directly related to video. Here is everything that is in the sources with the tag "video". By default, two repositories are connected in winget. By the way, these are not exactly repositories, these are more like package sources. Winget installs the programs themselves from official websites or from GitHub, comparing program manifests and hashes. Well, and it checks the programs themselves for viruses and so on. So everything that is here can be downloaded and installed without fear. So, by default, there are two sources here, but you can connect your own. However, it is unlikely that anyone will need this, since there are already more than 8,000 programs in the official sources. In principle, you can install without knowing the exact ID, then it will offer to choose from what is available. In principle, it's the same as search. However, search will give many more results, since it will include tags, and what is not directly the Firefox browser. Now, in fact, the killer feature, the coolest thing that winget has. The upgrade command lists all programs installed on the PC for which there is a newer version. Then winget upgrade and program ID, at the output you get the latest version of the program. By the way, in the case of a VPN client, this needs to be done periodically. But this is not yet a killer feature. The killer feature is upgrade with the all flag. This way it will update all programs on the PC that require updates. Launch only the command line as administrator, so that it does not ask for permission to make changes every time, and calmly go have some coffee. Another useful command is list, which will list all programs installed on your computer. And the uninstall command will remove what is no longer needed. I don't think the all flag works here, but I wouldn't advise you to check. In general, usually when I make videos about working with the command line, people write in the comments: "Why all these crutches and dances with a tambourine." But in the case of winget, I think everyone who didn't know about it yet will say: "Wow." For the mere possibility of updating all applications with one command, developers deserve a monument. We will not, of course, in this case recall Linux and how long such a possibility has existed there. It doesn't matter, a monument can be erected, even if this feature only appeared in the twentieth year. Well, and other winget features, I think, are capable of impressing those who have never touched Linux. So now I can boldly say in new videos: install this utility through winget. The task is completed, thanks to YouTube, which removed the video about Vaitidlp. I remind you again about the Telegram channels, mine and Tech Talk, where you can find one very useful post. If it drowned in the feed, use the search. Well, that's all for us, give likes, subscribe to the channel, and love each other, now it's simply vital. And remember, in the end, everything will be fine. This is said to you by me, Vova Lomov, and the Tech Talk channel.