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


hsehestedt

Well-known member
Guru
VIP
Local time
1:35 PM
Posts
5,307
Location
Texas, USA
OS
Win11 Pro 26H2 (Release Preview)
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 My Computers

  • At a glance

    Win11 Pro 26H2 (Release Preview)Intel i7-14650HX32 GBNo GPU - Built-in Intel Graphics
    OS
    Win11 Pro 26H2 (Release Preview)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acemagic Matrix M5
    CPU
    Intel i7-14650HX
    Memory
    32 GB
    Graphics Card(s)
    No GPU - Built-in Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    Varies as machine will often be moved to locations with different monitors
    Screen Resolution
    Varies
    Hard Drives
    1 x 1TB Gen 4 NVMe SSD
    PSU
    120W Power Brick
    Keyboard
    Corsair K70 Max RGB Magnetic Keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
  • At a glance

    Win11 Pro 26H2 (Release Preview)Intel i7-1255U16 GBIntel Iris Xe Graphics
    Operating System
    Win11 Pro 26H2 (Release Preview)
    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
    4 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging Using an Anker 160W Charger
    Keyboard
    Backlit, spill resistant keyboard
    Mouse
    Buttonless Glass Precision Touchpad
    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 My Computer

At a glance

Windows 11AMD Ryzen 7 5700GMicron Technology DDR4-3200 16GBNVIDIA GeForce RTX 3060
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 My Computer

At a glance

Windows 11 ProRyzen 5 5800X32Gb Corsair 3200Gigabyte RTX4070-Super
OS
Windows 11 Pro
Computer type
PC/Desktop
CPU
Ryzen 5 5800X
Motherboard
Asus B550 Strix gaming
Memory
32Gb Corsair 3200
Graphics Card(s)
Gigabyte RTX4070-Super
Screen Resolution
2x 1440, 1x 1080
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 My Computer

At a glance

Windows 7
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 My Computer

At a glance

Windows 11
OS
Windows 11
Back
Top Bottom