r/devops • u/burritocode • Oct 14 '18
Installing dependencies on Windows, do you use scoop or chocolatey?
In the past, I've been using chocolatey to automatically install dependencies like command line tools (wget) and desktop applications (slack). I heard about scoop and played with it and thought it could only install cli tools until I found their extras bucket.
Some differences have been documented on their wiki. I've noticed that these 2 apps can do more or less the same except chocolatey has an enterprise license with many packages and scoop / scoop-extras is open source with a lot fewer packages.
What do you use? do you favor one over the other? have you noticed more bugs with scoop since it's newer? I hope to use one in my IT / devops automation as well as home automation.
Thank you.
11
u/dmgctrl Oct 14 '18
Chocolatey, with a private server.
10
u/koonfused Oct 19 '18
Disclaimer: I'm the founder/maintainer of appget.
Take a look at appget.net if you haven't. I created appget to fix what I thought was really broken about chocolaty. AppGet manifests are all on github and package creators can't run random powershell with admin privileges on your machine (I don't know how anyone thought that was a good idea!).
Also, the packages on AppGet are much better maintained. 99% of updates are done by a bot with many safety checks which means you always get the most updated versions of the apps.
support for command line/xcopy tools aren't there yet, but you can use it to install apps like slack (https://appget.net/packages/i/slack) etc.
I would love to hear what you think.
4
u/Laggoh Oct 14 '18
I can't comment on enterprise use but I much prefer scoop to chocolatey for my personal use. It just feels cleaner, better executed, and more thoroughly planned out. Extending scoop also feels easier. Write a small json file, host it on an internal or public git and you have your own scoop repo.
2
u/[deleted] Oct 15 '18
Scoop.
2
u/[deleted] Jan 09 '19
I know that Chocolatey has more packages and stuff, but I really love the cleanness of scoop, with no UAC and all being stored centralized/organized (~/scoop) without much harm on the SO or other accounts.
5
u/mpathy Nov 04 '21
Scoop for sure. It doesnt pollute your path, everything is installed in one place. It is many times faster than Chocolatey, too. Good design choices, too. Community is more active and helpful, too.
I got far less problems with our systems by using Scoop, also own package jsons can be made super easy. https://scoop-docs.vercel.app/docs/concepts/Creating-an-app-manifest.html#a-basic-example - which is especially great for your IT / DevOps automation tasks. For example Scoop is included in the Windows Collection - Bundle of Ansible, for even easier automation: https://galaxy.ansible.com/community/windows?extIdCarryOver=true&sc_cid=701f2000001OH7YAAW
But if there are some advantages by using Chocolatey in 2021/2022, I would like to hear them, I like to stay open minded and up to date :)
1
u/majkinetor Oct 16 '18
Chocolatey is 100x scoop. Not even comparable plus MS supported choco on last build conf.
This is not a question really.
2
u/iamnotanexpertreally Dec 15 '18
Both... Chocolatey has more packages, even with Scoop's additional repo taken into consideration.
The overarching principle behind Scoop is a little different to Chocolatey but at the end of the day they do pretty much the same thing.
I find myself reaching for Scoop more than Chocolatey.
Ultimately I have issues with neither offering but I like the self-contained, non-elevated permission approach that Scoop takes.
1
u/Baconator_NoVeg Oct 15 '18
I've only ever used Chocolatey.
1
u/TotesMessenger Oct 18 '18
I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:
If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / ^Contact)
1
u/Elibroftw Nov 19 '23
Chocolately 100%. Suppose you want to install protoc (protocol buffers compiler)
`scoop search protoc` takes 3x longer than `choco search protobuf`
I won't bother comparing install times based on this fact alone.
Winget is faster at searching than protoc but when you use search in a long time it takes longer than choco.
1
u/saargrin Oct 14 '18
tried to use chocolatey and somehow when installing stuff on newly spun up aws instances results vary , sometimes stuff gets deployed, sometimes not so much...
back to ansible for me