Has anyone been playing with Windows Pacakage Manager (winget)?


hsehestedt

Well-known member
Guru
VIP
Local time
9:43 PM
Posts
3,816
Location
Texas, USA
OS
Win11 Pro 24H2
I'm not sure why I didn't play with this sooner, but this is really amazing and can make clean installs way easier. Yes, I know Linux has done this forever. Yes, I also know of alternatives such as Chocolatey but it's nice to see this built into the OS.

I tend to make some really long posts, but let me just keep this brief and whet your appetite by suggesting you try this:

Open an elevated command prompt.
Run these commands:

winget list (list installed apps)
winget upgrade (lists apps with available updates)
winget upgrade --all (CAUTION: This one will actually install updates for anything having an available update)

Nice thing is you can script this and have a ton of apps installed automatically by just running a single batch file.

There's a lot more to explore, just wanted to encourage people to play with this!
 

My Computers

System One System Two

  • OS
    Win11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self-built
    CPU
    Intel i7 11700K
    Motherboard
    ASUS Prime Z590-A MB
    Memory
    64GB (Waiting for warranty replacement of another 64GB for 128GB total)
    Graphics Card(s)
    No GPU - Built-in Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe SSD
    1 x 2TB NVMe SSD
    1 x 4TB NVMe SSD
    3 x 512GB 2.5" SSD
    1 x 4TB 2.5" SSD
    5 x 8TB Seagate Barracuda HDD
    PSU
    Corsair HX850i
    Case
    Corsair iCUE RGB 5000X mid tower case
    Cooling
    Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Home Computer Specifications, Configuration, and Usage Notes General Specifications ASUS Prime Z590-A motherboard, serial number M1M0KC222467ARP Intel Core i7-11700K CPU (11th Gen Rocket Lake / LGA 1200 Socket) 128GB Crucial Ballistix RGB DDR4 3200 MHz DRAM (4 x 32GB) Corsair iCUE RGB 5000X mid tower case Noctua NH-D15 chromax.black CPU cooler Noctua NF-S12A chromax.black.swap case fans (Qty. 7) & Corsair LL-120 RGB Fans (Qty. 3)
    Keyboard
    Corsair K70 Max RGB Magnetic Keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    The five 8TB drives and three 512GB SSDs are part of a DrivePool using StableBit DrivePool software. The three SSDs are devoted purely to caching for the 8TB drives. All of the important data is stored in triplicate so that I can withstand simultaneous failure of 2 disks.

    Networking: 2.5Gbps Ethernet and WiFi 6e
  • Operating System
    Win11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Mouse
    Buttonless Glass Precision Touchpad
    Keyboard
    Backlit, spill resistant keyboard
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor
I have few videos that explain how to use Winget command.

In this guide, you will learn the steps to install an app using the winget command on Windows 10 and Windows 11.

 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
WinGetUI 3rd party UI, been using it for a while, very good (NB you have to close some programs manually before updating.)
 

My Computer

System One

  • OS
    Windows 11 Pro 26100.2605
    Computer type
    PC/Desktop
    CPU
    Ryzen 5 5800X
    Motherboard
    Asus B550 Strix gaming
    Memory
    32Gb Corsair 3200
    Graphics Card(s)
    Gigabyte RTX3060 12Gb
A major drawback is you can't run it during Windows post-setup (as SYSTEM), because it's UWP and requires a normal user context.

While you can run it from a RunOnce or logon task, the console window can be stopped if you give it input focus and hit space by accident. If you're not paying close attention, winget sits there until you hit space again.
 

My Computer

System One

  • OS
    Windows 7
Yeah I also noticed that it installs in the user space by default. Not sure whether there is a workaround for a system-wide installation.
 

My Computer

System One

  • OS
    Windows 11
Back
Top Bottom