Jump to content

Microsoft finally has a package manager for Windows, meet winget.

AlexGoesHigh

Executing the winget install vscode command in Windows Terminal

 

Yesterday Microsoft began its all online Build 2020 conference, one of the announcements is that Windows is getting a package manager, the Windows package manager aka winget is a package management application meant to manage windows applications.

 

It is being released as alpha software, so it only has basic features, atm it can only install and show applications that are present in the repository, uninstalling applications is not supported ATM, it does supports all the installer formats, .exe, .msi and .msix installers, but there is the exception of Microsoft stores app, winget can't install store apps but it is a feature planned for the future before 1.0.

 

The repository works differently from your standard package management in *nix systems, rather that Microsoft hosting all the software in the repository server, winget looks for a manifest file in a comunity repository that describes where to obtain the application, it basically points the package manager to the official URL you would download the application from. Developers can submit applications to the repository through the community repository repository (That's a mouthful English) instruction on how to do so can be found in the community repository.

 

Quote

How do I get it?

We have provided three different ways for you to get your hands on the Windows Package Manager. If you are a Windows Insider, you may already have it. First, you can head over to the open source GitHub repository for the client. Second, you can join any of the Windows Insider rings. Third, you can join the Windows Package Manager Insider program by providing your Microsoft Account (MSA) to Windows Package Manager Insider Program and request to be included in the preview. Either of the Insider programs will ensure you automatically receive updates as we progress from preview to general availability. After you have joined either Insider program, head over to the Microsoft Store and get the App Installer. The Windows Package manager will be available after you get the update.

The App Installer in the Microsoft Store

Why not contribute to another open source package manager?

We looked at several other package managers. There were several reasons leading us to create a new solution. One critical concern we had was how to build a repository of trusted applications. We are automatically checking each manifest. We leverage SmartScreen, static analysis, SHA256 hash validation and a few other processes to reduce the likelihood of malicious software making its way into the repository and onto your machine. Another key challenge was all the changes required to be able to deliver the client program as a native Windows application.

Which versions of Windows will be supported?

Windows Package Manager will support every Windows 10 version since the Fall Creators Update (1709)! The Windows Package Manager will be delivered with the Desktop App Installer when we ship version 1.0. If you are building software to run on Windows 10 you will have a simple way for your customers to install your software on billions of machines.

You don't necessarily need to be an insider, you can get it from the releases page in the source repository but this method won't support automatic updating, you will have to manually download and reinstall the application in order to upgrade.

 

it is worth mentioning that in the last 24 hours, the community repo already has a bunch of the most popular desktop apps available including Steam, Zoom, Brave, Google Chrome, Rufus, PuTTY, qbittorrent, and more so developers have been busy submitting apps

 

Source: https://devblogs.microsoft.com/commandline/windows-package-manager-preview/

Winget repository: https://github.com/microsoft/winget-cli

Community repository of currently available apps: https://github.com/microsoft/winget-pkgs/tree/master/manifests

 

I have to say that it was about damn time, i installed it to test it and used it to install Rufus for testing and works fine for being alpha software, will be interesting what features they have planned, but they really need to add the ability to uninstall application sooner rather that later IMO.

 

Update 1: The developer of the tweeten app made a web front end for it called wininstall.app, so you can browse the repository and create a batch script without having to type anything in a console, just copy and paste.

this is one of the greatest thing that has happened to me recently, and it happened on this forum, those involved have my eternal gratitude http://linustechtips.com/main/topic/198850-update-alex-got-his-moto-g2-lets-get-a-moto-g-for-alexgoeshigh-unofficial/ :')

i use to have the second best link in the world here, but it died ;_; its a 404 now but it will always be here

 

Link to comment
Share on other sites

Link to post
Share on other sites

finally a better way to install software onto Windows

One day I will be able to play Monster Hunter Frontier in French/Italian/English on my PC, it's just a matter of time... 4 5 6 7 8 9 years later: It's finally coming!!!

Phones: iPhone 4S/SE | LG V10 | Lumia 920 | Samsung S24 Ultra

Laptops: Macbook Pro 15" (mid-2012) | Compaq Presario V6000

Other: Steam Deck

<>EVs are bad, they kill the planet and remove freedoms too some/<>

Link to comment
Share on other sites

Link to post
Share on other sites

6 minutes ago, duncannah said:

Does it have commandline software (eg. Nodejs, Python)?

it does actually, node and python are already submitted to the community repo.

this is one of the greatest thing that has happened to me recently, and it happened on this forum, those involved have my eternal gratitude http://linustechtips.com/main/topic/198850-update-alex-got-his-moto-g2-lets-get-a-moto-g-for-alexgoeshigh-unofficial/ :')

i use to have the second best link in the world here, but it died ;_; its a 404 now but it will always be here

 

Link to comment
Share on other sites

Link to post
Share on other sites

That sounds great! But wasn't this the point of NuGet and Chocolatey? Seems like they are reinventing the wheel, but hopefully it will work out. 

 

Copy and pasting a command is so much easier and faster than hunting down installation files on websites. 

Link to comment
Share on other sites

Link to post
Share on other sites

This might seem complicated for the average user. If only there was something like this but with a GUI, available on all Windows computers.

Link to comment
Share on other sites

Link to post
Share on other sites

15 minutes ago, LAwLz said:

That sounds great! But wasn't this the point of NuGet and Chocolatey?

Chocolatey, sure. But NuGet is for delivering libraries to projects. Plus, winget supports EXEs, MSIs and MSIXs as the installation file. Choco really intimidates me with how I need to set up a NuGet to upload. It's a lot easier to make an MSIX package in my experience (you can simply set up a Windows Package project on the solution and write a script to automate the packaging).

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, gabrielcarvfer said:

They already did it once: OneGet. Failed spectacularly.

Boy, That's one manager I've never heard of in years. Did they ever use it all? Or even provide documentation?

Link to comment
Share on other sites

Link to post
Share on other sites

If it doesn't support the moo parameter I'm gonna riot

PLEASE QUOTE ME IF YOU ARE REPLYING TO ME

Desktop Build: Ryzen 7 2700X @ 4.0GHz, AsRock Fatal1ty X370 Professional Gaming, 48GB Corsair DDR4 @ 3000MHz, RX5700 XT 8GB Sapphire Nitro+, Benq XL2730 1440p 144Hz FS

Retro Build: Intel Pentium III @ 500 MHz, Dell Optiplex G1 Full AT Tower, 768MB SDRAM @ 133MHz, Integrated Graphics, Generic 1024x768 60Hz Monitor


 

Link to comment
Share on other sites

Link to post
Share on other sites

 

32 minutes ago, FirehawkV21 said:

Chocolatey, sure. But NuGet is for delivering libraries to projects. Plus, winget supports EXEs, MSIs and MSIXs as the installation file. Choco really intimidates me with how I need to set up a NuGet to upload. It's a lot easier to make an MSIX package in my experience

 

But if you are bundling everything in an EXE, doesn't it defeat the purpose of a package manager? Or will this finally mean we get lean EXEs, and "VS C++ Redistributable" and what not is managed by the package manager, and obtained from its own source if needed as a dependency?

It's not like the advantage of a package manager is typing "sudo install trashware" and hope it finds it :P 

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, RorzNZ said:

This might seem complicated for the average user. If only there was something like this but with a GUI, available on all Windows computers.

It is not meant to replace the Store or for the average user. This is mostly for developers and IT.

 

This is also nice for us, who is interested in installing many programs from a script, helping setup a new install.

Link to comment
Share on other sites

Link to post
Share on other sites

So Microsoft wants us to wing it?

...

...

Spoiler

 

🎶 NOW WINGET

INTO SHAPE

SHAPE IT UP

GET STRAIGHT

GO FORWARD

GO AHEAD

"BAD INSTALLATION"

IT'S NOT TOO LATE

TO WINGET

WINGET GOOD!!! 🎶

Sorry for the mess!  My laptop just went ROG!

"THE ROGUE":  ASUS ROG Zephyrus G15 GA503QR (2021)

  • Ryzen 9 5900HS
  • RTX 3070 Laptop GPU (80W)
  • 24GB DDR4-3200 (8+16)
  • 2TB SK Hynix NVMe (boot) + 2TB Crucial P2 NVMe (games)
  • 90Wh battery + 200W power brick
  • 15.6" 1440p 165Hz IPS Pantone display
  • Logitech G603 mouse + Logitech G733 headset

"Hex": Dell G7 7588 (2018)

  • i7-8750H
  • GTX 1060 Max-Q
  • 16GB DDR4-2666
  • 1TB SK Hynix NVMe (boot) + 2TB Crucial MX500 SATA (games)
  • 56Wh battery + 180W power brick
  • 15.6" 1080p 60Hz IPS display
  • Corsair Harpoon Wireless mouse + Corsair HS70 headset

"Mishiimin": Apple iMac 5K 27" (2017)

  • i7-7700K
  • Radeon Pro 580 8GB (basically a desktop R9 390)
  • 16GB DDR4-2400
  • 2TB SSHD
  • 400W power supply (I think?)
  • 27" 5K 75Hz Retina display
  • Logitech G213 keyboard + Logitech G203 Prodigy mouse

Other tech: Apple iPhone 14 Pro Max 256GB in White, Sennheiser PXC 550-II, Razer Hammerhead earbuds, JBL Tune Flex earbuds, OontZ Angle 3 Ultra, Raspberry Pi 400, Logitech M510 mouse, Redragon S113 keyboard & mouse, Cherry MX Silent Red keyboard, Cooler Master Devastator II keyboard (not in use), Sennheiser HD4.40BT (not in use)

Retired tech: Apple iPhone XR 256GB in Product(RED), Apple iPhone SE 64GB in Space Grey (2016), iPod Nano 7th Gen in Product(RED), Logitech G533 headset, Logitech G930 headset, Apple AirPods Gen 2 and Gen 3

Trash bin (do not buy): Logitech G935 headset, Logitech G933 headset, Cooler Master Devastator II mouse, Razer Atheris mouse, Chinese off-brand earbuds, anything made by Skullcandy

Link to comment
Share on other sites

Link to post
Share on other sites

10 minutes ago, gabrielcarvfer said:

Is it? Msys2 is way more useful for tools. Chocolatey have been working on it for many many years and is way more reliable than MSFT that abandon projects regularly.

Say what you will, but already it has been jam packed with programs.

 

Chocolatey has security concerns which were never fixed. Microsoft one includes multiple security features resolving these concerns.

Link to comment
Share on other sites

Link to post
Share on other sites

8 minutes ago, PacketMan said:

give me something without a Windows/Microsoft account and I'll buy it, the main reason I always disable the Microsoft store is because I don't want to put any account there to download a single program

The account is used so that you need to repurchase a purchased app, and allows you to install a purchased app up to 10 systems simultaneously, and not have to rebuy it each time.

Link to comment
Share on other sites

Link to post
Share on other sites

30 minutes ago, gabrielcarvfer said:

Yup. Its just another clone of chocolatey, oneget, scoop, and a bad one at that. I've asked why they don't just create a CLI for the Store and use it to distribute the software (as they already install command like tools like Python) and they basically said "it's on the backlog".

Chocolatey has security concerns, OneGet is really Chocolatey but PowerShell lengthy command language (designed for IT, where everything is spelled out, and avoids simple argument which may make one look at a doc to know what it does. Fine for learning and doing one time things, annoying when actively working with it)

Link to comment
Share on other sites

Link to post
Share on other sites

Same as every other app store.

F@H
Desktop: i9-13900K, ASUS Z790-E, 64GB DDR5-6000 CL36, RTX3080, 2TB MP600 Pro XT, 2TB SX8200Pro, 2x16TB Ironwolf RAID0, Corsair HX1200, Antec Vortex 360 AIO, Thermaltake Versa H25 TG, Samsung 4K curved 49" TV, 23" secondary, Mountain Everest Max

Mobile SFF rig: i9-9900K, Noctua NH-L9i, Asrock Z390 Phantom ITX-AC, 32GB, GTX1070, 2x1TB SX8200Pro RAID0, 2x5TB 2.5" HDD RAID0, Athena 500W Flex (Noctua fan), Custom 4.7l 3D printed case

 

Asus Zenbook UM325UA, Ryzen 7 5700u, 16GB, 1TB, OLED

 

GPD Win 2

Link to comment
Share on other sites

Link to post
Share on other sites

13 minutes ago, PacketMan said:

The thing is, if you buy any app there okay, I understand you need to put your account there, but for free apps?

You don't have to login to download free apps from the store. It will try to trick you into signing in, but if you just close the login pop-up and click install again it will work from my experience. 

Link to comment
Share on other sites

Link to post
Share on other sites

31 minutes ago, LAwLz said:

You don't have to login to download free apps from the store. It will try to trick you into signing in, but if you just close the login pop-up and click install again it will work from my experience. 

Shhhhh 🤫 Don't let MS know or they will fix that "problem"

Link to comment
Share on other sites

Link to post
Share on other sites

I wonder how that'll affect Chocolatey and the others. I imagine most developers will be glad to have an officially supported package manager and will get on board quick, but I fast and good the support for more esoteric things will be.

“I like being alone. I have control over my own shit. Therefore, in order to win me over, your presence has to feel better than my solitude. You're not competing with another person, you are competing with my comfort zones.”  - portfolio - twitter - instagram - youtube

Link to comment
Share on other sites

Link to post
Share on other sites

Cool, it only took them 25 years.

11 hours ago, GoodBytes said:

Chocolatey has security concerns

That happens when a multibillionaire corporation can't be arsed to curate its own repositories. It's no less secure than scouring the internet for random installers afaik.

11 hours ago, GoodBytes said:

It is not meant to replace the Store or for the average user.

Maybe it should. The store is a crapshoot and has almost nothing people actually want.

16 hours ago, AlexGoesHigh said:

uninstalling applications is not supported ATM

Wow, good job microsoft. You'd think installing and uninstalling would be bare minimum functionality for a package manager.

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

Link to comment
Share on other sites

Link to post
Share on other sites

8 minutes ago, Sauron said:

Wow, good job microsoft. You'd think installing and uninstalling would be bare minimum functionality for a package manager.

TBF is alpha but yeah, even in this state not being able to use it to uninstall stuff is annoying.

this is one of the greatest thing that has happened to me recently, and it happened on this forum, those involved have my eternal gratitude http://linustechtips.com/main/topic/198850-update-alex-got-his-moto-g2-lets-get-a-moto-g-for-alexgoeshigh-unofficial/ :')

i use to have the second best link in the world here, but it died ;_; its a 404 now but it will always be here

 

Link to comment
Share on other sites

Link to post
Share on other sites

10 minutes ago, Sauron said:

Wow, good job microsoft. You'd think installing and uninstalling would be bare minimum functionality for a package manager.

Hopefully it will get better. It doesn't really sound like a package manager though because it sounds like it won't be able to do things like install and track dependancies either. It's mostly just a quick and easy way to download and automatically/silently run installer files. Not really a full blown package manager 

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, LAwLz said:

It doesn't really sound like a package manager though because it sounds like it won't be able to do things like install and track dependancies either.

welp that became useless pretty fast

One day I will be able to play Monster Hunter Frontier in French/Italian/English on my PC, it's just a matter of time... 4 5 6 7 8 9 years later: It's finally coming!!!

Phones: iPhone 4S/SE | LG V10 | Lumia 920 | Samsung S24 Ultra

Laptops: Macbook Pro 15" (mid-2012) | Compaq Presario V6000

Other: Steam Deck

<>EVs are bad, they kill the planet and remove freedoms too some/<>

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×