Using winget in Windows

Hello everyone! Recently I was forced to switch to Windows for work 😷 so I started searching ways of making myself more comfortable using Microsoft’s operating system after years of using GNU/Linux only.

Installing Winget

You can get Winget from the Microsoft Store, no need to go to any other sources. Search for an app called App Installer

Microsoft Store

Using Winget

Using winget is kinda similar to using apt-get or other GNU/Linux based package managers, if you want to see all the features it offers you can execute this in a CMD:

winget --help

Searching for apps

To install an app you’ll have to search for it’s app ID first, you can use this command:

winget search <APP_NAME>

You’ll see a table with all the search results. Grab the app you want to install and copy the app Id.

Installing apps

Once you’ve identified the app id just execute this command:

winget install <APP_ID>

The app will start downloading, the installer will run automatically, it may ask you for admin privileges.

Once the app is installed it will show it to you.

Some apps I recommend you are:

  • curl
  • wget
  • git
  • firebase (I use it for this blog)
  • hugo (I use it for this blog)
  • neofetch

You can also search and download pretty much any other app you like.

More information

You can get more information on Microsoft’s site, you can use this link:

https://learn.microsoft.com/en-us/windows/package-manager/winget/

And that’s it! Thanks for reading. 😎🍎


Last modified on 2024-11-02