r/sysadmin • • May 19 '20
Microsoft 📢 Windows Package Manager | winget.exe
[deleted] — view deleted post
382
Upvotes
r/sysadmin • • May 19 '20
[deleted] — view deleted post
33
u/a_false_vacuum May 19 '20
I hope they also add stuff like SQL Server and other Microsoft middleware to this system. That would be a dream for automated deployments. No more home-made scripted installs, just call the package manager like you do on Linux.
I'm pumped for this one.
121
u/[deleted] May 19 '20
Yeah, this is a massive game-changer. Folks that aren't hyped for this likely aren't that familiar with package management systems.
We can create custom repos as well, per the documentation. This is a godsend for developers (and IT for various reasons).
The github is over here.
Ninite about to disappear though. lol.
5
u/Ditzah Sysadmin May 20 '20 edited May 20 '20
I am super stoked about this, but like one commenter on their GitHub wrote: "All it does is downloading installers (which are not packages) and executing them (which is not management).".
Also no update or uninstall... I will stick to choco for the moment. But I would love to see winget mature and become a usable tool!
66
u/FeralNSFW May 19 '20
This looks very promising.
At the moment, there's no
updatecommand (analogous toyum update), and it doesn't yet automatically install dependencies.It won't be ready for prime-time until it has those two features, IMO.
But given the immediate public interest in this project, it wouldn't surprise me if those get implemented.
20
u/unixuser011 May 19 '20
Think how this could change Windows Deployment, hopefully no longer having to maintain a fileshare of apps to install, now just run a command at install time, and poof, your app is installed, you may have to add some 3rd party repos, but it's got to be easer than messing around with MSI switches. No more clunky, hacky installs, just winget install <appName>, done.
With this and DoH being tested for the next release, 20H2 is looking like a banger in September/October
15
u/HappyVlane May 19 '20
Assuming developers jump on board and winget gets maintained properly this is going to be great. It will also kill services like Ninite.
12
u/SevaraB Sr. Engineer (N+, CCNA) May 19 '20
Holy... can't wait for this to get merged with prod builds of Windows.
7
u/savornicesei May 19 '20
I'm wondering if it will install apps in C:\Program Files or dump them all in ProgramData (where every process can read and write).
3
u/jmbpiano May 19 '20
I'm just sitting here shaking my head at Microsoft being Microsoft yet again and reinventing the wheel when they've already got another internal project working in the same domain.
I mean, this would make a little more sense if it were intended for the average power user, but it sounds like they're aiming this squarely at the developer market. So why not work on extending NuGet into a more generalized solution, instead of splitting their development resources across two separate teams and requiring end users to install yet another tool?
12
u/ErikTheEngineer May 19 '20
Does that mean Chocolatey is dead? Or is the bar for getting packages into WinGet much higher?
It looks like Microsoft is preparing to have WSL and Windows just swap places in some future release and have Windows become a compatibility shim on top of Linux. :-)
5
u/Defiant001 May 19 '20
So coming from a Windows only perspective here I have a few questions for how this works:
4
u/jackmusick May 19 '20
I would literally die if AutoCAD and Quickbooks made it in this at some point. I would love a quick, one liner for MDT or our RMM.
3
u/cybermoloch May 19 '20
I've been working on a similar thing (using a JSON manifest) based on PSAppDeployToolkit and was hoping to start a blog with a more official release info but I'm just going to throw this out there as is:
https://gitlab.com/cybermoloch/psappdeploytoolkit-plus
I hope this WinGet does everything I was working on. (I have more manifests that are not committed but I want to keep working on this for now as most of the time, I need to tease out method to get a silent install going.)
7
u/fast4shoot May 19 '20
But... it's not a package manager?
From what I can tell it just downloads an installer and runs it?
What about all the other things that a package manager does? Such as updates, uninstallation, integrity validation, dependency resolution, conflict resolution, or at least knowing which files belong to which package?
This just seems like another half-assed attemt that seems familiar on the outside (just run `winget install <package>` just like you would run `apt install <package>` on Linux guys, it's totally the same!), but behind the scenes it's a pile of crap built on top of all the horrible installers that already exist.
2
u/da_kink May 19 '20
Huh. Cool, if it has properly apps listed then yes it'll make installing (and hopefully updating) a lot easier :D
2
u/PhDinBroScience DevOps May 19 '20
This excited me so much I think I peed a little. I have been waiting for first-party apt/yum-like package management functionality in Windows since the first time I ever touched a Linux package manager.
Oh my God I hope this project doesn't eventually get abandoned.
2
u/kz393 May 19 '20
It just downloads an exe and executes it. No uninstalls, no dependencies, no delta updates.
2
u/[deleted] May 19 '20
What about choco https://chocolatey.org/
1
u/woemoejack Sr. Sysadmin May 19 '20
Sounds cool, but isn't working for me. Installed App Installer from MS store, yet winget is still unrecognized command in CMD.
1
u/Kamwind May 20 '20
So will it work easily against a local repository and for downloading packages for future installation on other computers?
Hopefully Microsoft will think of the enterprise and the basic security principle of Inventory and Control of Software Assets
1
u/Jtyle6 May 20 '20
Bugger I have to wait until release.
1
u/etnguyen03 May 20 '20
Waiting for ansible to implement this...
1
u/RAITguy Jack of All Trades May 20 '20
One step closer to a Microsoft distro 😂
0
u/gamebrigada May 19 '20
Quick, someone make a UI for it!
0
u/Tmanok Solutions Architect (Infra) May 20 '20
God damnit, why can't you windozers just switch to Linux if you love the features so much? ;)
-4
u/[deleted] May 19 '20
Welcome to 1994 Windows admins.
-2
u/Billyblue27 May 20 '20
Embrace, extend, extinguish
-4
u/DouglasteR Trades all the Jacks May 19 '20
Ugh, finally ?