How to use winget for Windows 11.

What is winget?

It’s a package manager for Windows, like choco or apt for debian based linux distros.

If that means nothing to you, then it installs and updates apps. Cool? Cool.

How to use winget

Let’s install syncthing for this example.

winget search sync displays a list of matches sync.

Name          Id                      Version  Match          Source
syncthing     Syncthing.Syncthing     1.27.0                  winget
SyncTrayzor   SyncTrayzor.SyncTrayzor Tag: syncthing winget
syncthingtray Martchus.syncthingtray  1.4.11   Tag: syncthing winget
syncthingctl  Martchus.syncthingctl   1.4.1                   winget

Then install a package by

  • the Name winget install syncthing,
  • or Id winget install syncthing.syncthing.

Oh no, that’s not the right package.

List out your installed packages with winget list.

To uninstall use

  • the Name winget uninstall syncthing,
  • or Id winget uninstall syncthing.syncthing.

Double check syncthing is removed from

  • C:\Users\%USERNAME%\AppData\Local\Microsoft\WinGet\Packages and
  • C:\Users\%USERNAME%\AppData\Local.

Then install winget install synctrayzor for the correct package (optional example).

Let me know if you want a syncthing post.

Thanks for reading