@Lake-Bodom you likely wrote this as a joke, but I actually do use package managers. And not just for CLI tools, libraries and dependencies quickly accessed from the console of a code editor while doing software development work -- I legit use it for for installing and maintain "regular" GUI apps too
This might seem overly geeky lol, but I think the average layperson could benefit from knowing this is an option. I mean, even if they only used the terminal ONCE (and then never again) when they get a fresh new computer and just type in install Chrome and Spotify and X and Y and Z too mmkthnxbyeeee hit enter to run it and voila that's like umpteen different clicks they've just saved themselves. As opposed to:
opening Edge or Safari or whatever your default browser out of the box that you hate using, navigating to mozilla to download firefox or whatever 3rd-party browser you prefer, running the installation wizard, launching that one navigating to spotify's website, hitting download, clicking through that installer,etc, etc, ad nauseum, ad infinatum, you get the idea, rinse and repeat over and over again for however many of your mainstay apps you usually install right away... it's SUCH a repetiously redundant c h o r e
What if instead of all nonsense, you can just
list out all your favorite apps in a plaintext file then go to the terminal and in one simple line say "install everything in here". Boom, there is no step 3, let your machine do the rest of the tedious legwork for youI made a quick demo-video recording a batch-update operation just now so y'all can see it in action
I'm using Homebrew here which works on macOS and Linux, Windows users have a variant called Chocolatey.
And just a friendly FYI to all: I don't normally keep the terminal window or file manager open like this just to double or triple sanity-check if everything actually worked as it really isn't necessary -- that was just for your sake so you could see the step-by-step process of what's going on behind the scenes.
In daily usage, I just set it, forget it, and let it update everything in the background as I go on about my business. So bear that in mind: no matter how complicated or intimidating this may look, it really just boils down to that first one-liner command I ran at the beginning to update everything.
Oh, also @Lake-Bodom I don't use sudo for every command lmao that's just overkill. And on the very rare occasions whenever I do need to, I almost exclusively invoke it by tastefully typing out f ck instead because I find it far more amusing :P
I can't actually type out that word since it goes against the TOS of TWS 😅 but you can read more about the [REDACTED] command here
example.gif